repo_name
stringlengths
5
122
path
stringlengths
3
232
text
stringlengths
6
1.05M
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Vanilla/ResourcePack/particles.ts
<reponame>Blockception/BC-Minecraft-Bedrock-Vanilla-Data export const Particles: string[] = [ "minecraft:arrow_spell_emitter", "minecraft:balloon_gas_particle", "minecraft:basic_bubble_particle", "minecraft:basic_bubble_particle_manual", "minecraft:basic_crit_particle", "minecraft:basic_flame_particle", "minecraft:basic_portal_particle", "minecraft:basic_smoke_particle", "minecraft:bleach", "minecraft:block_destruct", "minecraft:block_slide", "minecraft:blue_flame_particle", "minecraft:breaking_item_icon", "minecraft:breaking_item_terrain", "minecraft:bubble_column_bubble", "minecraft:bubble_column_down_particle", "minecraft:bubble_column_up_particle", "minecraft:camera_shoot_explosion", "minecraft:campfire_smoke_particle", "minecraft:campfire_tall_smoke_particle", "minecraft:candle_flame_particle", "minecraft:cauldron_bubble_particle", "minecraft:cauldron_explosion_emitter", "minecraft:cauldron_spell_emitter", "minecraft:cauldron_splash_particle", "minecraft:colored_flame_particle", "minecraft:conduit_absorb_particle", "minecraft:conduit_attack_emitter", "minecraft:conduit_particle", "minecraft:critical_hit_emitter", "minecraft:crop_growth_area_emitter", "minecraft:crop_growth_emitter", "minecraft:death_explosion_emitter", "minecraft:dolphin_move_particle", "minecraft:dragon_breath_fire", "minecraft:dragon_breath_lingering", "minecraft:dragon_breath_trail", "minecraft:dragon_death_explosion_emitter", "minecraft:dragon_destroy_block", "minecraft:dragon_dying_explosion", "minecraft:egg_destroy_emitter", "minecraft:electric_spark_particle", "minecraft:elephant_tooth_paste_vapor_particle", "minecraft:enchanting_table_particle", "minecraft:end_chest", "minecraft:endrod", "minecraft:evocation_fang_particle", "minecraft:evoker_spell", "minecraft:explosion_manual", "minecraft:explosion_particle", "minecraft:eye_of_ender_bubble_particle", "minecraft:eyeofender_death_explode_particle", "minecraft:falling_border_dust_particle", "minecraft:falling_dust", "minecraft:falling_dust_concrete_powder_particle", "minecraft:falling_dust_dragon_egg_particle", "minecraft:falling_dust_gravel_particle", "minecraft:falling_dust_red_sand_particle", "minecraft:falling_dust_sand_particle", "minecraft:falling_dust_scaffolding_particle", "minecraft:falling_dust_top_snow_particle", "minecraft:fish_hook_particle", "minecraft:fish_pos_particle", "minecraft:glow_particle", "minecraft:guardian_attack_particle", "minecraft:guardian_water_move_particle", "minecraft:heart_particle", "minecraft:honey_drip_particle", "minecraft:huge_explosion_emitter", "minecraft:huge_explosion_lab_misc_emitter", "minecraft:ice_evaporation_emitter", "minecraft:ink_emitter", "minecraft:knockback_roar_particle", "minecraft:lab_table_heatblock_dust_particle", "minecraft:lab_table_misc_mystical_particle", "minecraft:large_explosion", "minecraft:lava_drip_particle", "minecraft:lava_particle", "minecraft:llama_spit_smoke", "minecraft:magnesium_salts_emitter", "minecraft:misc_fire_vapor_particle", "minecraft:mob_block_spawn_emitter", "minecraft:mob_portal", "minecraft:mobflame_emitter", "minecraft:mobflame_single", "minecraft:mobspell_emitter", "minecraft:mycelium_dust_particle", "minecraft:nectar_drip_particle", "minecraft:note_particle", "minecraft:obsidian_glow_dust_particle", "minecraft:obsidian_tear_particle", "minecraft:phantom_trail_particle", "minecraft:portal_directional", "minecraft:portal_east_west", "minecraft:portal_north_south", "minecraft:portal_reverse_particle", "minecraft:rain_splash_particle", "minecraft:redstone_ore_dust_particle", "minecraft:redstone_repeater_dust_particle", "minecraft:redstone_torch_dust_particle", "minecraft:redstone_wire_dust_particle", "minecraft:rising_border_dust_particle", "minecraft:shulker_bullet", "minecraft:silverfish_grief_emitter", "minecraft:snowflake_particle", "minecraft:soul_particle", "minecraft:sparkler_emitter", "minecraft:splash_spell_emitter", "minecraft:sponge_absorb_water_particle", "minecraft:spore_blossom_ambient_particle", "minecraft:spore_blossom_shower_particle", "minecraft:squid_flee_particle", "minecraft:squid_ink_bubble", "minecraft:squid_move_particle", "minecraft:stalactite_lava_drip_particle", "minecraft:stalactite_water_drip_particle", "minecraft:stunned_emitter", "minecraft:totem_manual", "minecraft:totem_particle", "minecraft:underwater_torch_particle", "minecraft:villager_angry", "minecraft:villager_happy", "minecraft:water_drip_particle", "minecraft:water_evaporation_actor_emitter", "minecraft:water_evaporation_bucket_emitter", "minecraft:water_evaporation_manual", "minecraft:water_splash_particle", "minecraft:water_splash_particle_manual", "minecraft:water_wake_particle", "minecraft:wax_particle", "minecraft:wither_boss_invulnerable" ]
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Types/ResourcePack/Entity.ts
<reponame>Blockception/BC-Minecraft-Bedrock-Vanilla-Data import { Identifiable } from "../Identifiable"; /** * */ export interface Entity extends Identifiable { /** * */ animations: string[]; } /** * */ export namespace Entity { /** * * @param value * @returns */ export function is(value: any): value is Entity { if (value) { if (typeof value.id === "string" && Array.isArray(value.animations)) return true; } return false; } }
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Vanilla/ResourcePack/materials.ts
<filename>src/Lib/Vanilla/ResourcePack/materials.ts<gh_stars>0 export const Materials: string[] = [ "agent", "alpha_block", "alpha_block_color", "animated_texture_blit", "armor", "armor_enchanted", "armor_leather", "armor_leather_enchanted", "armor_stand", "arrow", "ash", "axolotl", "axolotl_limbs", "banner", "banner_pole", "bat", "beacon_beam", "beacon_beam_transparent", "bed", "bee", "bell", "blaze_body", "blaze_head", "block_overlay", "blue_spores", "boat", "camera", "camera_facing_sprite", "cat", "chalkboard", "charged_creeper", "chest", "chicken", "chicken_legs", "clouds", "clownfish", "cod", "conduit", "conduit_wind", "cow", "cracks_overlay", "cracks_overlay_alpha_test", "cracks_overlay_tile_entity", "creeper", "debug", "debug_array_texture", "debug_texture", "dolphin", "dragon_head", "dragon_head_glint", "drowned", "egg", "elytra", "elytra_glint", "enchanting_table_book", "ender_crystal", "ender_dragon", "ender_pearl", "enderman", "enderman_invisible", "endermite", "entity", "entity_alphablend", "entity_alphablend_nocolor", "entity_alphatest", "entity_alphatest_change_color", "entity_alphatest_change_color_glint", "entity_alphatest_glint", "entity_alphatest_glint_item", "entity_alphatest_multicolor_tint", "entity_alphatest_one_sided", "entity_beam", "entity_beam_additive", "entity_change_color", "entity_change_color_glint", "entity_custom", "entity_dissolve_layer0", "entity_dissolve_layer1", "entity_emissive", "entity_emissive_alpha", "entity_emissive_alpha_one_sided", "entity_flat_color_line", "entity_glint", "entity_lead_base", "entity_loyalty_rope", "entity_multitexture", "entity_multitexture_alpha_test", "entity_multitexture_alpha_test_color_mask", "entity_multitexture_color_mask", "entity_multitexture_masked", "entity_multitexture_multiplicative_blend", "entity_nocull", "entity_static", "evoker", "experience_orb", "eye_of_ender_signal", "fang", "fireball", "fireworks_rocket", "fishing_hook", "fox", "fullscreen_cube_overlay", "fullscreen_cube_overlay_blend", "fullscreen_cube_overlay_opaque", "ghast", "glow_sign_text", "glow_squid", "goat", "guardian", "guardian_ghost", "hoglin", "holo_coord_frame", "holo_hand", "holo_hand_pointer", "holo_hud_quad", "hologram", "hologram_hit_effect", "hololens_LSRPlane", "hololens_LSRPlaneTextured", "hololens_UICursor", "hololens_UICursor_ingame_mainpart", "hololens_UICursor_ingame_pseudoshadow", "holoscreen_level_quad", "holoscreen_monoscopic_quad", "holoscreen_stereoscopic_quad", "horse", "horse_leather_armor", "husk", "husk_clothes", "im_gui", "iron_golem", "item_in_hand", "item_in_hand_entity_alphatest", "item_in_hand_entity_alphatest_color", "item_in_hand_glint", "item_in_hand_multicolor_tint", "leash_knot", "lightning", "lingering_potion_enchanted", "living_room", "llama", "llama_spit", "magma_cube", "map", "map_decoration", "map_marker", "minecart", "mob_head", "mob_head_glint", "mooshroom", "mooshroom_mushrooms", "moving_block", "moving_block_alpha", "moving_block_alpha_seasons", "moving_block_alpha_single_side", "moving_block_blend", "moving_block_double_side", "moving_block_seasons", "name_tag", "name_tag_depth_tested", "name_text_depth_tested", "npc", "ocelot", "on_screen_effect", "opaque_block", "opaque_block_color", "opaque_block_color_uv2", "overlay_quad", "overlay_quad_clear", "panda", "parrot", "particles_alpha", "particles_base", "particles_blend", "particles_effects", "particles_opaque", "particles_random_test", "passthru_postprocess", "phantom", "phantom_invisible", "pig", "piglin", "piglin_brute", "pillager", "piston_arm", "plankton", "player", "player_alphatest", "player_animated", "polar_bear", "portal_base", "precipitation", "pufferfish", "rabbit", "rain", "ravager", "reality_frame_cutout", "reality_frame_skyfill", "red_spores", "rift_mirror_logo", "rift_mirror_texture", "rift_texture_copy_noalpha", "salmon", "selection_box", "selection_overlay", "selection_overlay_alpha", "selection_overlay_block_entity", "selection_overlay_double_sided", "selection_overlay_item", "selection_overlay_level", "selection_overlay_opaque", "shadow_back", "shadow_front", "shadow_overlay", "sheep", "shield", "shield_glint", "shulker", "shulker_box", "shulker_bullet", "sign", "sign_text", "silverfish", "silverfish_layers", "skeleton", "slime", "slime_outer", "snow", "snow_golem", "snow_golem_pumpkin", "snowball", "spider", "spider_invisible", "splash_potion_enchanted", "squid", "ST_BatchedStandard", "ST_Blur_1", "ST_Blur_10", "ST_Blur_11", "ST_Blur_12", "ST_Blur_2", "ST_Blur_3", "ST_Blur_4", "ST_Blur_5", "ST_Blur_6", "ST_Blur_7", "ST_Blur_8", "ST_Blur_9", "ST_Hairline", "ST_HairlinePath", "ST_LinearGradient2Point", "ST_LinearGradient3PointSymmetrical", "ST_LinearGradientFromTexture", "ST_LinearGradientMasked2Point", "ST_LinearGradientMasked3PointSymmetrical", "ST_LinearGradientMaskedFromTexture", "ST_Path", "ST_RadialGradient2Point", "ST_RadialGradient3PointSymmetrical", "ST_RadialGradientFromTexture", "ST_RadialGradientMasked2Point", "ST_RadialGradientMasked3PointSymmetrical", "ST_RadialGradientMaskedFromTexture", "ST_SimpleTexture", "ST_SimpleTextureMasked", "ST_Standard", "ST_StandardCircle", "ST_StandardEllipse", "ST_StandardRRect", "ST_StandardStrokeCircle", "ST_StandardStrokeEllipse", "ST_StandardStrokeRRect", "ST_StandardTexture", "ST_StandardTextureWithColorMatrix", "ST_Stencil", "ST_StencilCircle", "ST_StencilPath", "ST_StencilRRect", "ST_StencilTexture", "ST_Text", "ST_TextSDF", "ST_TextStrokeSDF", "ST_TexturesWithColorMix", "ST_YUV2ARGB", "ST_YUV2RGB", "stray", "stray_clothes", "strider", "terrain_alpha", "terrain_alpha_seasons", "terrain_alpha_single_side", "terrain_base", "terrain_blend", "terrain_blend_far", "terrain_blend_no_culling", "terrain_doubleside", "terrain_far", "terrain_inside_block", "terrain_opaque", "terrain_opaque_seasons", "terrain_seasons_far", "terrain_seasons_far_alpha", "trident", "trident_glint", "trident_riptide", "tropicalfish", "turtle", "ui_banner", "ui_banner_pole", "ui_base", "ui_conduit", "ui_crosshair", "ui_cubemap", "ui_dragon_head", "ui_dragon_head_glint", "ui_fill_color", "ui_fill_gradient", "ui_fill_stencil", "ui_grayscale", "ui_grayscale_bilinear", "ui_inventory_item_glint", "ui_invert_overlay", "ui_item", "ui_item_glint", "ui_item_glint_stencil", "ui_item_multicolor_tint", "ui_item_unglint_stencil", "ui_mob_head", "ui_mob_head_glint", "ui_shield", "ui_shield_glint", "ui_skinning_item", "ui_text", "ui_text_msdf", "ui_text_smooth", "ui_texture_and_color", "ui_texture_and_color_blur", "ui_texture_and_color_tint", "ui_textured", "ui_textured_and_glcolor", "ui_textured_and_glcolor_bilinear_sprite", "ui_textured_and_glcolor_sprite", "vex", "villager", "villager_v2", "villager_v2_masked", "vindicator", "wandering_trader", "water_hole", "white_ash", "windowsmr_holo_hand", "wireframe", "witch", "wither_boss", "wither_boss_armor", "wither_skull", "wolf", "xp_bottle", "zoglin", "zombie", "zombie_villager", "zombie_villager_v2", "zombie_villager_v2_masked" ]
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Edu/ResourcePack/animation_controllers.ts
export const AnimationControllers: string[] = []
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/General/blocks.ts
<gh_stars>0 import { GeneralBlock } from './format'; export const BlockData: GeneralBlock = { "blockstates": [ { "values": [ "0", "1" ], "name": "active", "type": "byte" }, { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "age", "type": "int" }, { "values": [ "0", "1" ], "name": "age_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "allow_underwater_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "attached_bit", "type": "byte" }, { "values": [ "standing", "hanging", "side", "multiple" ], "name": "attachment", "type": "string" }, { "values": [ "no_leaves", "small_leaves", "large_leaves" ], "name": "bamboo_leaf_size", "type": "string" }, { "values": [ "thin", "thick" ], "name": "bamboo_stalk_thickness", "type": "string" }, { "values": [ "0", "1" ], "name": "big_dripleaf_head", "type": "byte" }, { "values": [ "none", "unstable", "partial_tilt", "full_tilt" ], "name": "big_dripleaf_tilt", "type": "string" }, { "values": [ "0", "1", "2", "3", "4", "5", "6" ], "name": "bite_counter", "type": "int" }, { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "block_light_level", "type": "int" }, { "values": [ "0", "1" ], "name": "bloom", "type": "byte" }, { "values": [ "0", "1" ], "name": "brewing_stand_slot_a_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "brewing_stand_slot_b_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "brewing_stand_slot_c_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "button_pressed_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "candles", "type": "int" }, { "values": [ "water", "lava", "powder_snow" ], "name": "cauldron_liquid", "type": "string" }, { "values": [ "compound_creator", "material_reducer", "element_constructor", "lab_table" ], "name": "chemistry_table_type", "type": "string" }, { "values": [ "default", "chiseled", "lines", "smooth" ], "name": "chisel_type", "type": "string" }, { "values": [ "0", "1", "2", "3" ], "name": "cluster_count", "type": "int" }, { "values": [ "white", "orange", "magenta", "light_blue", "yellow", "lime", "pink", "gray", "silver", "cyan", "purple", "blue", "brown", "green", "red", "black" ], "name": "color", "type": "string" }, { "values": [ "0", "1" ], "name": "color_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8" ], "name": "composter_fill_level", "type": "int" }, { "values": [ "0", "1" ], "name": "conditional_bit", "type": "byte" }, { "values": [ "blue", "pink", "purple", "red", "yellow" ], "name": "coral_color", "type": "string" }, { "values": [ "0", "1", "2", "3" ], "name": "coral_direction", "type": "int" }, { "values": [ "0", "1" ], "name": "coral_fan_direction", "type": "int" }, { "values": [ "0", "1" ], "name": "coral_hang_type_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "covered_bit", "type": "byte" }, { "values": [ "no_cracks", "cracked", "max_cracked" ], "name": "cracked_state", "type": "string" }, { "values": [ "undamaged", "slightly_damaged", "very_damaged", "broken" ], "name": "damage", "type": "string" }, { "values": [ "0", "1" ], "name": "dead_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "deprecated", "type": "int" }, { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "normal", "coarse" ], "name": "dirt_type", "type": "string" }, { "values": [ "0", "1" ], "name": "disarmed_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "door_hinge_bit", "type": "byte" }, { "values": [ "sunflower", "syringa", "grass", "fern", "rose", "paeonia" ], "name": "double_plant_type", "type": "string" }, { "values": [ "0", "1" ], "name": "drag_down", "type": "byte" }, { "values": [ "tip", "frustum", "middle", "base", "merge" ], "name": "dripstone_thickness", "type": "string" }, { "values": [ "0", "1" ], "name": "end_portal_eye_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "explode_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "extinguished", "type": "byte" }, { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" }, { "values": [ "0", "1", "2", "3", "4", "5", "6" ], "name": "fill_level", "type": "int" }, { "values": [ "poppy", "orchid", "allium", "houstonia", "tulip_red", "tulip_orange", "tulip_white", "tulip_pink", "oxeye", "cornflower", "lily_of_the_valley" ], "name": "flower_type", "type": "string" }, { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "ground_sign_direction", "type": "int" }, { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25" ], "name": "growing_plant_age", "type": "int" }, { "values": [ "0", "1", "2", "3", "4", "5", "6", "7" ], "name": "growth", "type": "int" }, { "values": [ "0", "1" ], "name": "hanging", "type": "byte" }, { "values": [ "0", "1" ], "name": "head_piece_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3", "4", "5", "6", "7" ], "name": "height", "type": "int" }, { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "honey_level", "type": "int" }, { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "huge_mushroom_bits", "type": "int" }, { "values": [ "0", "1" ], "name": "in_wall_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "infiniburn_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "item_frame_map_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "item_frame_photo_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25" ], "name": "kelp_age", "type": "int" }, { "values": [ "down_east_west", "east", "west", "south", "north", "up_north_south", "up_east_west", "down_north_south" ], "name": "lever_direction", "type": "string" }, { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "liquid_depth", "type": "int" }, { "values": [ "0", "1" ], "name": "lit", "type": "byte" }, { "values": [ "0", "1", "2", "3", "4", "5", "6", "7" ], "name": "moisturized_amount", "type": "int" }, { "values": [ "stone", "cobblestone", "stone_brick", "mossy_stone_brick", "cracked_stone_brick", "chiseled_stone_brick" ], "name": "monster_egg_stone_type", "type": "string" }, { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59", "60", "61", "62", "63" ], "name": "multi_face_direction_bits", "type": "int" }, { "values": [ "acacia", "dark_oak" ], "name": "new_leaf_type", "type": "string" }, { "values": [ "acacia", "dark_oak" ], "name": "new_log_type", "type": "string" }, { "values": [ "0", "1" ], "name": "no_drop_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "occupied_bit", "type": "byte" }, { "values": [ "oak", "spruce", "birch", "jungle" ], "name": "old_leaf_type", "type": "string" }, { "values": [ "oak", "spruce", "birch", "jungle" ], "name": "old_log_type", "type": "string" }, { "values": [ "0", "1" ], "name": "open_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "output_lit_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "output_subtract_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "persistent_bit", "type": "byte" }, { "values": [ "y", "x", "z" ], "name": "pillar_axis", "type": "string" }, { "values": [ "unknown", "x", "z" ], "name": "portal_axis", "type": "string" }, { "values": [ "0", "1" ], "name": "powered_bit", "type": "byte" }, { "values": [ "default", "dark", "bricks" ], "name": "prismarine_block_type", "type": "string" }, { "values": [ "0", "1" ], "name": "rail_data_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9" ], "name": "rail_direction", "type": "int" }, { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "redstone_signal", "type": "int" }, { "values": [ "0", "1", "2", "3" ], "name": "repeater_delay", "type": "int" }, { "values": [ "0", "1", "2", "3", "4" ], "name": "respawn_anchor_charge", "type": "int" }, { "values": [ "0", "1", "2", "3" ], "name": "rotation", "type": "int" }, { "values": [ "default", "heiroglyphs", "cut", "smooth" ], "name": "sand_stone_type", "type": "string" }, { "values": [ "normal", "red" ], "name": "sand_type", "type": "string" }, { "values": [ "oak", "spruce", "birch", "jungle", "acacia", "dark_oak" ], "name": "sapling_type", "type": "string" }, { "values": [ "default", "double_top", "double_bot" ], "name": "sea_grass_type", "type": "string" }, { "values": [ "dry", "wet" ], "name": "sponge_type", "type": "string" }, { "values": [ "0", "1", "2", "3", "4", "5", "6", "7" ], "name": "stability", "type": "int" }, { "values": [ "0", "1" ], "name": "stability_check", "type": "byte" }, { "values": [ "default", "mossy", "cracked", "chiseled", "smooth" ], "name": "stone_brick_type", "type": "string" }, { "values": [ "smooth_stone", "sandstone", "wood", "cobblestone", "brick", "stone_brick", "quartz", "nether_brick" ], "name": "stone_slab_type", "type": "string" }, { "values": [ "red_sandstone", "purpur", "prismarine_rough", "prismarine_dark", "prismarine_brick", "mossy_cobblestone", "smooth_sandstone", "red_nether_brick" ], "name": "stone_slab_type_2", "type": "string" }, { "values": [ "end_stone_brick", "smooth_red_sandstone", "polished_andesite", "andesite", "diorite", "polished_diorite", "granite", "polished_granite" ], "name": "stone_slab_type_3", "type": "string" }, { "values": [ "mossy_stone_brick", "smooth_quartz", "stone", "cut_sandstone", "cut_red_sandstone" ], "name": "stone_slab_type_4", "type": "string" }, { "values": [ "stone", "granite", "granite_smooth", "diorite", "diorite_smooth", "andesite", "andesite_smooth" ], "name": "stone_type", "type": "string" }, { "values": [ "0", "1" ], "name": "stripped_bit", "type": "byte" }, { "values": [ "data", "save", "load", "corner", "invalid", "export" ], "name": "structure_block_type", "type": "string" }, { "values": [ "void", "air" ], "name": "structure_void_type", "type": "string" }, { "values": [ "0", "1" ], "name": "suspended_bit", "type": "byte" }, { "values": [ "default", "tall", "fern", "snow" ], "name": "tall_grass_type", "type": "string" }, { "values": [ "0", "1" ], "name": "toggle_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" }, { "values": [ "unknown", "west", "east", "north", "south", "top" ], "name": "torch_facing_direction", "type": "string" }, { "values": [ "0", "1" ], "name": "triggered_bit", "type": "byte" }, { "values": [ "one_egg", "two_egg", "three_egg", "four_egg" ], "name": "turtle_egg_count", "type": "string" }, { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25" ], "name": "twisting_vines_age", "type": "int" }, { "values": [ "0", "1" ], "name": "update_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "upper_block_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "vine_direction_bits", "type": "int" }, { "values": [ "cobblestone", "mossy_cobblestone", "granite", "diorite", "andesite", "sandstone", "brick", "stone_brick", "mossy_stone_brick", "nether_brick", "end_brick", "prismarine", "red_sandstone", "red_nether_brick" ], "name": "wall_block_type", "type": "string" }, { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_east", "type": "string" }, { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_north", "type": "string" }, { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_south", "type": "string" }, { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_west", "type": "string" }, { "values": [ "0", "1" ], "name": "wall_post_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25" ], "name": "weeping_vines_age", "type": "int" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" }, { "values": [ "oak", "spruce", "birch", "jungle", "acacia", "dark_oak" ], "name": "wood_type", "type": "string" } ] }
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/include.ts
/* Auto generated */ export * as Edu from "./Edu/include"; export * as General from "./General/include"; export * as Types from "./Types/include"; export * as Vanilla from "./Vanilla/include";
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Types/ResourcePack/Material.ts
/** * */ export type Material = string;
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
test/Identifiable.test.ts
import { fail } from "assert"; import { expect } from "chai"; import { assert } from "console"; import { Identifiable } from "../src/Lib/Types/Identifiable"; export function Test_Identifiable(data: Identifiable) { if (Identifiable.is(data)) { assert(data.id.length > 0, `Not a length on ID: ${JSON.stringify(data)}`); } else { fail(`Not a propery Identifiable: ${JSON.stringify(data)}`); } } export function Check_Identifiable(data: (Identifiable | string)[]): void { data.forEach((item) => { assert(count(data, item) === 1, "found duplicate items"); }); } export function Check_IsFunction<T extends Identifiable>(items: T[], check: (value: any) => value is T) { items.forEach((item, index) => { if (check(item)) { } else { expect.fail(`at '${index}', Did not pass the is function check: ${check.name}`); } }); } function count(data: (Identifiable | string)[], id: Identifiable | string): number { var out = 0; var find = typeof id === "string" ? id : id.id; data.forEach((item) => { if (typeof item !== "string") item = item.id; if (item === find) out++; }); return out; }
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Edu/BehaviorPack/trading.ts
export const Trading: string[] = []
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
test/utillity.test.ts
import * as path from "path"; export const TestFilesFolder = path.join(__dirname, "..", "..", "test", "files");
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Types/Identifiable.ts
<filename>src/Lib/Types/Identifiable.ts /**The interface that governs if a object is identifiable*/ export interface Identifiable { /**The identifier of this object*/ id: string; } /** * */ export namespace Identifiable { /** * * @param value * @returns */ export function is(value: any): value is Identifiable { if (value && typeof value.id === "string") return true; return false; } /** * * @param items * @param find */ export function find(items: Identifiable[], findID: string | Identifiable): number { let id = typeof findID === "string" ? findID : findID.id; for (var I = 0; I < items.length; I++) { if (items[I].id === id) return I; } return -1; } /** * * @param items * @param find */ export function has(items: Identifiable[], findID: string | Identifiable): boolean { return find(items, findID) >= 0; } /** * * @param items * @param find */ export function get<T extends Identifiable>(items: T[], findID: string | Identifiable): T | undefined { let id = typeof findID === "string" ? findID : findID.id; for (var I = 0; I < items.length; I++) { if (items[I].id === id) return items[I]; } return undefined; } }
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Types/BehaviorPack/Trading.ts
<filename>src/Lib/Types/BehaviorPack/Trading.ts /** * */ export type Trading = string;
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Vanilla/ResourcePack/animations.ts
export const Animations: string[] = [ "animation.actor.billboard", "animation.agent.move", "animation.agent.swing_arms", "animation.armor.boots.offset", "animation.armor_stand.athena_pose", "animation.armor_stand.brandish_pose", "animation.armor_stand.cancan_a_pose", "animation.armor_stand.cancan_b_pose", "animation.armor_stand.default_pose", "animation.armor_stand.entertain_pose", "animation.armor_stand.hero_pose", "animation.armor_stand.honor_pose", "animation.armor_stand.no_pose", "animation.armor_stand.riposte_pose", "animation.armor_stand.salute_pose", "animation.armor_stand.solemn_pose", "animation.armor_stand.wiggle", "animation.armor_stand.zombie_pose", "animation.arrow.move", "animation.axolotl.idle_floor", "animation.axolotl.idle_floor_underwater", "animation.axolotl.idle_underwater", "animation.axolotl.play_dead", "animation.axolotl.swim", "animation.axolotl.swim_angle", "animation.axolotl.walk_floor", "animation.axolotl.walk_floor_underwater", "animation.bat.flying", "animation.bat.resting", "animation.bee.fly.bobbing", "animation.bee.flying", "animation.bee.no_stinger", "animation.bee.sting", "animation.blaze.move", "animation.bow.wield", "animation.bow.wield_first_person_pull", "animation.cat.baby_transform", "animation.cat.lie_down", "animation.cat.sit", "animation.cat.sneak", "animation.cat.sprint", "animation.cat.walk", "animation.chicken.baby_transform", "animation.chicken.general", "animation.chicken.general.v1.0", "animation.chicken.move", "animation.cod.flop", "animation.cod.swim", "animation.common.look_at_target", "animation.cow.baby_transform", "animation.cow.setup", "animation.cow.setup.v1.0", "animation.creeper.legs", "animation.creeper.swelling", "animation.crossbow.wield", "animation.dolphin.move", "animation.drowned.attack.rotations", "animation.drowned.attack.rotations.v1.0", "animation.drowned.swimming.v1.0", "animation.elytra.default", "animation.elytra.gliding", "animation.elytra.sleeping", "animation.elytra.sneaking", "animation.elytra.swimming", "animation.ender_crystal.move", "animation.ender_dragon.jaw_movement", "animation.ender_dragon.neck_head_movement", "animation.ender_dragon.setup", "animation.ender_dragon.tail_movement", "animation.ender_dragon.wings_limbs_movement", "animation.enderman.arms_legs", "animation.enderman.base_pose", "animation.enderman.base_pose_v1.0", "animation.enderman.carrying", "animation.enderman.scary_face", "animation.enderman.scary_face_v1.0", "animation.endermite.move", "animation.evocation_fang.bite", "animation.evoker.casting", "animation.evoker.casting.v1.0", "animation.evoker.general", "animation.evoker.general.v1.0", "animation.fireworks_rocket.move", "animation.fox.baby_transform", "animation.fox.crouch", "animation.fox.pounce", "animation.fox.setup", "animation.fox.sit", "animation.fox.sleep", "animation.fox.stuck", "animation.fox.wiggle", "animation.ghast.move", "animation.ghast.scale", "animation.goat.attack", "animation.goat.baby_scaling", "animation.goat.look_at_target", "animation.goat.ram_attack", "animation.goat.walk", "animation.guardian.move_eye", "animation.guardian.move_eye.v1.0", "animation.guardian.setup", "animation.guardian.spikes", "animation.guardian.spikes.v1.0", "animation.guardian.swim", "animation.hoglin.attack", "animation.hoglin.baby_scaling", "animation.hoglin.look_at_target", "animation.hoglin.walk", "animation.horse.baby_transform", "animation.horse.eat", "animation.horse.look_at_player", "animation.horse.mouth", "animation.horse.setup", "animation.horse.shake_tail", "animation.horse.stand", "animation.horse.v2.baby_transform", "animation.horse.v2.eat", "animation.horse.v2.setup", "animation.horse.v2.stand", "animation.horse.v2.tail", "animation.horse.v2.walk", "animation.horse.v3.baby_transform", "animation.horse.v3.eat", "animation.horse.v3.look_at_player", "animation.horse.v3.rear", "animation.horse.v3.tail", "animation.horse.v3.walk", "animation.horse.walk", "animation.humanoid.attack.rotations", "animation.humanoid.attack.rotations.v1.0", "animation.humanoid.base_pose", "animation.humanoid.base_pose.v1.0", "animation.humanoid.big_head", "animation.humanoid.big_head.v1.0", "animation.humanoid.bob", "animation.humanoid.bob.v1.0", "animation.humanoid.bow_and_arrow", "animation.humanoid.bow_and_arrow.v1.0", "animation.humanoid.brandish_spear", "animation.humanoid.brandish_spear.v1.0", "animation.humanoid.celebrating", "animation.humanoid.charging", "animation.humanoid.charging.v1.0", "animation.humanoid.damage_nearby_mobs", "animation.humanoid.damage_nearby_mobs.v1.0", "animation.humanoid.holding", "animation.humanoid.holding.v1.0", "animation.humanoid.holding_spyglass", "animation.humanoid.look_at_target.default", "animation.humanoid.look_at_target.default.v1.0", "animation.humanoid.look_at_target.gliding", "animation.humanoid.look_at_target.gliding.v1.0", "animation.humanoid.look_at_target.swimming", "animation.humanoid.look_at_target.swimming.v1.0", "animation.humanoid.move", "animation.humanoid.move.v1.0", "animation.humanoid.riding.arms", "animation.humanoid.riding.arms.v1.0", "animation.humanoid.riding.legs", "animation.humanoid.riding.legs.v1.0", "animation.humanoid.sneaking", "animation.humanoid.sneaking.v1.0", "animation.humanoid.swimming", "animation.humanoid.swimming.v1.0", "animation.humanoid.use_item_progress", "animation.humanoid.use_item_progress.v1.0", "animation.idle_arm_1", "animation.idle_back_1", "animation.idle_bottom_1", "animation.idle_torso_1", "animation.iron_golem.attack", "animation.iron_golem.flower", "animation.iron_golem.move", "animation.iron_golem.move_to_target", "animation.iron_golem.walk", "animation.iron_golem.walk_to_target", "animation.llama.baby_transform", "animation.llama.baby_transform.v1.0", "animation.llama.setup", "animation.llama.setup.v1.0", "animation.llama_spit.setup", "animation.magma_cube.move", "animation.minecart.move", "animation.minecart.move.v1.0", "animation.mooshroom.baby_transform", "animation.mooshroom.setup", "animation.mooshroom.setup.v1.0", "animation.npc.baby_transform", "animation.npc.general", "animation.npc.get_in_bed", "animation.npc.move", "animation.npc.raise_arms", "animation.ocelot.baby_transform", "animation.ocelot.sit", "animation.ocelot.sneak", "animation.ocelot.sprint", "animation.ocelot.walk", "animation.ocelot_v1.0.baby_transform", "animation.ocelot_v1.0.setup", "animation.ocelot_v1.0.sit", "animation.ocelot_v1.0.sneak", "animation.ocelot_v1.0.sprint", "animation.ocelot_v1.0.walk", "animation.panda.baby_transform", "animation.panda.lying", "animation.panda.rolling", "animation.panda.sitting", "animation.panda.sneezing", "animation.panda.unhappy", "animation.parrot.base", "animation.parrot.dance", "animation.parrot.flying", "animation.parrot.moving", "animation.parrot.sitting", "animation.parrot.standing", "animation.phantom.base_pose", "animation.phantom.move", "animation.pig.baby_transform", "animation.pig.setup", "animation.pig.setup.v1.0", "animation.piglin.admire", "animation.piglin.celebrate_hunt", "animation.piglin.celebrate_hunt_special", "animation.piglin.crossbow.charge", "animation.piglin.crossbow.hold", "animation.piglin.hand.attack", "animation.piglin.move", "animation.piglin.sword.attack", "animation.pillager.crossbow.charge", "animation.pillager.crossbow.hold", "animation.player.attack.positions", "animation.player.attack.rotations", "animation.player.base_pose.upside_down", "animation.player.bob", "animation.player.bob.stationary", "animation.player.bow_equipped", "animation.player.cape", "animation.player.crossbow_equipped", "animation.player.crossbow_hold", "animation.player.first_person.attack_rotation", "animation.player.first_person.attack_rotation_item", "animation.player.first_person.base_pose", "animation.player.first_person.breathing_bob", "animation.player.first_person.crossbow_equipped", "animation.player.first_person.crossbow_hold", "animation.player.first_person.empty_hand", "animation.player.first_person.map_hold", "animation.player.first_person.map_hold_attack", "animation.player.first_person.map_hold_main_hand", "animation.player.first_person.map_hold_off_hand", "animation.player.first_person.swap_item", "animation.player.first_person.vr_attack_rotation", "animation.player.first_person.walk", "animation.player.glide", "animation.player.holding", "animation.player.holding.zombie", "animation.player.look_at_target.inverted", "animation.player.look_at_target.ui", "animation.player.move.arms", "animation.player.move.arms.single", "animation.player.move.arms.stationary", "animation.player.move.arms.statue_of_liberty", "animation.player.move.arms.zombie", "animation.player.move.legs", "animation.player.move.legs.inverted", "animation.player.move.legs.single", "animation.player.move.legs.stationary", "animation.player.riding.arms", "animation.player.riding.arms.zombie", "animation.player.riding.legs", "animation.player.shield_block_main_hand", "animation.player.shield_block_off_hand", "animation.player.sleeping", "animation.player.sneaking", "animation.player.sneaking.inverted", "animation.player.swim", "animation.player.swim.legs", "animation.player.swim.legs.single", "animation.player.swim.legs.stationary", "animation.polarbear.baby_transform", "animation.polarbear.move", "animation.pufferfish.flop", "animation.pufferfish.swim", "animation.quadruped.walk", "animation.rabbit.baby_transform", "animation.rabbit.move", "animation.ravager.biting", "animation.ravager.idle_mouth", "animation.ravager.roaring", "animation.ravager.stunned", "animation.ravager.walk", "animation.react_arm_1", "animation.react_arm_2", "animation.react_back_1", "animation.react_back_2", "animation.react_bored_1", "animation.react_bored_arm_1", "animation.react_bored_back_1", "animation.react_bored_bottom_1", "animation.react_bored_head_1", "animation.react_bored_torso_1", "animation.react_bottom_1", "animation.react_bottom_2", "animation.react_bottom_3", "animation.react_confirm_1", "animation.react_confirm_2", "animation.react_head_1", "animation.react_head_2", "animation.react_idle", "animation.react_offer_1", "animation.react_offer_2", "animation.react_offer_arm_1", "animation.react_offer_arm_2", "animation.react_offer_back_1", "animation.react_offer_back_2", "animation.react_offer_bottom_1", "animation.react_offer_bottom_2", "animation.react_offer_head_1", "animation.react_offer_head_2", "animation.react_offer_torso_1", "animation.react_offer_torso_2", "animation.react_torso_1", "animation.react_torso_2", "animation.salmon.flop", "animation.salmon.swim", "animation.sheep.baby_transform", "animation.sheep.grazing", "animation.sheep.setup", "animation.shield.wield_main_hand_first_person", "animation.shield.wield_main_hand_first_person_blocking", "animation.shield.wield_off_hand_first_person", "animation.shield.wield_off_hand_first_person_blocking", "animation.shield.wield_third_person", "animation.shulker.facing", "animation.shulker.facing.v1.0", "animation.shulker.move", "animation.shulker.move.v1.0", "animation.shulker_bullet.move", "animation.silverfish.move", "animation.skeleton.attack", "animation.skeleton.attack.v1.0", "animation.snowgolem.arms", "animation.snowgolem.move", "animation.snowgolem.move.v1.8", "animation.spider.default_leg_pose", "animation.spider.look_at_target", "animation.spider.walk", "animation.spyglass.holding", "animation.spyglass.scoping", "animation.squid.move", "animation.squid.rotate", "animation.strider.bristle_flow", "animation.strider.look_at_target.default", "animation.strider.walk", "animation.trident.wield_first_person", "animation.trident.wield_first_person_raise", "animation.trident.wield_first_person_raise_shake", "animation.trident.wield_first_person_riptide", "animation.trident.wield_third_person", "animation.trident.wield_third_person_raise", "animation.tripod_camera.neutral", "animation.tropicalfish.flop", "animation.tropicalfish.swim", "animation.turtle.general", "animation.turtle.ground_move", "animation.turtle.move", "animation.vex.attack.rotations.v1.0", "animation.vex.move", "animation.villager.baby_transform", "animation.villager.general", "animation.villager.general.v1.0", "animation.villager.get_in_bed", "animation.villager.move", "animation.villager.raise_arms", "animation.vindicator.attack", "animation.vindicator.base", "animation.vindicator.hand_attack", "animation.vindicator.riding.arms", "animation.vindicator.riding.legs", "animation.vindicator.walk", "animation.witch.general", "animation.wither_boss.look_at_target", "animation.wither_boss.move", "animation.wither_boss.scale", "animation.wither_skeleton.attack", "animation.wither_skull.move", "animation.wolf.angry", "animation.wolf.baby_scaling", "animation.wolf.head_rot_z", "animation.wolf.leg_default", "animation.wolf.setup", "animation.wolf.shaking", "animation.wolf.sitting", "animation.wolf.tail_default", "animation.zombie.attack_bare_hand", "animation.zombie.swimming" ]
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Types/ResourcePack/AnimationController.ts
/** * */ export type AnimationController = string;
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
test/contents/bp/content.test.ts
import { assert } from "console"; import { Block, BlockState } from "../../../src/Lib/Types/BehaviorPack/Block"; import { Entity } from "../../../src/Lib/Types/BehaviorPack/Entity"; import { Item } from "../../../src/Lib/Types/BehaviorPack/Item"; import { MinecraftData } from "../../../src/main"; import { Check_Identifiable, Check_IsFunction, Test_Identifiable } from "../../Identifiable.test"; describe("bp content", () => { it("blocks", () => { test_block(MinecraftData.edu.BehaviorPack.blocks); test_block(MinecraftData.vanilla.BehaviorPack.blocks); Check_IsFunction(MinecraftData.edu.BehaviorPack.blocks, Block.is); Check_IsFunction(MinecraftData.vanilla.BehaviorPack.blocks, Block.is); }); it("entities", () => { test_entity(MinecraftData.edu.BehaviorPack.entities); test_entity(MinecraftData.vanilla.BehaviorPack.entities); Check_IsFunction(MinecraftData.edu.BehaviorPack.entities, Entity.is); Check_IsFunction(MinecraftData.vanilla.BehaviorPack.entities, Entity.is); }); it("items", () => { test_item(MinecraftData.edu.BehaviorPack.items); test_item(MinecraftData.vanilla.BehaviorPack.items); Check_IsFunction(MinecraftData.edu.BehaviorPack.items, Item.is); Check_IsFunction(MinecraftData.vanilla.BehaviorPack.items, Item.is); }); it("loot_tables", () => { Check_Identifiable(MinecraftData.edu.BehaviorPack.loot_tables); Check_Identifiable(MinecraftData.vanilla.BehaviorPack.loot_tables); }); it("trading", () => { Check_Identifiable(MinecraftData.edu.BehaviorPack.trading); Check_Identifiable(MinecraftData.vanilla.BehaviorPack.trading); }); }); function test_block(Blocks: Block[]) { Check_Identifiable(Blocks); Blocks.forEach((block) => { Test_Identifiable(block); block.states.forEach((state) => { assert(BlockState.is(state), "Block state is not a propert block state"); }); }); } function test_entity(Entities: Entity[]) { Check_Identifiable(Entities); Entities.forEach((entity) => { Test_Identifiable(entity); entity.events.forEach((event) => { assert(event.length > 0, `Event is not of proper length ${entity.id}`); }); }); } function test_item(Items: Item[]) { Check_Identifiable(Items); Items.forEach((item) => { Test_Identifiable(item); assert(item.max_damage >= 0, `Item max damage must be 0 or higher: ${item.max_damage}`); }); }
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Vanilla/BehaviorPack/blocks.ts
<gh_stars>0 import { Block } from '../../Types/BehaviorPack/Block'; export const Blocks: Block[] = [ { "id": "minecraft:acacia_button", "states": [ { "values": [ "0", "1" ], "name": "button_pressed_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:acacia_door", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1" ], "name": "door_hinge_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "open_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "upper_block_bit", "type": "byte" } ] }, { "id": "minecraft:acacia_fence_gate", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1" ], "name": "in_wall_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "open_bit", "type": "byte" } ] }, { "id": "minecraft:acacia_pressure_plate", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "redstone_signal", "type": "int" } ] }, { "id": "minecraft:acacia_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:acacia_standing_sign", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "ground_sign_direction", "type": "int" } ] }, { "id": "minecraft:acacia_trapdoor", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1" ], "name": "open_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" } ] }, { "id": "minecraft:acacia_wall_sign", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:activator_rail", "states": [ { "values": [ "0", "1" ], "name": "rail_data_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "rail_direction", "type": "int" } ] }, { "id": "minecraft:air", "states": [] }, { "id": "minecraft:allow", "states": [] }, { "id": "minecraft:amethyst_block", "states": [] }, { "id": "minecraft:amethyst_cluster", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:ancient_debris", "states": [] }, { "id": "minecraft:andesite_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:anvil", "states": [ { "values": [ "undamaged", "slightly_damaged", "very_damaged", "broken" ], "name": "damage", "type": "string" }, { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" } ] }, { "id": "minecraft:azalea", "states": [] }, { "id": "minecraft:azalea_leaves", "states": [ { "values": [ "0", "1" ], "name": "persistent_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "update_bit", "type": "byte" } ] }, { "id": "minecraft:azalea_leaves_flowered", "states": [ { "values": [ "0", "1" ], "name": "persistent_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "update_bit", "type": "byte" } ] }, { "id": "minecraft:bamboo", "states": [ { "values": [ "0", "1" ], "name": "age_bit", "type": "byte" }, { "values": [ "no_leaves", "small_leaves", "large_leaves" ], "name": "bamboo_leaf_size", "type": "string" }, { "values": [ "thin", "thick" ], "name": "bamboo_stalk_thickness", "type": "string" } ] }, { "id": "minecraft:bamboo_sapling", "states": [ { "values": [ "0", "1" ], "name": "age_bit", "type": "byte" }, { "values": [ "oak", "spruce", "birch", "jungle", "acacia", "dark_oak" ], "name": "sapling_type", "type": "string" } ] }, { "id": "minecraft:barrel", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" }, { "values": [ "0", "1" ], "name": "open_bit", "type": "byte" } ] }, { "id": "minecraft:barrier", "states": [] }, { "id": "minecraft:basalt", "states": [ { "values": [ "y", "x", "z" ], "name": "pillar_axis", "type": "string" } ] }, { "id": "minecraft:beacon", "states": [] }, { "id": "minecraft:bed", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1" ], "name": "head_piece_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "occupied_bit", "type": "byte" } ] }, { "id": "minecraft:bedrock", "states": [ { "values": [ "0", "1" ], "name": "infiniburn_bit", "type": "byte" } ] }, { "id": "minecraft:bee_nest", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "honey_level", "type": "int" } ] }, { "id": "minecraft:beehive", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "honey_level", "type": "int" } ] }, { "id": "minecraft:beetroot", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7" ], "name": "growth", "type": "int" } ] }, { "id": "minecraft:bell", "states": [ { "values": [ "standing", "hanging", "side", "multiple" ], "name": "attachment", "type": "string" }, { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1" ], "name": "toggle_bit", "type": "byte" } ] }, { "id": "minecraft:big_dripleaf", "states": [ { "values": [ "0", "1" ], "name": "big_dripleaf_head", "type": "byte" }, { "values": [ "none", "unstable", "partial_tilt", "full_tilt" ], "name": "big_dripleaf_tilt", "type": "string" }, { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" } ] }, { "id": "minecraft:birch_button", "states": [ { "values": [ "0", "1" ], "name": "button_pressed_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:birch_door", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1" ], "name": "door_hinge_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "open_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "upper_block_bit", "type": "byte" } ] }, { "id": "minecraft:birch_fence_gate", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1" ], "name": "in_wall_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "open_bit", "type": "byte" } ] }, { "id": "minecraft:birch_pressure_plate", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "redstone_signal", "type": "int" } ] }, { "id": "minecraft:birch_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:birch_standing_sign", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "ground_sign_direction", "type": "int" } ] }, { "id": "minecraft:birch_trapdoor", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1" ], "name": "open_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" } ] }, { "id": "minecraft:birch_wall_sign", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:black_candle", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "candles", "type": "int" }, { "values": [ "0", "1" ], "name": "lit", "type": "byte" } ] }, { "id": "minecraft:black_candle_cake", "states": [ { "values": [ "0", "1" ], "name": "lit", "type": "byte" } ] }, { "id": "minecraft:black_glazed_terracotta", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:blackstone", "states": [] }, { "id": "minecraft:blackstone_double_slab", "states": [ { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:blackstone_slab", "states": [ { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:blackstone_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:blackstone_wall", "states": [ { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_east", "type": "string" }, { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_north", "type": "string" }, { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_south", "type": "string" }, { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_west", "type": "string" }, { "values": [ "0", "1" ], "name": "wall_post_bit", "type": "byte" } ] }, { "id": "minecraft:blast_furnace", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:blue_candle", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "candles", "type": "int" }, { "values": [ "0", "1" ], "name": "lit", "type": "byte" } ] }, { "id": "minecraft:blue_candle_cake", "states": [ { "values": [ "0", "1" ], "name": "lit", "type": "byte" } ] }, { "id": "minecraft:blue_glazed_terracotta", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:blue_ice", "states": [] }, { "id": "minecraft:bone_block", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "deprecated", "type": "int" }, { "values": [ "y", "x", "z" ], "name": "pillar_axis", "type": "string" } ] }, { "id": "minecraft:bookshelf", "states": [] }, { "id": "minecraft:border_block", "states": [ { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_east", "type": "string" }, { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_north", "type": "string" }, { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_south", "type": "string" }, { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_west", "type": "string" }, { "values": [ "0", "1" ], "name": "wall_post_bit", "type": "byte" } ] }, { "id": "minecraft:brewing_stand", "states": [ { "values": [ "0", "1" ], "name": "brewing_stand_slot_a_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "brewing_stand_slot_b_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "brewing_stand_slot_c_bit", "type": "byte" } ] }, { "id": "minecraft:brick_block", "states": [] }, { "id": "minecraft:brick_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:brown_candle", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "candles", "type": "int" }, { "values": [ "0", "1" ], "name": "lit", "type": "byte" } ] }, { "id": "minecraft:brown_candle_cake", "states": [ { "values": [ "0", "1" ], "name": "lit", "type": "byte" } ] }, { "id": "minecraft:brown_glazed_terracotta", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:brown_mushroom", "states": [] }, { "id": "minecraft:brown_mushroom_block", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "huge_mushroom_bits", "type": "int" } ] }, { "id": "minecraft:bubble_column", "states": [ { "values": [ "0", "1" ], "name": "drag_down", "type": "byte" } ] }, { "id": "minecraft:budding_amethyst", "states": [] }, { "id": "minecraft:cactus", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "age", "type": "int" } ] }, { "id": "minecraft:cake", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6" ], "name": "bite_counter", "type": "int" } ] }, { "id": "minecraft:calcite", "states": [] }, { "id": "minecraft:campfire", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1" ], "name": "extinguished", "type": "byte" } ] }, { "id": "minecraft:candle", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "candles", "type": "int" }, { "values": [ "0", "1" ], "name": "lit", "type": "byte" } ] }, { "id": "minecraft:candle_cake", "states": [ { "values": [ "0", "1" ], "name": "lit", "type": "byte" } ] }, { "id": "minecraft:carpet", "states": [ { "values": [ "white", "orange", "magenta", "light_blue", "yellow", "lime", "pink", "gray", "silver", "cyan", "purple", "blue", "brown", "green", "red", "black" ], "name": "color", "type": "string" } ] }, { "id": "minecraft:carrots", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7" ], "name": "growth", "type": "int" } ] }, { "id": "minecraft:cartography_table", "states": [] }, { "id": "minecraft:carved_pumpkin", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" } ] }, { "id": "minecraft:cauldron", "states": [ { "values": [ "water", "lava", "powder_snow" ], "name": "cauldron_liquid", "type": "string" }, { "values": [ "0", "1", "2", "3", "4", "5", "6" ], "name": "fill_level", "type": "int" } ] }, { "id": "minecraft:cave_vines", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25" ], "name": "growing_plant_age", "type": "int" } ] }, { "id": "minecraft:cave_vines_body_with_berries", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25" ], "name": "growing_plant_age", "type": "int" } ] }, { "id": "minecraft:cave_vines_head_with_berries", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25" ], "name": "growing_plant_age", "type": "int" } ] }, { "id": "minecraft:chain", "states": [ { "values": [ "y", "x", "z" ], "name": "pillar_axis", "type": "string" } ] }, { "id": "minecraft:chain_command_block", "states": [ { "values": [ "0", "1" ], "name": "conditional_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:chest", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:chiseled_deepslate", "states": [] }, { "id": "minecraft:chiseled_nether_bricks", "states": [] }, { "id": "minecraft:chiseled_polished_blackstone", "states": [] }, { "id": "minecraft:chorus_flower", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "age", "type": "int" } ] }, { "id": "minecraft:chorus_plant", "states": [] }, { "id": "minecraft:clay", "states": [] }, { "id": "minecraft:client_request_placeholder_block", "states": [] }, { "id": "minecraft:coal_block", "states": [] }, { "id": "minecraft:coal_ore", "states": [] }, { "id": "minecraft:cobbled_deepslate", "states": [] }, { "id": "minecraft:cobbled_deepslate_double_slab", "states": [ { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:cobbled_deepslate_slab", "states": [ { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:cobbled_deepslate_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:cobbled_deepslate_wall", "states": [ { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_east", "type": "string" }, { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_north", "type": "string" }, { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_south", "type": "string" }, { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_west", "type": "string" }, { "values": [ "0", "1" ], "name": "wall_post_bit", "type": "byte" } ] }, { "id": "minecraft:cobblestone", "states": [] }, { "id": "minecraft:cobblestone_wall", "states": [ { "values": [ "cobblestone", "mossy_cobblestone", "granite", "diorite", "andesite", "sandstone", "brick", "stone_brick", "mossy_stone_brick", "nether_brick", "end_brick", "prismarine", "red_sandstone", "red_nether_brick" ], "name": "wall_block_type", "type": "string" }, { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_east", "type": "string" }, { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_north", "type": "string" }, { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_south", "type": "string" }, { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_west", "type": "string" }, { "values": [ "0", "1" ], "name": "wall_post_bit", "type": "byte" } ] }, { "id": "minecraft:cocoa", "states": [ { "values": [ "0", "1", "2" ], "name": "age", "type": "int" }, { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" } ] }, { "id": "minecraft:colored_torch_bp", "states": [ { "values": [ "0", "1" ], "name": "color_bit", "type": "byte" }, { "values": [ "unknown", "west", "east", "north", "south", "top" ], "name": "torch_facing_direction", "type": "string" } ] }, { "id": "minecraft:colored_torch_rg", "states": [ { "values": [ "0", "1" ], "name": "color_bit", "type": "byte" }, { "values": [ "unknown", "west", "east", "north", "south", "top" ], "name": "torch_facing_direction", "type": "string" } ] }, { "id": "minecraft:command_block", "states": [ { "values": [ "0", "1" ], "name": "conditional_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:composter", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8" ], "name": "composter_fill_level", "type": "int" } ] }, { "id": "minecraft:concrete", "states": [ { "values": [ "white", "orange", "magenta", "light_blue", "yellow", "lime", "pink", "gray", "silver", "cyan", "purple", "blue", "brown", "green", "red", "black" ], "name": "color", "type": "string" } ] }, { "id": "minecraft:concretePowder", "states": [ { "values": [ "white", "orange", "magenta", "light_blue", "yellow", "lime", "pink", "gray", "silver", "cyan", "purple", "blue", "brown", "green", "red", "black" ], "name": "color", "type": "string" } ] }, { "id": "minecraft:conduit", "states": [] }, { "id": "minecraft:copper_block", "states": [] }, { "id": "minecraft:copper_ore", "states": [] }, { "id": "minecraft:coral", "states": [ { "values": [ "blue", "pink", "purple", "red", "yellow" ], "name": "coral_color", "type": "string" }, { "values": [ "0", "1" ], "name": "dead_bit", "type": "byte" } ] }, { "id": "minecraft:coral_block", "states": [ { "values": [ "blue", "pink", "purple", "red", "yellow" ], "name": "coral_color", "type": "string" }, { "values": [ "0", "1" ], "name": "dead_bit", "type": "byte" } ] }, { "id": "minecraft:coral_fan", "states": [ { "values": [ "blue", "pink", "purple", "red", "yellow" ], "name": "coral_color", "type": "string" }, { "values": [ "0", "1" ], "name": "coral_fan_direction", "type": "int" } ] }, { "id": "minecraft:coral_fan_dead", "states": [ { "values": [ "blue", "pink", "purple", "red", "yellow" ], "name": "coral_color", "type": "string" }, { "values": [ "0", "1" ], "name": "coral_fan_direction", "type": "int" } ] }, { "id": "minecraft:coral_fan_hang", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "coral_direction", "type": "int" }, { "values": [ "0", "1" ], "name": "coral_hang_type_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "dead_bit", "type": "byte" } ] }, { "id": "minecraft:coral_fan_hang2", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "coral_direction", "type": "int" }, { "values": [ "0", "1" ], "name": "coral_hang_type_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "dead_bit", "type": "byte" } ] }, { "id": "minecraft:coral_fan_hang3", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "coral_direction", "type": "int" }, { "values": [ "0", "1" ], "name": "coral_hang_type_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "dead_bit", "type": "byte" } ] }, { "id": "minecraft:cracked_deepslate_bricks", "states": [] }, { "id": "minecraft:cracked_deepslate_tiles", "states": [] }, { "id": "minecraft:cracked_nether_bricks", "states": [] }, { "id": "minecraft:cracked_polished_blackstone_bricks", "states": [] }, { "id": "minecraft:crafting_table", "states": [] }, { "id": "minecraft:crimson_button", "states": [ { "values": [ "0", "1" ], "name": "button_pressed_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:crimson_door", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1" ], "name": "door_hinge_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "open_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "upper_block_bit", "type": "byte" } ] }, { "id": "minecraft:crimson_double_slab", "states": [ { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:crimson_fence", "states": [] }, { "id": "minecraft:crimson_fence_gate", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1" ], "name": "in_wall_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "open_bit", "type": "byte" } ] }, { "id": "minecraft:crimson_fungus", "states": [] }, { "id": "minecraft:crimson_hyphae", "states": [ { "values": [ "y", "x", "z" ], "name": "pillar_axis", "type": "string" } ] }, { "id": "minecraft:crimson_nylium", "states": [] }, { "id": "minecraft:crimson_planks", "states": [] }, { "id": "minecraft:crimson_pressure_plate", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "redstone_signal", "type": "int" } ] }, { "id": "minecraft:crimson_roots", "states": [] }, { "id": "minecraft:crimson_slab", "states": [ { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:crimson_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:crimson_standing_sign", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "ground_sign_direction", "type": "int" } ] }, { "id": "minecraft:crimson_stem", "states": [ { "values": [ "y", "x", "z" ], "name": "pillar_axis", "type": "string" } ] }, { "id": "minecraft:crimson_trapdoor", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1" ], "name": "open_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" } ] }, { "id": "minecraft:crimson_wall_sign", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:crying_obsidian", "states": [] }, { "id": "minecraft:cut_copper", "states": [] }, { "id": "minecraft:cut_copper_slab", "states": [ { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:cut_copper_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:cyan_candle", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "candles", "type": "int" }, { "values": [ "0", "1" ], "name": "lit", "type": "byte" } ] }, { "id": "minecraft:cyan_candle_cake", "states": [ { "values": [ "0", "1" ], "name": "lit", "type": "byte" } ] }, { "id": "minecraft:cyan_glazed_terracotta", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:dark_oak_button", "states": [ { "values": [ "0", "1" ], "name": "button_pressed_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:dark_oak_door", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1" ], "name": "door_hinge_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "open_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "upper_block_bit", "type": "byte" } ] }, { "id": "minecraft:dark_oak_fence_gate", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1" ], "name": "in_wall_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "open_bit", "type": "byte" } ] }, { "id": "minecraft:dark_oak_pressure_plate", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "redstone_signal", "type": "int" } ] }, { "id": "minecraft:dark_oak_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:dark_oak_trapdoor", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1" ], "name": "open_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" } ] }, { "id": "minecraft:dark_prismarine_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:darkoak_standing_sign", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "ground_sign_direction", "type": "int" } ] }, { "id": "minecraft:darkoak_wall_sign", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:daylight_detector", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "redstone_signal", "type": "int" } ] }, { "id": "minecraft:daylight_detector_inverted", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "redstone_signal", "type": "int" } ] }, { "id": "minecraft:deadbush", "states": [] }, { "id": "minecraft:deepslate", "states": [ { "values": [ "y", "x", "z" ], "name": "pillar_axis", "type": "string" } ] }, { "id": "minecraft:deepslate_brick_double_slab", "states": [ { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:deepslate_brick_slab", "states": [ { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:deepslate_brick_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:deepslate_brick_wall", "states": [ { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_east", "type": "string" }, { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_north", "type": "string" }, { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_south", "type": "string" }, { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_west", "type": "string" }, { "values": [ "0", "1" ], "name": "wall_post_bit", "type": "byte" } ] }, { "id": "minecraft:deepslate_bricks", "states": [] }, { "id": "minecraft:deepslate_coal_ore", "states": [] }, { "id": "minecraft:deepslate_copper_ore", "states": [] }, { "id": "minecraft:deepslate_diamond_ore", "states": [] }, { "id": "minecraft:deepslate_emerald_ore", "states": [] }, { "id": "minecraft:deepslate_gold_ore", "states": [] }, { "id": "minecraft:deepslate_iron_ore", "states": [] }, { "id": "minecraft:deepslate_lapis_ore", "states": [] }, { "id": "minecraft:deepslate_redstone_ore", "states": [] }, { "id": "minecraft:deepslate_tile_double_slab", "states": [ { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:deepslate_tile_slab", "states": [ { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:deepslate_tile_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:deepslate_tile_wall", "states": [ { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_east", "type": "string" }, { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_north", "type": "string" }, { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_south", "type": "string" }, { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_west", "type": "string" }, { "values": [ "0", "1" ], "name": "wall_post_bit", "type": "byte" } ] }, { "id": "minecraft:deepslate_tiles", "states": [] }, { "id": "minecraft:deny", "states": [] }, { "id": "minecraft:detector_rail", "states": [ { "values": [ "0", "1" ], "name": "rail_data_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "rail_direction", "type": "int" } ] }, { "id": "minecraft:diamond_block", "states": [] }, { "id": "minecraft:diamond_ore", "states": [] }, { "id": "minecraft:diorite_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:dirt", "states": [ { "values": [ "normal", "coarse" ], "name": "dirt_type", "type": "string" } ] }, { "id": "minecraft:dirt_with_roots", "states": [] }, { "id": "minecraft:dispenser", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" }, { "values": [ "0", "1" ], "name": "triggered_bit", "type": "byte" } ] }, { "id": "minecraft:double_cut_copper_slab", "states": [ { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:double_plant", "states": [ { "values": [ "sunflower", "syringa", "grass", "fern", "rose", "paeonia" ], "name": "double_plant_type", "type": "string" }, { "values": [ "0", "1" ], "name": "upper_block_bit", "type": "byte" } ] }, { "id": "minecraft:double_stone_slab", "states": [ { "values": [ "smooth_stone", "sandstone", "wood", "cobblestone", "brick", "stone_brick", "quartz", "nether_brick" ], "name": "stone_slab_type", "type": "string" }, { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:double_stone_slab2", "states": [ { "values": [ "red_sandstone", "purpur", "prismarine_rough", "prismarine_dark", "prismarine_brick", "mossy_cobblestone", "smooth_sandstone", "red_nether_brick" ], "name": "stone_slab_type_2", "type": "string" }, { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:double_stone_slab3", "states": [ { "values": [ "end_stone_brick", "smooth_red_sandstone", "polished_andesite", "andesite", "diorite", "polished_diorite", "granite", "polished_granite" ], "name": "stone_slab_type_3", "type": "string" }, { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:double_stone_slab4", "states": [ { "values": [ "mossy_stone_brick", "smooth_quartz", "stone", "cut_sandstone", "cut_red_sandstone" ], "name": "stone_slab_type_4", "type": "string" }, { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:double_wooden_slab", "states": [ { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" }, { "values": [ "oak", "spruce", "birch", "jungle", "acacia", "dark_oak" ], "name": "wood_type", "type": "string" } ] }, { "id": "minecraft:dragon_egg", "states": [] }, { "id": "minecraft:dried_kelp_block", "states": [] }, { "id": "minecraft:dripstone_block", "states": [] }, { "id": "minecraft:dropper", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" }, { "values": [ "0", "1" ], "name": "triggered_bit", "type": "byte" } ] }, { "id": "minecraft:emerald_block", "states": [] }, { "id": "minecraft:emerald_ore", "states": [] }, { "id": "minecraft:enchanting_table", "states": [] }, { "id": "minecraft:end_brick_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:end_bricks", "states": [] }, { "id": "minecraft:end_gateway", "states": [] }, { "id": "minecraft:end_portal", "states": [] }, { "id": "minecraft:end_portal_frame", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1" ], "name": "end_portal_eye_bit", "type": "byte" } ] }, { "id": "minecraft:end_rod", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:end_stone", "states": [] }, { "id": "minecraft:ender_chest", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:exposed_copper", "states": [] }, { "id": "minecraft:exposed_cut_copper", "states": [] }, { "id": "minecraft:exposed_cut_copper_slab", "states": [ { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:exposed_cut_copper_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:exposed_double_cut_copper_slab", "states": [ { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:farmland", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7" ], "name": "moisturized_amount", "type": "int" } ] }, { "id": "minecraft:fence", "states": [ { "values": [ "oak", "spruce", "birch", "jungle", "acacia", "dark_oak" ], "name": "wood_type", "type": "string" } ] }, { "id": "minecraft:fence_gate", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1" ], "name": "in_wall_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "open_bit", "type": "byte" } ] }, { "id": "minecraft:fire", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "age", "type": "int" } ] }, { "id": "minecraft:fletching_table", "states": [] }, { "id": "minecraft:flower_pot", "states": [ { "values": [ "0", "1" ], "name": "update_bit", "type": "byte" } ] }, { "id": "minecraft:flowering_azalea", "states": [] }, { "id": "minecraft:flowing_lava", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "liquid_depth", "type": "int" } ] }, { "id": "minecraft:flowing_water", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "liquid_depth", "type": "int" } ] }, { "id": "minecraft:frame", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" }, { "values": [ "0", "1" ], "name": "item_frame_map_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "item_frame_photo_bit", "type": "byte" } ] }, { "id": "minecraft:frosted_ice", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "age", "type": "int" } ] }, { "id": "minecraft:furnace", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:gilded_blackstone", "states": [] }, { "id": "minecraft:glass", "states": [] }, { "id": "minecraft:glass_pane", "states": [] }, { "id": "minecraft:glow_frame", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" }, { "values": [ "0", "1" ], "name": "item_frame_map_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "item_frame_photo_bit", "type": "byte" } ] }, { "id": "minecraft:glow_lichen", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59", "60", "61", "62", "63" ], "name": "multi_face_direction_bits", "type": "int" } ] }, { "id": "minecraft:glowingobsidian", "states": [] }, { "id": "minecraft:glowstone", "states": [] }, { "id": "minecraft:gold_block", "states": [] }, { "id": "minecraft:gold_ore", "states": [] }, { "id": "minecraft:golden_rail", "states": [ { "values": [ "0", "1" ], "name": "rail_data_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "rail_direction", "type": "int" } ] }, { "id": "minecraft:granite_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:grass", "states": [] }, { "id": "minecraft:grass_path", "states": [] }, { "id": "minecraft:gravel", "states": [] }, { "id": "minecraft:gray_candle", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "candles", "type": "int" }, { "values": [ "0", "1" ], "name": "lit", "type": "byte" } ] }, { "id": "minecraft:gray_candle_cake", "states": [ { "values": [ "0", "1" ], "name": "lit", "type": "byte" } ] }, { "id": "minecraft:gray_glazed_terracotta", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:green_candle", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "candles", "type": "int" }, { "values": [ "0", "1" ], "name": "lit", "type": "byte" } ] }, { "id": "minecraft:green_candle_cake", "states": [ { "values": [ "0", "1" ], "name": "lit", "type": "byte" } ] }, { "id": "minecraft:green_glazed_terracotta", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:grindstone", "states": [ { "values": [ "standing", "hanging", "side", "multiple" ], "name": "attachment", "type": "string" }, { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" } ] }, { "id": "minecraft:hanging_roots", "states": [] }, { "id": "minecraft:hard_glass", "states": [] }, { "id": "minecraft:hard_glass_pane", "states": [] }, { "id": "minecraft:hard_stained_glass", "states": [ { "values": [ "white", "orange", "magenta", "light_blue", "yellow", "lime", "pink", "gray", "silver", "cyan", "purple", "blue", "brown", "green", "red", "black" ], "name": "color", "type": "string" } ] }, { "id": "minecraft:hard_stained_glass_pane", "states": [ { "values": [ "white", "orange", "magenta", "light_blue", "yellow", "lime", "pink", "gray", "silver", "cyan", "purple", "blue", "brown", "green", "red", "black" ], "name": "color", "type": "string" } ] }, { "id": "minecraft:hardened_clay", "states": [] }, { "id": "minecraft:hay_block", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "deprecated", "type": "int" }, { "values": [ "y", "x", "z" ], "name": "pillar_axis", "type": "string" } ] }, { "id": "minecraft:heavy_weighted_pressure_plate", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "redstone_signal", "type": "int" } ] }, { "id": "minecraft:honey_block", "states": [] }, { "id": "minecraft:honeycomb_block", "states": [] }, { "id": "minecraft:hopper", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" }, { "values": [ "0", "1" ], "name": "toggle_bit", "type": "byte" } ] }, { "id": "minecraft:ice", "states": [] }, { "id": "minecraft:infested_deepslate", "states": [ { "values": [ "y", "x", "z" ], "name": "pillar_axis", "type": "string" } ] }, { "id": "minecraft:info_update", "states": [] }, { "id": "minecraft:info_update2", "states": [] }, { "id": "minecraft:invisibleBedrock", "states": [] }, { "id": "minecraft:iron_bars", "states": [] }, { "id": "minecraft:iron_block", "states": [] }, { "id": "minecraft:iron_door", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1" ], "name": "door_hinge_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "open_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "upper_block_bit", "type": "byte" } ] }, { "id": "minecraft:iron_ore", "states": [] }, { "id": "minecraft:iron_trapdoor", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1" ], "name": "open_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" } ] }, { "id": "minecraft:jigsaw", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" }, { "values": [ "0", "1", "2", "3" ], "name": "rotation", "type": "int" } ] }, { "id": "minecraft:jukebox", "states": [] }, { "id": "minecraft:jungle_button", "states": [ { "values": [ "0", "1" ], "name": "button_pressed_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:jungle_door", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1" ], "name": "door_hinge_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "open_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "upper_block_bit", "type": "byte" } ] }, { "id": "minecraft:jungle_fence_gate", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1" ], "name": "in_wall_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "open_bit", "type": "byte" } ] }, { "id": "minecraft:jungle_pressure_plate", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "redstone_signal", "type": "int" } ] }, { "id": "minecraft:jungle_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:jungle_standing_sign", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "ground_sign_direction", "type": "int" } ] }, { "id": "minecraft:jungle_trapdoor", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1" ], "name": "open_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" } ] }, { "id": "minecraft:jungle_wall_sign", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:kelp", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25" ], "name": "kelp_age", "type": "int" } ] }, { "id": "minecraft:ladder", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:lantern", "states": [ { "values": [ "0", "1" ], "name": "hanging", "type": "byte" } ] }, { "id": "minecraft:lapis_block", "states": [] }, { "id": "minecraft:lapis_ore", "states": [] }, { "id": "minecraft:large_amethyst_bud", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:lava", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "liquid_depth", "type": "int" } ] }, { "id": "minecraft:lava_cauldron", "states": [ { "values": [ "water", "lava", "powder_snow" ], "name": "cauldron_liquid", "type": "string" }, { "values": [ "0", "1", "2", "3", "4", "5", "6" ], "name": "fill_level", "type": "int" } ] }, { "id": "minecraft:leaves", "states": [ { "values": [ "oak", "spruce", "birch", "jungle" ], "name": "old_leaf_type", "type": "string" }, { "values": [ "0", "1" ], "name": "persistent_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "update_bit", "type": "byte" } ] }, { "id": "minecraft:leaves2", "states": [ { "values": [ "acacia", "dark_oak" ], "name": "new_leaf_type", "type": "string" }, { "values": [ "0", "1" ], "name": "persistent_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "update_bit", "type": "byte" } ] }, { "id": "minecraft:lectern", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1" ], "name": "powered_bit", "type": "byte" } ] }, { "id": "minecraft:lever", "states": [ { "values": [ "down_east_west", "east", "west", "south", "north", "up_north_south", "up_east_west", "down_north_south" ], "name": "lever_direction", "type": "string" }, { "values": [ "0", "1" ], "name": "open_bit", "type": "byte" } ] }, { "id": "minecraft:light_block", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "block_light_level", "type": "int" } ] }, { "id": "minecraft:light_blue_candle", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "candles", "type": "int" }, { "values": [ "0", "1" ], "name": "lit", "type": "byte" } ] }, { "id": "minecraft:light_blue_candle_cake", "states": [ { "values": [ "0", "1" ], "name": "lit", "type": "byte" } ] }, { "id": "minecraft:light_blue_glazed_terracotta", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:light_gray_candle", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "candles", "type": "int" }, { "values": [ "0", "1" ], "name": "lit", "type": "byte" } ] }, { "id": "minecraft:light_gray_candle_cake", "states": [ { "values": [ "0", "1" ], "name": "lit", "type": "byte" } ] }, { "id": "minecraft:light_weighted_pressure_plate", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "redstone_signal", "type": "int" } ] }, { "id": "minecraft:lightning_rod", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:lime_candle", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "candles", "type": "int" }, { "values": [ "0", "1" ], "name": "lit", "type": "byte" } ] }, { "id": "minecraft:lime_candle_cake", "states": [ { "values": [ "0", "1" ], "name": "lit", "type": "byte" } ] }, { "id": "minecraft:lime_glazed_terracotta", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:lit_blast_furnace", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:lit_deepslate_redstone_ore", "states": [] }, { "id": "minecraft:lit_furnace", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:lit_pumpkin", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" } ] }, { "id": "minecraft:lit_redstone_lamp", "states": [] }, { "id": "minecraft:lit_redstone_ore", "states": [] }, { "id": "minecraft:lit_smoker", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:lodestone", "states": [] }, { "id": "minecraft:log", "states": [ { "values": [ "oak", "spruce", "birch", "jungle" ], "name": "old_log_type", "type": "string" }, { "values": [ "y", "x", "z" ], "name": "pillar_axis", "type": "string" } ] }, { "id": "minecraft:log2", "states": [ { "values": [ "acacia", "dark_oak" ], "name": "new_log_type", "type": "string" }, { "values": [ "y", "x", "z" ], "name": "pillar_axis", "type": "string" } ] }, { "id": "minecraft:loom", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" } ] }, { "id": "minecraft:magenta_candle", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "candles", "type": "int" }, { "values": [ "0", "1" ], "name": "lit", "type": "byte" } ] }, { "id": "minecraft:magenta_candle_cake", "states": [ { "values": [ "0", "1" ], "name": "lit", "type": "byte" } ] }, { "id": "minecraft:magenta_glazed_terracotta", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:magma", "states": [] }, { "id": "minecraft:medium_amethyst_bud", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:melon_block", "states": [] }, { "id": "minecraft:melon_stem", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" }, { "values": [ "0", "1", "2", "3", "4", "5", "6", "7" ], "name": "growth", "type": "int" } ] }, { "id": "minecraft:mob_spawner", "states": [] }, { "id": "minecraft:monster_egg", "states": [ { "values": [ "stone", "cobblestone", "stone_brick", "mossy_stone_brick", "cracked_stone_brick", "chiseled_stone_brick" ], "name": "monster_egg_stone_type", "type": "string" } ] }, { "id": "minecraft:moss_block", "states": [] }, { "id": "minecraft:moss_carpet", "states": [] }, { "id": "minecraft:mossy_cobblestone", "states": [] }, { "id": "minecraft:mossy_cobblestone_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:mossy_stone_brick_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:movingBlock", "states": [] }, { "id": "minecraft:mycelium", "states": [] }, { "id": "minecraft:mysterious_frame", "states": [] }, { "id": "minecraft:mysterious_frame_slot", "states": [] }, { "id": "minecraft:nether_brick", "states": [] }, { "id": "minecraft:nether_brick_fence", "states": [] }, { "id": "minecraft:nether_brick_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:nether_gold_ore", "states": [] }, { "id": "minecraft:nether_sprouts", "states": [] }, { "id": "minecraft:nether_wart", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "age", "type": "int" } ] }, { "id": "minecraft:nether_wart_block", "states": [] }, { "id": "minecraft:netherite_block", "states": [] }, { "id": "minecraft:netherrack", "states": [] }, { "id": "minecraft:netherreactor", "states": [] }, { "id": "minecraft:normal_stone_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:noteblock", "states": [] }, { "id": "minecraft:oak_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:observer", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" }, { "values": [ "0", "1" ], "name": "powered_bit", "type": "byte" } ] }, { "id": "minecraft:obsidian", "states": [] }, { "id": "minecraft:orange_candle", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "candles", "type": "int" }, { "values": [ "0", "1" ], "name": "lit", "type": "byte" } ] }, { "id": "minecraft:orange_candle_cake", "states": [ { "values": [ "0", "1" ], "name": "lit", "type": "byte" } ] }, { "id": "minecraft:orange_glazed_terracotta", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:oxidized_copper", "states": [] }, { "id": "minecraft:oxidized_cut_copper", "states": [] }, { "id": "minecraft:oxidized_cut_copper_slab", "states": [ { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:oxidized_cut_copper_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:oxidized_double_cut_copper_slab", "states": [ { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:packed_ice", "states": [] }, { "id": "minecraft:pink_candle", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "candles", "type": "int" }, { "values": [ "0", "1" ], "name": "lit", "type": "byte" } ] }, { "id": "minecraft:pink_candle_cake", "states": [ { "values": [ "0", "1" ], "name": "lit", "type": "byte" } ] }, { "id": "minecraft:pink_glazed_terracotta", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:piston", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:pistonArmCollision", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:planks", "states": [ { "values": [ "oak", "spruce", "birch", "jungle", "acacia", "dark_oak" ], "name": "wood_type", "type": "string" } ] }, { "id": "minecraft:podzol", "states": [] }, { "id": "minecraft:pointed_dripstone", "states": [ { "values": [ "tip", "frustum", "middle", "base", "merge" ], "name": "dripstone_thickness", "type": "string" }, { "values": [ "0", "1" ], "name": "hanging", "type": "byte" } ] }, { "id": "minecraft:polished_andesite_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:polished_basalt", "states": [ { "values": [ "y", "x", "z" ], "name": "pillar_axis", "type": "string" } ] }, { "id": "minecraft:polished_blackstone", "states": [] }, { "id": "minecraft:polished_blackstone_brick_double_slab", "states": [ { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:polished_blackstone_brick_slab", "states": [ { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:polished_blackstone_brick_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:polished_blackstone_brick_wall", "states": [ { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_east", "type": "string" }, { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_north", "type": "string" }, { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_south", "type": "string" }, { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_west", "type": "string" }, { "values": [ "0", "1" ], "name": "wall_post_bit", "type": "byte" } ] }, { "id": "minecraft:polished_blackstone_bricks", "states": [] }, { "id": "minecraft:polished_blackstone_button", "states": [ { "values": [ "0", "1" ], "name": "button_pressed_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:polished_blackstone_double_slab", "states": [ { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:polished_blackstone_pressure_plate", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "redstone_signal", "type": "int" } ] }, { "id": "minecraft:polished_blackstone_slab", "states": [ { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:polished_blackstone_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:polished_blackstone_wall", "states": [ { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_east", "type": "string" }, { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_north", "type": "string" }, { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_south", "type": "string" }, { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_west", "type": "string" }, { "values": [ "0", "1" ], "name": "wall_post_bit", "type": "byte" } ] }, { "id": "minecraft:polished_deepslate", "states": [] }, { "id": "minecraft:polished_deepslate_double_slab", "states": [ { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:polished_deepslate_slab", "states": [ { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:polished_deepslate_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:polished_deepslate_wall", "states": [ { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_east", "type": "string" }, { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_north", "type": "string" }, { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_south", "type": "string" }, { "values": [ "none", "short", "tall" ], "name": "wall_connection_type_west", "type": "string" }, { "values": [ "0", "1" ], "name": "wall_post_bit", "type": "byte" } ] }, { "id": "minecraft:polished_diorite_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:polished_granite_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:portal", "states": [ { "values": [ "unknown", "x", "z" ], "name": "portal_axis", "type": "string" } ] }, { "id": "minecraft:potatoes", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7" ], "name": "growth", "type": "int" } ] }, { "id": "minecraft:powder_snow", "states": [] }, { "id": "minecraft:powered_comparator", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1" ], "name": "output_lit_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "output_subtract_bit", "type": "byte" } ] }, { "id": "minecraft:powered_repeater", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1", "2", "3" ], "name": "repeater_delay", "type": "int" } ] }, { "id": "minecraft:prismarine", "states": [ { "values": [ "default", "dark", "bricks" ], "name": "prismarine_block_type", "type": "string" } ] }, { "id": "minecraft:prismarine_bricks_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:prismarine_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:pumpkin", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" } ] }, { "id": "minecraft:pumpkin_stem", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" }, { "values": [ "0", "1", "2", "3", "4", "5", "6", "7" ], "name": "growth", "type": "int" } ] }, { "id": "minecraft:purple_candle", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "candles", "type": "int" }, { "values": [ "0", "1" ], "name": "lit", "type": "byte" } ] }, { "id": "minecraft:purple_candle_cake", "states": [ { "values": [ "0", "1" ], "name": "lit", "type": "byte" } ] }, { "id": "minecraft:purple_glazed_terracotta", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:purpur_block", "states": [ { "values": [ "default", "chiseled", "lines", "smooth" ], "name": "chisel_type", "type": "string" }, { "values": [ "y", "x", "z" ], "name": "pillar_axis", "type": "string" } ] }, { "id": "minecraft:purpur_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:quartz_block", "states": [ { "values": [ "default", "chiseled", "lines", "smooth" ], "name": "chisel_type", "type": "string" }, { "values": [ "y", "x", "z" ], "name": "pillar_axis", "type": "string" } ] }, { "id": "minecraft:quartz_bricks", "states": [] }, { "id": "minecraft:quartz_ore", "states": [] }, { "id": "minecraft:quartz_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:rail", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9" ], "name": "rail_direction", "type": "int" } ] }, { "id": "minecraft:raw_copper_block", "states": [] }, { "id": "minecraft:raw_gold_block", "states": [] }, { "id": "minecraft:raw_iron_block", "states": [] }, { "id": "minecraft:red_candle", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "candles", "type": "int" }, { "values": [ "0", "1" ], "name": "lit", "type": "byte" } ] }, { "id": "minecraft:red_candle_cake", "states": [ { "values": [ "0", "1" ], "name": "lit", "type": "byte" } ] }, { "id": "minecraft:red_flower", "states": [ { "values": [ "poppy", "orchid", "allium", "houstonia", "tulip_red", "tulip_orange", "tulip_white", "tulip_pink", "oxeye", "cornflower", "lily_of_the_valley" ], "name": "flower_type", "type": "string" } ] }, { "id": "minecraft:red_glazed_terracotta", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:red_mushroom", "states": [] }, { "id": "minecraft:red_mushroom_block", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "huge_mushroom_bits", "type": "int" } ] }, { "id": "minecraft:red_nether_brick", "states": [] }, { "id": "minecraft:red_nether_brick_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:red_sandstone", "states": [ { "values": [ "default", "heiroglyphs", "cut", "smooth" ], "name": "sand_stone_type", "type": "string" } ] }, { "id": "minecraft:red_sandstone_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:redstone_block", "states": [] }, { "id": "minecraft:redstone_lamp", "states": [] }, { "id": "minecraft:redstone_ore", "states": [] }, { "id": "minecraft:redstone_torch", "states": [ { "values": [ "unknown", "west", "east", "north", "south", "top" ], "name": "torch_facing_direction", "type": "string" } ] }, { "id": "minecraft:redstone_wire", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "redstone_signal", "type": "int" } ] }, { "id": "minecraft:reeds", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "age", "type": "int" } ] }, { "id": "minecraft:repeating_command_block", "states": [ { "values": [ "0", "1" ], "name": "conditional_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:reserved6", "states": [] }, { "id": "minecraft:respawn_anchor", "states": [ { "values": [ "0", "1", "2", "3", "4" ], "name": "respawn_anchor_charge", "type": "int" } ] }, { "id": "minecraft:sand", "states": [ { "values": [ "normal", "red" ], "name": "sand_type", "type": "string" } ] }, { "id": "minecraft:sandstone", "states": [ { "values": [ "default", "heiroglyphs", "cut", "smooth" ], "name": "sand_stone_type", "type": "string" } ] }, { "id": "minecraft:sandstone_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:sapling", "states": [ { "values": [ "0", "1" ], "name": "age_bit", "type": "byte" }, { "values": [ "oak", "spruce", "birch", "jungle", "acacia", "dark_oak" ], "name": "sapling_type", "type": "string" } ] }, { "id": "minecraft:scaffolding", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7" ], "name": "stability", "type": "int" }, { "values": [ "0", "1" ], "name": "stability_check", "type": "byte" } ] }, { "id": "minecraft:sculk", "states": [] }, { "id": "minecraft:sculk_catalyst", "states": [ { "values": [ "0", "1" ], "name": "bloom", "type": "byte" } ] }, { "id": "minecraft:sculk_sensor", "states": [ { "values": [ "0", "1" ], "name": "powered_bit", "type": "byte" } ] }, { "id": "minecraft:sculk_shrieker", "states": [ { "values": [ "0", "1" ], "name": "active", "type": "byte" } ] }, { "id": "minecraft:sculk_vein", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "42", "43", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "55", "56", "57", "58", "59", "60", "61", "62", "63" ], "name": "multi_face_direction_bits", "type": "int" } ] }, { "id": "minecraft:sea_pickle", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "cluster_count", "type": "int" }, { "values": [ "0", "1" ], "name": "dead_bit", "type": "byte" } ] }, { "id": "minecraft:seagrass", "states": [ { "values": [ "default", "double_top", "double_bot" ], "name": "sea_grass_type", "type": "string" } ] }, { "id": "minecraft:seaLantern", "states": [] }, { "id": "minecraft:shroomlight", "states": [] }, { "id": "minecraft:shulker_box", "states": [ { "values": [ "white", "orange", "magenta", "light_blue", "yellow", "lime", "pink", "gray", "silver", "cyan", "purple", "blue", "brown", "green", "red", "black" ], "name": "color", "type": "string" } ] }, { "id": "minecraft:silver_glazed_terracotta", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:skull", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" }, { "values": [ "0", "1" ], "name": "no_drop_bit", "type": "byte" } ] }, { "id": "minecraft:slime", "states": [] }, { "id": "minecraft:small_amethyst_bud", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:small_dripleaf_block", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1" ], "name": "upper_block_bit", "type": "byte" } ] }, { "id": "minecraft:smithing_table", "states": [] }, { "id": "minecraft:smoker", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:smooth_basalt", "states": [] }, { "id": "minecraft:smooth_quartz_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:smooth_red_sandstone_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:smooth_sandstone_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:smooth_stone", "states": [] }, { "id": "minecraft:snow", "states": [] }, { "id": "minecraft:snow_layer", "states": [ { "values": [ "0", "1" ], "name": "covered_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3", "4", "5", "6", "7" ], "name": "height", "type": "int" } ] }, { "id": "minecraft:soul_campfire", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1" ], "name": "extinguished", "type": "byte" } ] }, { "id": "minecraft:soul_fire", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "age", "type": "int" } ] }, { "id": "minecraft:soul_lantern", "states": [ { "values": [ "0", "1" ], "name": "hanging", "type": "byte" } ] }, { "id": "minecraft:soul_sand", "states": [] }, { "id": "minecraft:soul_soil", "states": [] }, { "id": "minecraft:soul_torch", "states": [ { "values": [ "unknown", "west", "east", "north", "south", "top" ], "name": "torch_facing_direction", "type": "string" } ] }, { "id": "minecraft:sponge", "states": [ { "values": [ "dry", "wet" ], "name": "sponge_type", "type": "string" } ] }, { "id": "minecraft:spore_blossom", "states": [] }, { "id": "minecraft:spruce_button", "states": [ { "values": [ "0", "1" ], "name": "button_pressed_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:spruce_door", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1" ], "name": "door_hinge_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "open_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "upper_block_bit", "type": "byte" } ] }, { "id": "minecraft:spruce_fence_gate", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1" ], "name": "in_wall_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "open_bit", "type": "byte" } ] }, { "id": "minecraft:spruce_pressure_plate", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "redstone_signal", "type": "int" } ] }, { "id": "minecraft:spruce_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:spruce_standing_sign", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "ground_sign_direction", "type": "int" } ] }, { "id": "minecraft:spruce_trapdoor", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1" ], "name": "open_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" } ] }, { "id": "minecraft:spruce_wall_sign", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:stained_glass", "states": [ { "values": [ "white", "orange", "magenta", "light_blue", "yellow", "lime", "pink", "gray", "silver", "cyan", "purple", "blue", "brown", "green", "red", "black" ], "name": "color", "type": "string" } ] }, { "id": "minecraft:stained_glass_pane", "states": [ { "values": [ "white", "orange", "magenta", "light_blue", "yellow", "lime", "pink", "gray", "silver", "cyan", "purple", "blue", "brown", "green", "red", "black" ], "name": "color", "type": "string" } ] }, { "id": "minecraft:stained_hardened_clay", "states": [ { "values": [ "white", "orange", "magenta", "light_blue", "yellow", "lime", "pink", "gray", "silver", "cyan", "purple", "blue", "brown", "green", "red", "black" ], "name": "color", "type": "string" } ] }, { "id": "minecraft:standing_banner", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "ground_sign_direction", "type": "int" } ] }, { "id": "minecraft:standing_sign", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "ground_sign_direction", "type": "int" } ] }, { "id": "minecraft:sticky_piston", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:stickyPistonArmCollision", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:stone", "states": [ { "values": [ "stone", "granite", "granite_smooth", "diorite", "diorite_smooth", "andesite", "andesite_smooth" ], "name": "stone_type", "type": "string" } ] }, { "id": "minecraft:stone_brick_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:stone_button", "states": [ { "values": [ "0", "1" ], "name": "button_pressed_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:stone_pressure_plate", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "redstone_signal", "type": "int" } ] }, { "id": "minecraft:stone_slab", "states": [ { "values": [ "smooth_stone", "sandstone", "wood", "cobblestone", "brick", "stone_brick", "quartz", "nether_brick" ], "name": "stone_slab_type", "type": "string" }, { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:stone_slab2", "states": [ { "values": [ "red_sandstone", "purpur", "prismarine_rough", "prismarine_dark", "prismarine_brick", "mossy_cobblestone", "smooth_sandstone", "red_nether_brick" ], "name": "stone_slab_type_2", "type": "string" }, { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:stone_slab3", "states": [ { "values": [ "end_stone_brick", "smooth_red_sandstone", "polished_andesite", "andesite", "diorite", "polished_diorite", "granite", "polished_granite" ], "name": "stone_slab_type_3", "type": "string" }, { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:stone_slab4", "states": [ { "values": [ "mossy_stone_brick", "smooth_quartz", "stone", "cut_sandstone", "cut_red_sandstone" ], "name": "stone_slab_type_4", "type": "string" }, { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:stone_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:stonebrick", "states": [ { "values": [ "default", "mossy", "cracked", "chiseled", "smooth" ], "name": "stone_brick_type", "type": "string" } ] }, { "id": "minecraft:stonecutter", "states": [] }, { "id": "minecraft:stonecutter_block", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:stripped_acacia_log", "states": [ { "values": [ "y", "x", "z" ], "name": "pillar_axis", "type": "string" } ] }, { "id": "minecraft:stripped_birch_log", "states": [ { "values": [ "y", "x", "z" ], "name": "pillar_axis", "type": "string" } ] }, { "id": "minecraft:stripped_crimson_hyphae", "states": [ { "values": [ "y", "x", "z" ], "name": "pillar_axis", "type": "string" } ] }, { "id": "minecraft:stripped_crimson_stem", "states": [ { "values": [ "y", "x", "z" ], "name": "pillar_axis", "type": "string" } ] }, { "id": "minecraft:stripped_dark_oak_log", "states": [ { "values": [ "y", "x", "z" ], "name": "pillar_axis", "type": "string" } ] }, { "id": "minecraft:stripped_jungle_log", "states": [ { "values": [ "y", "x", "z" ], "name": "pillar_axis", "type": "string" } ] }, { "id": "minecraft:stripped_oak_log", "states": [ { "values": [ "y", "x", "z" ], "name": "pillar_axis", "type": "string" } ] }, { "id": "minecraft:stripped_spruce_log", "states": [ { "values": [ "y", "x", "z" ], "name": "pillar_axis", "type": "string" } ] }, { "id": "minecraft:stripped_warped_hyphae", "states": [ { "values": [ "y", "x", "z" ], "name": "pillar_axis", "type": "string" } ] }, { "id": "minecraft:stripped_warped_stem", "states": [ { "values": [ "y", "x", "z" ], "name": "pillar_axis", "type": "string" } ] }, { "id": "minecraft:structure_block", "states": [ { "values": [ "data", "save", "load", "corner", "invalid", "export" ], "name": "structure_block_type", "type": "string" } ] }, { "id": "minecraft:structure_void", "states": [ { "values": [ "void", "air" ], "name": "structure_void_type", "type": "string" } ] }, { "id": "minecraft:sweet_berry_bush", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7" ], "name": "growth", "type": "int" } ] }, { "id": "minecraft:tallgrass", "states": [ { "values": [ "default", "tall", "fern", "snow" ], "name": "tall_grass_type", "type": "string" } ] }, { "id": "minecraft:target", "states": [] }, { "id": "minecraft:tinted_glass", "states": [] }, { "id": "minecraft:tnt", "states": [ { "values": [ "0", "1" ], "name": "allow_underwater_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "explode_bit", "type": "byte" } ] }, { "id": "minecraft:torch", "states": [ { "values": [ "unknown", "west", "east", "north", "south", "top" ], "name": "torch_facing_direction", "type": "string" } ] }, { "id": "minecraft:trapdoor", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1" ], "name": "open_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" } ] }, { "id": "minecraft:trapped_chest", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:tripWire", "states": [ { "values": [ "0", "1" ], "name": "attached_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "disarmed_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "powered_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "suspended_bit", "type": "byte" } ] }, { "id": "minecraft:tripwire_hook", "states": [ { "values": [ "0", "1" ], "name": "attached_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1" ], "name": "powered_bit", "type": "byte" } ] }, { "id": "minecraft:tuff", "states": [] }, { "id": "minecraft:turtle_egg", "states": [ { "values": [ "no_cracks", "cracked", "max_cracked" ], "name": "cracked_state", "type": "string" }, { "values": [ "one_egg", "two_egg", "three_egg", "four_egg" ], "name": "turtle_egg_count", "type": "string" } ] }, { "id": "minecraft:twisting_vines", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25" ], "name": "twisting_vines_age", "type": "int" } ] }, { "id": "minecraft:undyed_shulker_box", "states": [] }, { "id": "minecraft:unknown", "states": [] }, { "id": "minecraft:unlit_redstone_torch", "states": [ { "values": [ "unknown", "west", "east", "north", "south", "top" ], "name": "torch_facing_direction", "type": "string" } ] }, { "id": "minecraft:unpowered_comparator", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1" ], "name": "output_lit_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "output_subtract_bit", "type": "byte" } ] }, { "id": "minecraft:unpowered_repeater", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1", "2", "3" ], "name": "repeater_delay", "type": "int" } ] }, { "id": "minecraft:vine", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "vine_direction_bits", "type": "int" } ] }, { "id": "minecraft:wall_banner", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:wall_sign", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:warped_button", "states": [ { "values": [ "0", "1" ], "name": "button_pressed_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:warped_door", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1" ], "name": "door_hinge_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "open_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "upper_block_bit", "type": "byte" } ] }, { "id": "minecraft:warped_double_slab", "states": [ { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:warped_fence", "states": [] }, { "id": "minecraft:warped_fence_gate", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1" ], "name": "in_wall_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "open_bit", "type": "byte" } ] }, { "id": "minecraft:warped_fungus", "states": [] }, { "id": "minecraft:warped_hyphae", "states": [ { "values": [ "y", "x", "z" ], "name": "pillar_axis", "type": "string" } ] }, { "id": "minecraft:warped_nylium", "states": [] }, { "id": "minecraft:warped_planks", "states": [] }, { "id": "minecraft:warped_pressure_plate", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "redstone_signal", "type": "int" } ] }, { "id": "minecraft:warped_roots", "states": [] }, { "id": "minecraft:warped_slab", "states": [ { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:warped_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:warped_standing_sign", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "ground_sign_direction", "type": "int" } ] }, { "id": "minecraft:warped_stem", "states": [ { "values": [ "y", "x", "z" ], "name": "pillar_axis", "type": "string" } ] }, { "id": "minecraft:warped_trapdoor", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1" ], "name": "open_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" } ] }, { "id": "minecraft:warped_wall_sign", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:warped_wart_block", "states": [] }, { "id": "minecraft:water", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "liquid_depth", "type": "int" } ] }, { "id": "minecraft:waterlily", "states": [] }, { "id": "minecraft:waxed_copper", "states": [] }, { "id": "minecraft:waxed_cut_copper", "states": [] }, { "id": "minecraft:waxed_cut_copper_slab", "states": [ { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:waxed_cut_copper_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:waxed_double_cut_copper_slab", "states": [ { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:waxed_exposed_copper", "states": [] }, { "id": "minecraft:waxed_exposed_cut_copper", "states": [] }, { "id": "minecraft:waxed_exposed_cut_copper_slab", "states": [ { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:waxed_exposed_cut_copper_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:waxed_exposed_double_cut_copper_slab", "states": [ { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:waxed_oxidized_copper", "states": [] }, { "id": "minecraft:waxed_oxidized_cut_copper", "states": [] }, { "id": "minecraft:waxed_oxidized_cut_copper_slab", "states": [ { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:waxed_oxidized_cut_copper_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:waxed_oxidized_double_cut_copper_slab", "states": [ { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:waxed_weathered_copper", "states": [] }, { "id": "minecraft:waxed_weathered_cut_copper", "states": [] }, { "id": "minecraft:waxed_weathered_cut_copper_slab", "states": [ { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:waxed_weathered_cut_copper_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:waxed_weathered_double_cut_copper_slab", "states": [ { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:weathered_copper", "states": [] }, { "id": "minecraft:weathered_cut_copper", "states": [] }, { "id": "minecraft:weathered_cut_copper_slab", "states": [ { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:weathered_cut_copper_stairs", "states": [ { "values": [ "0", "1" ], "name": "upside_down_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3" ], "name": "weirdo_direction", "type": "int" } ] }, { "id": "minecraft:weathered_double_cut_copper_slab", "states": [ { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" } ] }, { "id": "minecraft:web", "states": [] }, { "id": "minecraft:weeping_vines", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25" ], "name": "weeping_vines_age", "type": "int" } ] }, { "id": "minecraft:wheat", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7" ], "name": "growth", "type": "int" } ] }, { "id": "minecraft:white_candle", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "candles", "type": "int" }, { "values": [ "0", "1" ], "name": "lit", "type": "byte" } ] }, { "id": "minecraft:white_candle_cake", "states": [ { "values": [ "0", "1" ], "name": "lit", "type": "byte" } ] }, { "id": "minecraft:white_glazed_terracotta", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:wither_rose", "states": [] }, { "id": "minecraft:wood", "states": [ { "values": [ "y", "x", "z" ], "name": "pillar_axis", "type": "string" }, { "values": [ "0", "1" ], "name": "stripped_bit", "type": "byte" }, { "values": [ "oak", "spruce", "birch", "jungle", "acacia", "dark_oak" ], "name": "wood_type", "type": "string" } ] }, { "id": "minecraft:wooden_button", "states": [ { "values": [ "0", "1" ], "name": "button_pressed_bit", "type": "byte" }, { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] }, { "id": "minecraft:wooden_door", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" }, { "values": [ "0", "1" ], "name": "door_hinge_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "open_bit", "type": "byte" }, { "values": [ "0", "1" ], "name": "upper_block_bit", "type": "byte" } ] }, { "id": "minecraft:wooden_pressure_plate", "states": [ { "values": [ "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15" ], "name": "redstone_signal", "type": "int" } ] }, { "id": "minecraft:wooden_slab", "states": [ { "values": [ "0", "1" ], "name": "top_slot_bit", "type": "byte" }, { "values": [ "oak", "spruce", "birch", "jungle", "acacia", "dark_oak" ], "name": "wood_type", "type": "string" } ] }, { "id": "minecraft:wool", "states": [ { "values": [ "white", "orange", "magenta", "light_blue", "yellow", "lime", "pink", "gray", "silver", "cyan", "purple", "blue", "brown", "green", "red", "black" ], "name": "color", "type": "string" } ] }, { "id": "minecraft:yellow_candle", "states": [ { "values": [ "0", "1", "2", "3" ], "name": "candles", "type": "int" }, { "values": [ "0", "1" ], "name": "lit", "type": "byte" } ] }, { "id": "minecraft:yellow_candle_cake", "states": [ { "values": [ "0", "1" ], "name": "lit", "type": "byte" } ] }, { "id": "minecraft:yellow_flower", "states": [] }, { "id": "minecraft:yellow_glazed_terracotta", "states": [ { "values": [ "0", "1", "2", "3", "4", "5" ], "name": "facing_direction", "type": "int" } ] } ]
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Edu/ResourcePack/sounds.ts
export const Sounds: string[] = []
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Edu/include.ts
/* Auto generated */ export * as BehaviorPack from "./BehaviorPack/include"; export * as ResourcePack from "./ResourcePack/include";
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
test/contents/rp/content.test.ts
import { expect } from 'chai'; import { assert } from "console"; import { Entity } from "../../../src/Lib/Types/ResourcePack/Entity"; import { MinecraftData } from "../../../src/main"; import { Check_Identifiable, Check_IsFunction, Test_Identifiable } from "../../Identifiable.test"; describe("rp content", () => { it("animation controllers", () => { Check_Identifiable(MinecraftData.edu.ResourcePack.animation_controllers); Check_Identifiable(MinecraftData.vanilla.ResourcePack.animation_controllers); expect(MinecraftData.ResourcePack.getAnimationController("controller.animation.wolf.shaking")).to.not.be.undefined; }); it("animations", () => { Check_Identifiable(MinecraftData.edu.ResourcePack.animations); Check_Identifiable(MinecraftData.vanilla.ResourcePack.animations); }); it("entities", () => { test_entity(MinecraftData.edu.ResourcePack.entities); test_entity(MinecraftData.vanilla.ResourcePack.entities); }); it("fogs", () => { Check_Identifiable(MinecraftData.edu.ResourcePack.fogs); Check_Identifiable(MinecraftData.vanilla.ResourcePack.fogs); }); it("materials", () => { Check_Identifiable(MinecraftData.edu.ResourcePack.materials); Check_Identifiable(MinecraftData.vanilla.ResourcePack.materials); }); it("models", () => { Check_Identifiable(MinecraftData.edu.ResourcePack.models); Check_Identifiable(MinecraftData.vanilla.ResourcePack.models); }); it("particles", () => { Check_Identifiable(MinecraftData.edu.ResourcePack.particles); Check_Identifiable(MinecraftData.vanilla.ResourcePack.particles); }); it("render_controllers", () => { Check_Identifiable(MinecraftData.edu.ResourcePack.render_controllers); Check_Identifiable(MinecraftData.vanilla.ResourcePack.render_controllers); }); it("sounds", () => { Check_Identifiable(MinecraftData.edu.ResourcePack.sounds); Check_Identifiable(MinecraftData.vanilla.ResourcePack.sounds); }); it("textures", () => { Check_Identifiable(MinecraftData.edu.ResourcePack.textures); Check_Identifiable(MinecraftData.vanilla.ResourcePack.textures); }); }); function test_entity(Entities: Entity[]) { Check_Identifiable(Entities); Check_IsFunction(Entities, Entity.is); Entities.forEach((entity) => { Test_Identifiable(entity); entity.animations.forEach((animation) => { assert(animation.length > 0, `Animation is not of proper length ${entity.id}`); }); }); }
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Vanilla/ResourcePack/sounds.ts
<reponame>Blockception/BC-Minecraft-Bedrock-Vanilla-Data export const Sounds: string[] = [ "ambient.basalt_deltas.additions", "ambient.basalt_deltas.loop", "ambient.basalt_deltas.mood", "ambient.candle", "ambient.cave", "ambient.crimson_forest.additions", "ambient.crimson_forest.loop", "ambient.crimson_forest.mood", "ambient.nether_wastes.additions", "ambient.nether_wastes.loop", "ambient.nether_wastes.mood", "ambient.soulsand_valley.additions", "ambient.soulsand_valley.loop", "ambient.soulsand_valley.mood", "ambient.warped_forest.additions", "ambient.warped_forest.loop", "ambient.warped_forest.mood", "ambient.weather.lightning.impact", "ambient.weather.rain", "ambient.weather.thunder", "armor.equip_chain", "armor.equip_diamond", "armor.equip_generic", "armor.equip_gold", "armor.equip_iron", "armor.equip_leather", "armor.equip_netherite", "beacon.activate", "beacon.ambient", "beacon.deactivate", "beacon.power", "block.bamboo.break", "block.bamboo.fall", "block.bamboo.hit", "block.bamboo.place", "block.bamboo.step", "block.bamboo_sapling.break", "block.bamboo_sapling.place", "block.barrel.close", "block.barrel.open", "block.beehive.drip", "block.beehive.enter", "block.beehive.exit", "block.beehive.shear", "block.beehive.work", "block.bell.hit", "block.blastfurnace.fire_crackle", "block.bowhit", "block.campfire.crackle", "block.cartography_table.use", "block.chorusflower.death", "block.chorusflower.grow", "block.click", "block.composter.empty", "block.composter.fill", "block.composter.fill_success", "block.composter.ready", "block.end_portal.spawn", "block.end_portal_frame.fill", "block.false_permissions", "block.furnace.lit", "block.grindstone.use", "block.itemframe.add_item", "block.itemframe.break", "block.itemframe.place", "block.itemframe.remove_item", "block.itemframe.rotate_item", "block.lantern.break", "block.lantern.fall", "block.lantern.hit", "block.lantern.place", "block.lantern.step", "block.loom.use", "block.scaffolding.break", "block.scaffolding.climb", "block.scaffolding.fall", "block.scaffolding.hit", "block.scaffolding.place", "block.scaffolding.step", "block.smoker.smoke", "block.stonecutter.use", "block.sweet_berry_bush.break", "block.sweet_berry_bush.hurt", "block.sweet_berry_bush.pick", "block.sweet_berry_bush.place", "block.turtle_egg.break", "block.turtle_egg.crack", "block.turtle_egg.drop", "bottle.dragonbreath", "break.amethyst_block", "break.amethyst_cluster", "break.azalea", "break.big_dripleaf", "break.calcite", "break.dirt_with_roots", "break.dripstone_block", "break.hanging_roots", "break.large_amethyst_bud", "break.medium_amethyst_bud", "break.pointed_dripstone", "break.small_amethyst_bud", "break.spore_blossom", "break.tuff", "bubble.down", "bubble.downinside", "bubble.pop", "bubble.up", "bubble.upinside", "bucket.empty_fish", "bucket.empty_lava", "bucket.empty_powder_snow", "bucket.empty_water", "bucket.fill_fish", "bucket.fill_lava", "bucket.fill_powder_snow", "bucket.fill_water", "cake.add_candle", "camera.take_picture", "cauldron.adddye", "cauldron.cleanarmor", "cauldron.cleanbanner", "cauldron.dyearmor", "cauldron.explode", "cauldron.fillpotion", "cauldron.fillwater", "cauldron.takepotion", "cauldron.takewater", "cauldron_drip.lava.pointed_dripstone", "cauldron_drip.water.pointed_dripstone", "chime.amethyst_block", "component.jump_to_block", "conduit.activate", "conduit.ambient", "conduit.attack", "conduit.deactivate", "conduit.short", "copper.wax.off", "copper.wax.on", "crossbow.loading.end", "crossbow.loading.middle", "crossbow.loading.start", "crossbow.quick_charge.end", "crossbow.quick_charge.middle", "crossbow.quick_charge.start", "crossbow.shoot", "damage.fallbig", "damage.fallsmall", "dig.ancient_debris", "dig.azalea_leaves", "dig.basalt", "dig.bone_block", "dig.candle", "dig.cave_vines", "dig.chain", "dig.cloth", "dig.copper", "dig.coral", "dig.deepslate", "dig.deepslate_bricks", "dig.fungus", "dig.grass", "dig.gravel", "dig.honey_block", "dig.lodestone", "dig.moss", "dig.nether_brick", "dig.nether_gold_ore", "dig.nether_sprouts", "dig.nether_wart", "dig.netherite", "dig.netherrack", "dig.nylium", "dig.powder_snow", "dig.roots", "dig.sand", "dig.shroomlight", "dig.snow", "dig.soul_sand", "dig.soul_soil", "dig.stem", "dig.stone", "dig.vines", "dig.wood", "drip.lava.pointed_dripstone", "drip.water.pointed_dripstone", "elytra.loop", "entity.zombie.converted_to_drowned", "extinguish.candle", "fall.amethyst_block", "fall.amethyst_cluster", "fall.ancient_debris", "fall.azalea", "fall.azalea_leaves", "fall.basalt", "fall.big_dripleaf", "fall.bone_block", "fall.calcite", "fall.cave_vines", "fall.chain", "fall.cloth", "fall.copper", "fall.coral", "fall.deepslate", "fall.deepslate_bricks", "fall.dirt_with_roots", "fall.dripstone_block", "fall.egg", "fall.grass", "fall.gravel", "fall.hanging_roots", "fall.honey_block", "fall.ladder", "fall.moss", "fall.nether_brick", "fall.nether_gold_ore", "fall.nether_sprouts", "fall.nether_wart", "fall.netherite", "fall.netherrack", "fall.nylium", "fall.pointed_dripstone", "fall.powder_snow", "fall.roots", "fall.sand", "fall.shroomlight", "fall.slime", "fall.snow", "fall.soul_sand", "fall.soul_soil", "fall.spore_blossom", "fall.stem", "fall.stone", "fall.tuff", "fall.vines", "fall.wood", "fire.fire", "fire.ignite", "firework.blast", "firework.large_blast", "firework.launch", "firework.shoot", "firework.twinkle", "game.player.attack.nodamage", "game.player.attack.strong", "game.player.die", "game.player.hurt", "hit.amethyst_block", "hit.amethyst_cluster", "hit.ancient_debris", "hit.anvil", "hit.azalea", "hit.azalea_leaves", "hit.basalt", "hit.big_dripleaf", "hit.bone_block", "hit.calcite", "hit.candle", "hit.cave_vines", "hit.chain", "hit.cloth", "hit.copper", "hit.coral", "hit.deepslate", "hit.deepslate_bricks", "hit.dirt_with_roots", "hit.dripstone_block", "hit.grass", "hit.gravel", "hit.hanging_roots", "hit.honey_block", "hit.ladder", "hit.moss", "hit.nether_brick", "hit.nether_gold_ore", "hit.nether_sprouts", "hit.nether_wart", "hit.netherite", "hit.netherrack", "hit.nylium", "hit.pointed_dripstone", "hit.powder_snow", "hit.roots", "hit.sand", "hit.shroomlight", "hit.slime", "hit.snow", "hit.soul_sand", "hit.soul_soil", "hit.spore_blossom", "hit.stem", "hit.stone", "hit.tuff", "hit.vines", "hit.wood", "item.bone_meal.use", "item.book.page_turn", "item.book.put", "item.shield.block", "item.spyglass.stop_using", "item.spyglass.use", "item.trident.hit", "item.trident.hit_ground", "item.trident.return", "item.trident.riptide_1", "item.trident.riptide_2", "item.trident.riptide_3", "item.trident.throw", "item.trident.thunder", "jump.ancient_debris", "jump.azalea", "jump.basalt", "jump.big_dripleaf", "jump.bone_block", "jump.cave_vines", "jump.chain", "jump.cloth", "jump.coral", "jump.deepslate", "jump.deepslate_bricks", "jump.dirt_with_roots", "jump.dripstone_block", "jump.grass", "jump.gravel", "jump.hanging_roots", "jump.honey_block", "jump.moss", "jump.nether_brick", "jump.nether_gold_ore", "jump.nether_sprouts", "jump.nether_wart", "jump.netherite", "jump.netherrack", "jump.nylium", "jump.pointed_dripstone", "jump.roots", "jump.sand", "jump.shroomlight", "jump.slime", "jump.snow", "jump.soul_sand", "jump.soul_soil", "jump.spore_blossom", "jump.stem", "jump.stone", "jump.vines", "jump.wood", "land.ancient_debris", "land.azalea", "land.basalt", "land.big_dripleaf", "land.bone_block", "land.cave_vines", "land.chain", "land.cloth", "land.coral", "land.deepslate", "land.deepslate_bricks", "land.dirt_with_roots", "land.dripstone_block", "land.grass", "land.gravel", "land.hanging_roots", "land.honey_block", "land.moss", "land.nether_brick", "land.nether_gold_ore", "land.nether_sprouts", "land.nether_wart", "land.netherite", "land.netherrack", "land.nylium", "land.pointed_dripstone", "land.roots", "land.sand", "land.shroomlight", "land.slime", "land.snow", "land.soul_sand", "land.soul_soil", "land.spore_blossom", "land.stem", "land.stone", "land.vines", "land.wood", "leashknot.break", "leashknot.place", "liquid.lava", "liquid.lavapop", "liquid.water", "lodestone_compass.link_compass_to_lodestone", "minecart.base", "minecart.inside", "mob.agent.spawn", "mob.armor_stand.break", "mob.armor_stand.hit", "mob.armor_stand.land", "mob.armor_stand.place", "mob.axolotl.attack", "mob.axolotl.death", "mob.axolotl.hurt", "mob.axolotl.idle", "mob.axolotl.idle_water", "mob.axolotl.splash", "mob.axolotl.swim", "mob.bat.death", "mob.bat.hurt", "mob.bat.idle", "mob.bat.takeoff", "mob.bee.aggressive", "mob.bee.death", "mob.bee.hurt", "mob.bee.loop", "mob.bee.pollinate", "mob.bee.sting", "mob.blaze.breathe", "mob.blaze.death", "mob.blaze.hit", "mob.blaze.shoot", "mob.cat.beg", "mob.cat.eat", "mob.cat.hiss", "mob.cat.hit", "mob.cat.meow", "mob.cat.purr", "mob.cat.purreow", "mob.cat.straymeow", "mob.chicken.hurt", "mob.chicken.plop", "mob.chicken.say", "mob.chicken.step", "mob.cow.hurt", "mob.cow.milk", "mob.cow.say", "mob.cow.step", "mob.creeper.death", "mob.creeper.say", "mob.dolphin.attack", "mob.dolphin.blowhole", "mob.dolphin.death", "mob.dolphin.eat", "mob.dolphin.hurt", "mob.dolphin.idle", "mob.dolphin.idle_water", "mob.dolphin.jump", "mob.dolphin.play", "mob.dolphin.splash", "mob.dolphin.swim", "mob.drowned.death", "mob.drowned.death_water", "mob.drowned.hurt", "mob.drowned.hurt_water", "mob.drowned.say", "mob.drowned.say_water", "mob.drowned.shoot", "mob.drowned.step", "mob.drowned.swim", "mob.elderguardian.curse", "mob.elderguardian.death", "mob.elderguardian.hit", "mob.elderguardian.idle", "mob.enderdragon.death", "mob.enderdragon.flap", "mob.enderdragon.growl", "mob.enderdragon.hit", "mob.endermen.death", "mob.endermen.hit", "mob.endermen.idle", "mob.endermen.portal", "mob.endermen.scream", "mob.endermen.stare", "mob.endermite.hit", "mob.endermite.kill", "mob.endermite.say", "mob.endermite.step", "mob.evocation_fangs.attack", "mob.evocation_illager.ambient", "mob.evocation_illager.cast_spell", "mob.evocation_illager.celebrate", "mob.evocation_illager.death", "mob.evocation_illager.hurt", "mob.evocation_illager.prepare_attack", "mob.evocation_illager.prepare_summon", "mob.evocation_illager.prepare_wololo", "mob.fish.flop", "mob.fish.hurt", "mob.fish.step", "mob.fox.aggro", "mob.fox.ambient", "mob.fox.bite", "mob.fox.death", "mob.fox.eat", "mob.fox.hurt", "mob.fox.screech", "mob.fox.sleep", "mob.fox.sniff", "mob.fox.spit", "mob.ghast.affectionate_scream", "mob.ghast.charge", "mob.ghast.death", "mob.ghast.fireball", "mob.ghast.moan", "mob.ghast.scream", "mob.glow_squid.ambient", "mob.glow_squid.death", "mob.glow_squid.hurt", "mob.glow_squid.ink_squirt", "mob.goat.ambient", "mob.goat.ambient.screamer", "mob.goat.death", "mob.goat.death.screamer", "mob.goat.eat", "mob.goat.hurt", "mob.goat.hurt.screamer", "mob.goat.milk.screamer", "mob.goat.prepare_ram", "mob.goat.prepare_ram.screamer", "mob.goat.ram_impact", "mob.goat.ram_impact.screamer", "mob.goat.step", "mob.guardian.ambient", "mob.guardian.attack_loop", "mob.guardian.death", "mob.guardian.flop", "mob.guardian.hit", "mob.guardian.land_death", "mob.guardian.land_hit", "mob.guardian.land_idle", "mob.hoglin.ambient", "mob.hoglin.angry", "mob.hoglin.attack", "mob.hoglin.death", "mob.hoglin.howl", "mob.hoglin.hurt", "mob.hoglin.retreat", "mob.hoglin.step", "mob.horse.angry", "mob.horse.armor", "mob.horse.breathe", "mob.horse.death", "mob.horse.donkey.angry", "mob.horse.donkey.death", "mob.horse.donkey.hit", "mob.horse.donkey.idle", "mob.horse.eat", "mob.horse.gallop", "mob.horse.hit", "mob.horse.idle", "mob.horse.jump", "mob.horse.land", "mob.horse.leather", "mob.horse.skeleton.death", "mob.horse.skeleton.hit", "mob.horse.skeleton.idle", "mob.horse.soft", "mob.horse.wood", "mob.horse.zombie.death", "mob.horse.zombie.hit", "mob.horse.zombie.idle", "mob.husk.ambient", "mob.husk.death", "mob.husk.hurt", "mob.husk.step", "mob.irongolem.death", "mob.irongolem.hit", "mob.irongolem.throw", "mob.irongolem.walk", "mob.llama.angry", "mob.llama.death", "mob.llama.eat", "mob.llama.hurt", "mob.llama.idle", "mob.llama.spit", "mob.llama.step", "mob.llama.swag", "mob.magmacube.big", "mob.magmacube.jump", "mob.magmacube.small", "mob.mooshroom.convert", "mob.mooshroom.eat", "mob.mooshroom.suspicious_milk", "mob.ocelot.death", "mob.ocelot.idle", "mob.panda.bite", "mob.panda.cant_breed", "mob.panda.death", "mob.panda.eat", "mob.panda.hurt", "mob.panda.idle", "mob.panda.idle.aggressive", "mob.panda.idle.worried", "mob.panda.presneeze", "mob.panda.sneeze", "mob.panda.step", "mob.panda_baby.idle", "mob.parrot.death", "mob.parrot.eat", "mob.parrot.fly", "mob.parrot.hurt", "mob.parrot.idle", "mob.parrot.step", "mob.phantom.bite", "mob.phantom.death", "mob.phantom.flap", "mob.phantom.hurt", "mob.phantom.idle", "mob.phantom.swoop", "mob.pig.boost", "mob.pig.death", "mob.pig.say", "mob.pig.step", "mob.piglin.admiring_item", "mob.piglin.ambient", "mob.piglin.angry", "mob.piglin.celebrate", "mob.piglin.converted_to_zombified", "mob.piglin.death", "mob.piglin.hurt", "mob.piglin.jealous", "mob.piglin.retreat", "mob.piglin.step", "mob.piglin_brute.ambient", "mob.piglin_brute.angry", "mob.piglin_brute.converted_to_zombified", "mob.piglin_brute.death", "mob.piglin_brute.hurt", "mob.piglin_brute.step", "mob.pillager.celebrate", "mob.pillager.death", "mob.pillager.hurt", "mob.pillager.idle", "mob.player.hurt_drown", "mob.player.hurt_freeze", "mob.player.hurt_on_fire", "mob.polarbear.death", "mob.polarbear.hurt", "mob.polarbear.idle", "mob.polarbear.step", "mob.polarbear.warning", "mob.polarbear_baby.idle", "mob.rabbit.death", "mob.rabbit.hop", "mob.rabbit.hurt", "mob.rabbit.idle", "mob.ravager.ambient", "mob.ravager.bite", "mob.ravager.celebrate", "mob.ravager.death", "mob.ravager.hurt", "mob.ravager.roar", "mob.ravager.step", "mob.ravager.stun", "mob.sheep.say", "mob.sheep.shear", "mob.sheep.step", "mob.shulker.ambient", "mob.shulker.bullet.hit", "mob.shulker.close", "mob.shulker.close.hurt", "mob.shulker.death", "mob.shulker.hurt", "mob.shulker.open", "mob.shulker.shoot", "mob.shulker.teleport", "mob.silverfish.hit", "mob.silverfish.kill", "mob.silverfish.say", "mob.silverfish.step", "mob.skeleton.convert_to_stray", "mob.skeleton.death", "mob.skeleton.hurt", "mob.skeleton.say", "mob.skeleton.step", "mob.slime.attack", "mob.slime.big", "mob.slime.death", "mob.slime.hurt", "mob.slime.jump", "mob.slime.small", "mob.slime.squish", "mob.snowgolem.death", "mob.snowgolem.hurt", "mob.snowgolem.shoot", "mob.spider.death", "mob.spider.say", "mob.spider.step", "mob.squid.ambient", "mob.squid.death", "mob.squid.hurt", "mob.squid.ink_squirt", "mob.stray.ambient", "mob.stray.death", "mob.stray.hurt", "mob.stray.step", "mob.strider.death", "mob.strider.eat", "mob.strider.hurt", "mob.strider.idle", "mob.strider.panic", "mob.strider.step", "mob.strider.step_lava", "mob.strider.tempt", "mob.turtle.ambient", "mob.turtle.death", "mob.turtle.hurt", "mob.turtle.step", "mob.turtle.swim", "mob.turtle_baby.born", "mob.turtle_baby.death", "mob.turtle_baby.hurt", "mob.turtle_baby.step", "mob.vex.ambient", "mob.vex.charge", "mob.vex.death", "mob.vex.hurt", "mob.villager.death", "mob.villager.haggle", "mob.villager.hit", "mob.villager.idle", "mob.villager.no", "mob.villager.yes", "mob.vindicator.celebrate", "mob.vindicator.death", "mob.vindicator.hurt", "mob.vindicator.idle", "mob.wanderingtrader.death", "mob.wanderingtrader.disappeared", "mob.wanderingtrader.drink_milk", "mob.wanderingtrader.drink_potion", "mob.wanderingtrader.haggle", "mob.wanderingtrader.hurt", "mob.wanderingtrader.idle", "mob.wanderingtrader.no", "mob.wanderingtrader.reappeared", "mob.wanderingtrader.yes", "mob.witch.ambient", "mob.witch.celebrate", "mob.witch.death", "mob.witch.drink", "mob.witch.hurt", "mob.witch.throw", "mob.wither.ambient", "mob.wither.break_block", "mob.wither.death", "mob.wither.hurt", "mob.wither.shoot", "mob.wither.spawn", "mob.wolf.bark", "mob.wolf.death", "mob.wolf.growl", "mob.wolf.hurt", "mob.wolf.panting", "mob.wolf.shake", "mob.wolf.step", "mob.wolf.whine", "mob.zoglin.angry", "mob.zoglin.attack", "mob.zoglin.death", "mob.zoglin.hurt", "mob.zoglin.idle", "mob.zoglin.step", "mob.zombie.death", "mob.zombie.hurt", "mob.zombie.remedy", "mob.zombie.say", "mob.zombie.step", "mob.zombie.unfect", "mob.zombie.wood", "mob.zombie.woodbreak", "mob.zombie_villager.death", "mob.zombie_villager.hurt", "mob.zombie_villager.say", "mob.zombiepig.zpig", "mob.zombiepig.zpigangry", "mob.zombiepig.zpigdeath", "mob.zombiepig.zpighurt", "music.game", "music.game.basalt_deltas", "music.game.creative", "music.game.credits", "music.game.crimson_forest", "music.game.dripstone_caves", "music.game.end", "music.game.endboss", "music.game.frozen_peaks", "music.game.grove", "music.game.jagged_peaks", "music.game.lush_caves", "music.game.meadow", "music.game.nether", "music.game.nether_wastes", "music.game.snowy_slopes", "music.game.soul_sand_valley", "music.game.soulsand_valley", "music.game.stony_peaks", "music.game.warped_forest", "music.game.water", "music.menu", "note.banjo", "note.bass", "note.bassattack", "note.bd", "note.bell", "note.bit", "note.chime", "note.cow_bell", "note.didgeridoo", "note.flute", "note.guitar", "note.harp", "note.hat", "note.iron_xylophone", "note.pling", "note.snare", "note.xylophone", "particle.soul_escape", "pick_berries.cave_vines", "place.amethyst_block", "place.amethyst_cluster", "place.azalea", "place.azalea_leaves", "place.big_dripleaf", "place.calcite", "place.copper", "place.deepslate", "place.deepslate_bricks", "place.dirt_with_roots", "place.dripstone_block", "place.hanging_roots", "place.large_amethyst_bud", "place.medium_amethyst_bud", "place.moss", "place.pointed_dripstone", "place.powder_snow", "place.small_amethyst_bud", "place.spore_blossom", "place.tuff", "portal.portal", "portal.travel", "portal.trigger", "raid.horn", "random.anvil_break", "random.anvil_land", "random.anvil_use", "random.bow", "random.bowhit", "random.break", "random.burp", "random.chestclosed", "random.chestopen", "random.click", "random.door_close", "random.door_open", "random.drink", "random.drink_honey", "random.eat", "random.enderchestclosed", "random.enderchestopen", "random.explode", "random.fizz", "random.fuse", "random.glass", "random.hurt", "random.levelup", "random.orb", "random.pop", "random.pop2", "random.potion.brewed", "random.screenshot", "random.shulkerboxclosed", "random.shulkerboxopen", "random.splash", "random.swim", "random.toast", "random.totem", "record.11", "record.13", "record.blocks", "record.cat", "record.chirp", "record.far", "record.mall", "record.mellohi", "record.otherside", "record.pigstep", "record.stal", "record.strad", "record.wait", "record.ward", "respawn_anchor.ambient", "respawn_anchor.charge", "respawn_anchor.deplete", "respawn_anchor.set_spawn", "scrape", "sign.dye.use", "sign.ink_sac.use", "smithing_table.use", "step.amethyst_block", "step.amethyst_cluster", "step.ancient_debris", "step.azalea", "step.azalea_leaves", "step.basalt", "step.big_dripleaf", "step.bone_block", "step.calcite", "step.candle", "step.cave_vines", "step.chain", "step.cloth", "step.copper", "step.coral", "step.deepslate", "step.deepslate_bricks", "step.dirt_with_roots", "step.dripstone_block", "step.grass", "step.gravel", "step.hanging_roots", "step.honey_block", "step.ladder", "step.moss", "step.nether_brick", "step.nether_gold_ore", "step.nether_sprouts", "step.nether_wart", "step.netherite", "step.netherrack", "step.nylium", "step.pointed_dripstone", "step.powder_snow", "step.roots", "step.sand", "step.shroomlight", "step.slime", "step.snow", "step.soul_sand", "step.soul_soil", "step.spore_blossom", "step.stem", "step.stone", "step.tuff", "step.vines", "step.wood", "tile.piston.in", "tile.piston.out", "tilt_down.big_dripleaf", "tilt_up.big_dripleaf", "ui.cartography_table.take_result", "ui.loom.select_pattern", "ui.loom.take_result", "ui.stonecutter.take_result", "use.ancient_debris", "use.basalt", "use.bone_block", "use.candle", "use.cave_vines", "use.chain", "use.cloth", "use.copper", "use.coral", "use.deepslate", "use.deepslate_bricks", "use.dirt_with_roots", "use.dripstone_block", "use.grass", "use.gravel", "use.hanging_roots", "use.honey_block", "use.ladder", "use.moss", "use.nether_brick", "use.nether_gold_ore", "use.nether_sprouts", "use.nether_wart", "use.netherite", "use.netherrack", "use.nylium", "use.pointed_dripstone", "use.roots", "use.sand", "use.shroomlight", "use.slime", "use.snow", "use.soul_sand", "use.soul_soil", "use.spore_blossom", "use.stem", "use.stone", "use.vines", "use.wood", "vr.stutterturn" ]
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Types/ResourcePack/Texture.ts
/** * */ export type Texture = string;
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/main.ts
<reponame>Blockception/BC-Minecraft-Bedrock-Vanilla-Data import { MinecraftDataSet } from "./Lib/Types/MinecraftDataSet"; import { Vanilla, Edu, Types, General as G } from "./Lib/include"; import { Identifiable } from "./Lib/Types/Identifiable"; export { MinecraftDataSet, Vanilla, Edu, Types }; /**The minecraft vanilla dataof RP and BP data*/ export namespace MinecraftData { /**The vanilla data set*/ export const vanilla: MinecraftDataSet = { BehaviorPack: { blocks: Vanilla.BehaviorPack.Blocks, entities: Vanilla.BehaviorPack.Entities, items: Vanilla.BehaviorPack.Items, loot_tables: Vanilla.BehaviorPack.LootTables, trading: Vanilla.BehaviorPack.Trading, }, ResourcePack: { animation_controllers: Vanilla.ResourcePack.AnimationControllers, animations: Vanilla.ResourcePack.Animations, entities: Vanilla.ResourcePack.Entities, fogs: Vanilla.ResourcePack.Fogs, materials: Vanilla.ResourcePack.Materials, models: Vanilla.ResourcePack.Models, particles: Vanilla.ResourcePack.Particles, render_controllers: Vanilla.ResourcePack.RenderControllers, sounds: Vanilla.ResourcePack.Sounds, textures: Vanilla.ResourcePack.Textures, }, }; /**The education data set*/ export const edu: MinecraftDataSet = { BehaviorPack: { blocks: Edu.BehaviorPack.Blocks, entities: Edu.BehaviorPack.Entities, items: Edu.BehaviorPack.Items, loot_tables: Edu.BehaviorPack.LootTables, trading: Edu.BehaviorPack.Trading, }, ResourcePack: { animation_controllers: Edu.ResourcePack.AnimationControllers, animations: Edu.ResourcePack.Animations, entities: Edu.ResourcePack.Entities, fogs: Edu.ResourcePack.Fogs, materials: Edu.ResourcePack.Materials, models: Edu.ResourcePack.Models, particles: Edu.ResourcePack.Particles, render_controllers: Edu.ResourcePack.RenderControllers, sounds: Edu.ResourcePack.Sounds, textures: Edu.ResourcePack.Textures, }, }; /**The generalised data set for minecraft*/ export namespace General { /**The summarized data set for blocks*/ export const Blocks = G.BlockData; /**The summarized data set of effects*/ export const Effects: string[] = G.Effects; /**The summarized data set for entities*/ export const Entities = G.EntityData; } /**Access to behaviorpack vanilla data*/ export namespace BehaviorPack { /**Gets the block by the given identification * @param id The identification of the object to find * @param edu Wheter or not to include education data * @returns A object with the specified id or undefined if nothing was found*/ export function getBlock(id: string, edu: boolean = false): Types.BehaviorPack.Block | undefined { return get(id, edu, MinecraftData.vanilla.BehaviorPack.blocks, MinecraftData.edu.BehaviorPack.blocks); } /**Gets the entity by the given identification * @param id The identification of the object to find * @param edu Wheter or not to include education data * @returns A object with the specified id or undefined if nothing was found*/ export function getEntity(id: string, edu: boolean = false): Types.BehaviorPack.Entity | undefined { return get(id, edu, MinecraftData.vanilla.BehaviorPack.entities, MinecraftData.edu.BehaviorPack.entities); } /**Gets the item by the given identification * @param id The identification of the object to find * @param edu Wheter or not to include education data * @returns A object with the specified id or undefined if nothing was found*/ export function getItem(id: string, edu: boolean = false): Types.BehaviorPack.Item | undefined { return get(id, edu, MinecraftData.vanilla.BehaviorPack.items, MinecraftData.edu.BehaviorPack.items); } /**Gets the loot table by the given identification * @param id The identification of the object to find * @param edu Wheter or not to include education data * @returns A object with the specified id or undefined if nothing was found*/ export function getLootTable(id: string, edu: boolean = false): Types.BehaviorPack.LootTable | undefined { return getStr(id, edu, MinecraftData.vanilla.BehaviorPack.loot_tables, MinecraftData.edu.BehaviorPack.loot_tables); } /**Gets the trading by the given identification * @param id The identification of the object to find * @param edu Wheter or not to include education data * @returns A object with the specified id or undefined if nothing was found*/ export function getTrading(id: string, edu: boolean = false): Types.BehaviorPack.Trading | undefined { return getStr(id, edu, MinecraftData.vanilla.BehaviorPack.trading, MinecraftData.edu.BehaviorPack.trading); } /**Returns true or false if the given identification exists * @param id The identification of the object to find * @param edu Wheter or not to include education data * @returns A object with the specified id or undefined if nothing was found*/ export function hasBlock(id: string, edu: boolean = false): boolean { return getBlock(id, edu) !== undefined; } /**Returns true or false if the given identification exists * @param id The identification of the object to find * @param edu Wheter or not to include education data * @returns A object with the specified id or undefined if nothing was found*/ export function hasEntity(id: string, edu: boolean = false): boolean { return getEntity(id, edu) !== undefined; } /**Returns true or false if the given identification exists * @param id The identification of the object to find * @param edu Wheter or not to include education data * @returns A object with the specified id or undefined if nothing was found*/ export function hasItem(id: string, edu: boolean = false): boolean { return getItem(id, edu) !== undefined; } /**Returns true or false if the given identification exists * @param id The identification of the object to find * @param edu Wheter or not to include education data * @returns A object with the specified id or undefined if nothing was found*/ export function hasLootTable(id: string, edu: boolean = false): boolean { return getLootTable(id, edu) !== undefined; } /**Returns true or false if the given identification exists * @param id The identification of the object to find * @param edu Wheter or not to include education data * @returns A object with the specified id or undefined if nothing was found*/ export function hasTrading(id: string, edu: boolean = false): boolean { return getTrading(id, edu) !== undefined; } } /**Access to resourcepack vanilla data*/ export namespace ResourcePack { /**Gets the animation controller by the given identification * @param id The identification of the object to find * @param edu Wheter or not to include education data * @returns A object with the specified id or undefined if nothing was found*/ export function getAnimationController(id: string, edu: boolean = false): Types.ResourcePack.AnimationController | undefined { return getStr(id, edu, MinecraftData.vanilla.ResourcePack.animation_controllers, MinecraftData.edu.ResourcePack.animation_controllers); } /**Gets the animation by the given identification * @param id The identification of the object to find * @param edu Wheter or not to include education data * @returns A object with the specified id or undefined if nothing was found*/ export function getAnimation(id: string, edu: boolean = false): Types.ResourcePack.Animation | undefined { return getStr(id, edu, MinecraftData.vanilla.ResourcePack.animations, MinecraftData.edu.ResourcePack.animations); } /**Gets the animation controller by the given identification * @param id The identification of the object to find * @param edu Wheter or not to include education data * @returns A object with the specified id or undefined if nothing was found*/ export function getEntity(id: string, edu: boolean = false): Types.ResourcePack.Entity | undefined { return get(id, edu, MinecraftData.vanilla.ResourcePack.entities, MinecraftData.edu.ResourcePack.entities); } /**Gets the fog by the given identification * @param id The identification of the object to find * @param edu Wheter or not to include education data * @returns A object with the specified id or undefined if nothing was found*/ export function getFog(id: string, edu: boolean = false): Types.ResourcePack.Fog | undefined { return getStr(id, edu, MinecraftData.vanilla.ResourcePack.fogs, MinecraftData.edu.ResourcePack.fogs); } /**Gets the material by the given identification * @param id The identification of the object to find * @param edu Wheter or not to include education data * @returns A object with the specified id or undefined if nothing was found*/ export function getMaterial(id: string, edu: boolean = false): Types.ResourcePack.Material | undefined { return getStr(id, edu, MinecraftData.vanilla.ResourcePack.materials, MinecraftData.edu.ResourcePack.materials); } /**Gets the model by the given identification * @param id The identification of the object to find * @param edu Wheter or not to include education data * @returns A object with the specified id or undefined if nothing was found*/ export function getModel(id: string, edu: boolean = false): Types.ResourcePack.Model | undefined { return getStr(id, edu, MinecraftData.vanilla.ResourcePack.models, MinecraftData.edu.ResourcePack.models); } /**Gets the particle by the given identification * @param id The identification of the object to find * @param edu Wheter or not to include education data * @returns A object with the specified id or undefined if nothing was found*/ export function getParticle(id: string, edu: boolean = false): Types.ResourcePack.Particle | undefined { return getStr(id, edu, MinecraftData.vanilla.ResourcePack.particles, MinecraftData.edu.ResourcePack.particles); } /**Gets the render controller by the given identification * @param id The identification of the object to find * @param edu Wheter or not to include education data * @returns A object with the specified id or undefined if nothing was found*/ export function getRenderController(id: string, edu: boolean = false): Types.ResourcePack.RenderController | undefined { return getStr(id, edu, MinecraftData.vanilla.ResourcePack.render_controllers, MinecraftData.edu.ResourcePack.render_controllers); } /**Gets the sound by the given identification * @param id The identification of the object to find * @param edu Wheter or not to include education data * @returns A object with the specified id or undefined if nothing was found*/ export function getSound(id: string, edu: boolean = false): Types.ResourcePack.Sound | undefined { return getStr(id, edu, MinecraftData.vanilla.ResourcePack.sounds, MinecraftData.edu.ResourcePack.sounds); } /**Gets the texture by the given identification * @param id The identification of the object to find * @param edu Wheter or not to include education data * @returns A object with the specified id or undefined if nothing was found*/ export function getTexture(id: string, edu: boolean = false): Types.ResourcePack.Texture | undefined { return getStr(id, edu, MinecraftData.vanilla.ResourcePack.textures, MinecraftData.edu.ResourcePack.textures); } /**Returns true or false if the given identification exists * @param id The identification of the object to find * @param edu Wheter or not to include education data * @returns A object with the specified id or undefined if nothing was found*/ export function hasAnimationController(id: string, edu: boolean = false): boolean { return getAnimationController(id, edu) !== undefined; } /**Returns true or false if the given identification exists * @param id The identification of the object to find * @param edu Wheter or not to include education data * @returns A object with the specified id or undefined if nothing was found*/ export function hasAnimation(id: string, edu: boolean = false): boolean { return getAnimation(id, edu) !== undefined; } /**Returns true or false if the given identification exists * @param id The identification of the object to find * @param edu Wheter or not to include education data * @returns A object with the specified id or undefined if nothing was found*/ export function hasEntity(id: string, edu: boolean = false): boolean { return getEntity(id, edu) !== undefined; } /**Returns true or false if the given identification exists * @param id The identification of the object to find * @param edu Wheter or not to include education data * @returns A object with the specified id or undefined if nothing was found*/ export function hasFog(id: string, edu: boolean = false): boolean { return getFog(id, edu) !== undefined; } /**Returns true or false if the given identification exists * @param id The identification of the object to find * @param edu Wheter or not to include education data * @returns A object with the specified id or undefined if nothing was found*/ export function hasMaterial(id: string, edu: boolean = false): boolean { return getMaterial(id, edu) !== undefined; } /**Returns true or false if the given identification exists * @param id The identification of the object to find * @param edu Wheter or not to include education data * @returns A object with the specified id or undefined if nothing was found*/ export function hasModel(id: string, edu: boolean = false): boolean { return getModel(id, edu) !== undefined; } /**Returns true or false if the given identification exists * @param id The identification of the object to find * @param edu Wheter or not to include education data * @returns A object with the specified id or undefined if nothing was found*/ export function hasParticle(id: string, edu: boolean = false): boolean { return getParticle(id, edu) !== undefined; } /**Returns true or false if the given identification exists * @param id The identification of the object to find * @param edu Wheter or not to include education data * @returns A object with the specified id or undefined if nothing was found*/ export function hasRenderController(id: string, edu: boolean = false): boolean { return getRenderController(id, edu) !== undefined; } /**Returns true or false if the given identification exists * @param id The identification of the object to find * @param edu Wheter or not to include education data * @returns A object with the specified id or undefined if nothing was found*/ export function hasSound(id: string, edu: boolean = false): boolean { return getSound(id, edu) !== undefined; } /**Returns true or false if the given identification exists * @param id The identification of the object to find * @param edu Wheter or not to include education data * @returns A object with the specified id or undefined if nothing was found*/ export function hasTexture(id: string, edu: boolean = false): boolean { return getTexture(id, edu) !== undefined; } } } function get<T extends Identifiable>(id: string, includeEdu: boolean, vanilla: T[], edu: T[]): T | undefined { let out = Identifiable.get(vanilla, id); if (out) return out; if (includeEdu) out = Identifiable.get(edu, id); return out; } function getStr(id: string, includeEdu: boolean, vanilla: string[], edu: string[]): string | undefined { if (vanilla.includes(id)) return id; if (includeEdu && edu.includes(id)) return id; return undefined; }
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Types/ResourcePack/Model.ts
<reponame>Blockception/BC-Minecraft-Bedrock-Vanilla-Data<filename>src/Lib/Types/ResourcePack/Model.ts /** * */ export type Model = string;
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Types/MinecraftDataSet.ts
<reponame>Blockception/BC-Minecraft-Bedrock-Vanilla-Data import { BehaviorPack } from "./BehaviorPack/BehaviorPack"; import { Identifiable } from "./Identifiable"; import { ResourcePack } from "./ResourcePack/ResourcePack"; /**A dataset of minecraft data*/ export interface MinecraftDataSet { /**The behavior pack data*/ readonly BehaviorPack: BehaviorPack; /**The resource pack data*/ readonly ResourcePack: ResourcePack; } /**The namespace governing minecraft data sets*/ export namespace MinecraftDataSet { /**Checks whenever a given entity is present in either BP or RP * @param data The data to spit through * @param id The identification to find * @returns True or False if the entity is present or not*/ export function hasEntity(data: MinecraftDataSet, id: string): boolean { if (Identifiable.has(data.BehaviorPack.entities, id)) return true; if (Identifiable.has(data.ResourcePack.entities, id)) return true; return false; } }
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Types/BehaviorPack/include.ts
<reponame>Blockception/BC-Minecraft-Bedrock-Vanilla-Data /* Auto generated */ export * from "./BehaviorPack"; export * from "./Block"; export * from "./Entity"; export * from "./Item"; export * from "./LootTable"; export * from "./Trading";
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Vanilla/ResourcePack/fogs.ts
<reponame>Blockception/BC-Minecraft-Bedrock-Vanilla-Data export const Fogs: string[] = [ "minecraft:fog_bamboo_jungle", "minecraft:fog_bamboo_jungle_hills", "minecraft:fog_basalt_deltas", "minecraft:fog_beach", "minecraft:fog_birch_forest", "minecraft:fog_birch_forest_hills", "minecraft:fog_cold_beach", "minecraft:fog_cold_ocean", "minecraft:fog_cold_taiga", "minecraft:fog_cold_taiga_hills", "minecraft:fog_cold_taiga_mutated", "minecraft:fog_crimson_forest", "minecraft:fog_deep_cold_ocean", "minecraft:fog_deep_frozen_ocean", "minecraft:fog_deep_lukewarm_ocean", "minecraft:fog_deep_ocean", "minecraft:fog_deep_warm_ocean", "minecraft:fog_default", "minecraft:fog_desert", "minecraft:fog_desert_hills", "minecraft:fog_extreme_hills", "minecraft:fog_extreme_hills_edge", "minecraft:fog_extreme_hills_mutated", "minecraft:fog_extreme_hills_plus_trees", "minecraft:fog_extreme_hills_plus_trees_mutated", "minecraft:fog_flower_forest", "minecraft:fog_forest", "minecraft:fog_forest_hills", "minecraft:fog_frozen_ocean", "minecraft:fog_frozen_river", "minecraft:fog_hell", "minecraft:fog_ice_mountains", "minecraft:fog_ice_plains", "minecraft:fog_ice_plains_spikes", "minecraft:fog_jungle", "minecraft:fog_jungle_edge", "minecraft:fog_jungle_hills", "minecraft:fog_jungle_mutated", "minecraft:fog_lukewarm_ocean", "minecraft:fog_mega_spruce_taiga", "minecraft:fog_mega_spruce_taiga_mutated", "minecraft:fog_mega_taiga", "minecraft:fog_mega_taiga_hills", "minecraft:fog_mega_taiga_mutated", "minecraft:fog_mesa", "minecraft:fog_mesa_bryce", "minecraft:fog_mesa_mutated", "minecraft:fog_mesa_plateau", "minecraft:fog_mesa_plateau_stone", "minecraft:fog_mushroom_island", "minecraft:fog_mushroom_island_shore", "minecraft:fog_ocean", "minecraft:fog_plains", "minecraft:fog_powder_snow", "minecraft:fog_river", "minecraft:fog_roofed_forest", "minecraft:fog_savanna", "minecraft:fog_savanna_mutated", "minecraft:fog_savanna_plateau", "minecraft:fog_soulsand_valley", "minecraft:fog_stone_beach", "minecraft:fog_sunflower_plains", "minecraft:fog_swampland", "minecraft:fog_swampland_mutated", "minecraft:fog_taiga", "minecraft:fog_taiga_hills", "minecraft:fog_taiga_mutated", "minecraft:fog_the_end", "minecraft:fog_warm_ocean", "minecraft:fog_warped_forest" ]
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Types/ResourcePack/Animation.ts
<reponame>Blockception/BC-Minecraft-Bedrock-Vanilla-Data /** * */ export type Animation = string;
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Edu/ResourcePack/include.ts
/* Auto generated */ export * from "./animation_controllers"; export * from "./animations"; export * from "./entities"; export * from "./fogs"; export * from "./materials"; export * from "./models"; export * from "./particles"; export * from "./render_controllers"; export * from "./sounds"; export * from "./textures";
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Vanilla/BehaviorPack/trading.ts
<gh_stars>0 export const Trading: string[] = [ "trading/armorer_trades.json", "trading/butcher_trades.json", "trading/cartographer_trades.json", "trading/cleric_trades.json", "trading/economy_trades/armorer_trades.json", "trading/economy_trades/butcher_trades.json", "trading/economy_trades/cartographer_trades.json", "trading/economy_trades/cleric_trades.json", "trading/economy_trades/farmer_trades.json", "trading/economy_trades/fisherman_trades.json", "trading/economy_trades/fletcher_trades.json", "trading/economy_trades/leather_worker_trades.json", "trading/economy_trades/librarian_trades.json", "trading/economy_trades/shepherd_trades.json", "trading/economy_trades/stone_mason_trades.json", "trading/economy_trades/tool_smith_trades.json", "trading/economy_trades/wandering_trader_trades.json", "trading/economy_trades/weapon_smith_trades.json", "trading/farmer_trades.json", "trading/fisherman_trades.json", "trading/fletcher_trades.json", "trading/leather_worker_trades.json", "trading/librarian_trades.json", "trading/shepherd_trades.json", "trading/stone_mason_trades.json", "trading/tool_smith_trades.json", "trading/weapon_smith_trades.json" ]
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Edu/BehaviorPack/include.ts
/* Auto generated */ export * from "./blocks"; export * from "./entities"; export * from "./items"; export * from "./loot_tables"; export * from "./trading";
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Types/ResourcePack/RenderController.ts
/** * */ export type RenderController = string;
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Edu/BehaviorPack/blocks.ts
<filename>src/Lib/Edu/BehaviorPack/blocks.ts<gh_stars>0 import { Block } from '../../Types/BehaviorPack/Block'; export const Blocks: Block[] = [ { "id": "minecraft:camera", "states": [] }, { "id": "minecraft:chemical_heat", "states": [] }, { "id": "minecraft:chemistry_table", "states": [ { "values": [ "compound_creator", "material_reducer", "element_constructor", "lab_table" ], "name": "chemistry_table_type", "type": "string" }, { "values": [ "0", "1", "2", "3" ], "name": "direction", "type": "int" } ] }, { "id": "minecraft:element_0", "states": [] }, { "id": "minecraft:element_1", "states": [] }, { "id": "minecraft:element_10", "states": [] }, { "id": "minecraft:element_100", "states": [] }, { "id": "minecraft:element_101", "states": [] }, { "id": "minecraft:element_102", "states": [] }, { "id": "minecraft:element_103", "states": [] }, { "id": "minecraft:element_104", "states": [] }, { "id": "minecraft:element_105", "states": [] }, { "id": "minecraft:element_106", "states": [] }, { "id": "minecraft:element_107", "states": [] }, { "id": "minecraft:element_108", "states": [] }, { "id": "minecraft:element_109", "states": [] }, { "id": "minecraft:element_11", "states": [] }, { "id": "minecraft:element_110", "states": [] }, { "id": "minecraft:element_111", "states": [] }, { "id": "minecraft:element_112", "states": [] }, { "id": "minecraft:element_113", "states": [] }, { "id": "minecraft:element_114", "states": [] }, { "id": "minecraft:element_115", "states": [] }, { "id": "minecraft:element_116", "states": [] }, { "id": "minecraft:element_117", "states": [] }, { "id": "minecraft:element_118", "states": [] }, { "id": "minecraft:element_12", "states": [] }, { "id": "minecraft:element_13", "states": [] }, { "id": "minecraft:element_14", "states": [] }, { "id": "minecraft:element_15", "states": [] }, { "id": "minecraft:element_16", "states": [] }, { "id": "minecraft:element_17", "states": [] }, { "id": "minecraft:element_18", "states": [] }, { "id": "minecraft:element_19", "states": [] }, { "id": "minecraft:element_2", "states": [] }, { "id": "minecraft:element_20", "states": [] }, { "id": "minecraft:element_21", "states": [] }, { "id": "minecraft:element_22", "states": [] }, { "id": "minecraft:element_23", "states": [] }, { "id": "minecraft:element_24", "states": [] }, { "id": "minecraft:element_25", "states": [] }, { "id": "minecraft:element_26", "states": [] }, { "id": "minecraft:element_27", "states": [] }, { "id": "minecraft:element_28", "states": [] }, { "id": "minecraft:element_29", "states": [] }, { "id": "minecraft:element_3", "states": [] }, { "id": "minecraft:element_30", "states": [] }, { "id": "minecraft:element_31", "states": [] }, { "id": "minecraft:element_32", "states": [] }, { "id": "minecraft:element_33", "states": [] }, { "id": "minecraft:element_34", "states": [] }, { "id": "minecraft:element_35", "states": [] }, { "id": "minecraft:element_36", "states": [] }, { "id": "minecraft:element_37", "states": [] }, { "id": "minecraft:element_38", "states": [] }, { "id": "minecraft:element_39", "states": [] }, { "id": "minecraft:element_4", "states": [] }, { "id": "minecraft:element_40", "states": [] }, { "id": "minecraft:element_41", "states": [] }, { "id": "minecraft:element_42", "states": [] }, { "id": "minecraft:element_43", "states": [] }, { "id": "minecraft:element_44", "states": [] }, { "id": "minecraft:element_45", "states": [] }, { "id": "minecraft:element_46", "states": [] }, { "id": "minecraft:element_47", "states": [] }, { "id": "minecraft:element_48", "states": [] }, { "id": "minecraft:element_49", "states": [] }, { "id": "minecraft:element_5", "states": [] }, { "id": "minecraft:element_50", "states": [] }, { "id": "minecraft:element_51", "states": [] }, { "id": "minecraft:element_52", "states": [] }, { "id": "minecraft:element_53", "states": [] }, { "id": "minecraft:element_54", "states": [] }, { "id": "minecraft:element_55", "states": [] }, { "id": "minecraft:element_56", "states": [] }, { "id": "minecraft:element_57", "states": [] }, { "id": "minecraft:element_58", "states": [] }, { "id": "minecraft:element_59", "states": [] }, { "id": "minecraft:element_6", "states": [] }, { "id": "minecraft:element_60", "states": [] }, { "id": "minecraft:element_61", "states": [] }, { "id": "minecraft:element_62", "states": [] }, { "id": "minecraft:element_63", "states": [] }, { "id": "minecraft:element_64", "states": [] }, { "id": "minecraft:element_65", "states": [] }, { "id": "minecraft:element_66", "states": [] }, { "id": "minecraft:element_67", "states": [] }, { "id": "minecraft:element_68", "states": [] }, { "id": "minecraft:element_69", "states": [] }, { "id": "minecraft:element_7", "states": [] }, { "id": "minecraft:element_70", "states": [] }, { "id": "minecraft:element_71", "states": [] }, { "id": "minecraft:element_72", "states": [] }, { "id": "minecraft:element_73", "states": [] }, { "id": "minecraft:element_74", "states": [] }, { "id": "minecraft:element_75", "states": [] }, { "id": "minecraft:element_76", "states": [] }, { "id": "minecraft:element_77", "states": [] }, { "id": "minecraft:element_78", "states": [] }, { "id": "minecraft:element_79", "states": [] }, { "id": "minecraft:element_8", "states": [] }, { "id": "minecraft:element_80", "states": [] }, { "id": "minecraft:element_81", "states": [] }, { "id": "minecraft:element_82", "states": [] }, { "id": "minecraft:element_83", "states": [] }, { "id": "minecraft:element_84", "states": [] }, { "id": "minecraft:element_85", "states": [] }, { "id": "minecraft:element_86", "states": [] }, { "id": "minecraft:element_87", "states": [] }, { "id": "minecraft:element_88", "states": [] }, { "id": "minecraft:element_89", "states": [] }, { "id": "minecraft:element_9", "states": [] }, { "id": "minecraft:element_90", "states": [] }, { "id": "minecraft:element_91", "states": [] }, { "id": "minecraft:element_92", "states": [] }, { "id": "minecraft:element_93", "states": [] }, { "id": "minecraft:element_94", "states": [] }, { "id": "minecraft:element_95", "states": [] }, { "id": "minecraft:element_96", "states": [] }, { "id": "minecraft:element_97", "states": [] }, { "id": "minecraft:element_98", "states": [] }, { "id": "minecraft:element_99", "states": [] }, { "id": "minecraft:underwater_tnt", "states": [] }, { "id": "minecraft:underwater_torch", "states": [ { "values": [ "unknown", "west", "east", "north", "south", "top" ], "name": "torch_facing_direction", "type": "string" } ] } ]
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Edu/ResourcePack/textures.ts
<filename>src/Lib/Edu/ResourcePack/textures.ts export const Textures: string[] = [ "textures/items/photo", "textures/ui/animation_code_shuffle0", "textures/ui/animation_code_shuffle1", "textures/ui/animation_code_shuffle2", "textures/ui/animation_code_shuffle3", "textures/ui/animation_code_shuffle4", "textures/ui/animation_code_shuffle5", "textures/ui/book_animation", "textures/ui/button_select_corner", "textures/ui/close_code_default", "textures/ui/close_code_hover", "textures/ui/code_azure_notebooks_default", "textures/ui/code_makecode_default", "textures/ui/code_reset_default", "textures/ui/code_reset_hover", "textures/ui/code_tynker_default", "textures/ui/eating_apple", "textures/ui/edu_borderless_button_focus_pressed", "textures/ui/edu_borderless_button_normal_dark", "textures/ui/edu_borderless_button_pressed", "textures/ui/edu_green_tile", "textures/ui/eduicon", "textures/ui/hamburger_icon_default", "textures/ui/hamburger_icon_hover", "textures/ui/home_default", "textures/ui/home_hover", "textures/ui/icon_agent_padded", "textures/ui/icon_biome", "textures/ui/icon_chalkboard", "textures/ui/icon_digital_citizenship", "textures/ui/icon_history", "textures/ui/icon_open_book", "textures/ui/icon_pages", "textures/ui/icon_sel", "textures/ui/joincode_button_background", "textures/ui/left_split_panel_default", "textures/ui/left_split_panel_hover", "textures/ui/lesson_complete/certificate_preview", "textures/ui/library/lessons/computer_science/icon_coding_fundamentals_3", "textures/ui/library/lessons/computer_science/icon_hoc", "textures/ui/library/lessons/computer_science/icon_python", "textures/ui/library/lessons/equity_586x330", "textures/ui/library/lessons/equityInclusion_icon", "textures/ui/library_home_icon", "textures/ui/library_home_icon_hover", "textures/ui/maximize_arrow_default", "textures/ui/maximize_arrow_hover", "textures/ui/newspaper", "textures/ui/portfolio_convertpicture_default", "textures/ui/portfolio_convertpicture_hover", "textures/ui/portfolio_convertpicture_pressed", "textures/ui/refresh_flat", "textures/ui/refresh_flat_hover", "textures/ui/restore_arrow_default", "textures/ui/restore_arrow_hover", "textures/ui/right_split_panel_default", "textures/ui/right_split_panel_hover", "textures/ui/signin_demo_header", "textures/ui/signin_full_header", "textures/ui/title_edu", "textures/ui/view_library_background", "textures/ui/view_worlds_background" ]
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Vanilla/ResourcePack/render_controllers.ts
export const RenderControllers: string[] = [ "controller.render.agent", "controller.render.armor", "controller.render.armor.leather", "controller.render.armor_stand", "controller.render.arrow", "controller.render.axolotl", "controller.render.bat", "controller.render.bee", "controller.render.blaze", "controller.render.bow", "controller.render.cat", "controller.render.chicken", "controller.render.cod", "controller.render.cow", "controller.render.creeper", "controller.render.creeper_armor", "controller.render.crossbow", "controller.render.default", "controller.render.dolphin", "controller.render.donkey.v1.and.v2", "controller.render.donkey.v3", "controller.render.drowned", "controller.render.ender_crystal", "controller.render.ender_dragon_death_main_pass", "controller.render.ender_dragon_death_pre_pass", "controller.render.ender_dragon_default", "controller.render.enderman", "controller.render.endermite", "controller.render.evocation_fang", "controller.render.evoker", "controller.render.experience_bottle", "controller.render.experience_orb", "controller.render.fireball", "controller.render.fireworks_rocket", "controller.render.fishing_hook", "controller.render.fox", "controller.render.ghast", "controller.render.glow_squid", "controller.render.goat", "controller.render.guardian", "controller.render.hoglin", "controller.render.horse.v1.and.v2", "controller.render.horse.v3", "controller.render.husk", "controller.render.iron_golem", "controller.render.item_default", "controller.render.item_sprite", "controller.render.leash_knot", "controller.render.lingering_potion", "controller.render.llama", "controller.render.llama_spit", "controller.render.magma_cube", "controller.render.minecart", "controller.render.mooshroom", "controller.render.mule.v1.and.v2", "controller.render.mule.v3", "controller.render.npc", "controller.render.ocelot", "controller.render.panda", "controller.render.parrot", "controller.render.persona_animated_128x128.first_person", "controller.render.persona_animated_128x128.third_person", "controller.render.persona_animated_32x32.first_person", "controller.render.persona_animated_32x32.third_person", "controller.render.persona_animated_face.first_person", "controller.render.persona_animated_face.third_person", "controller.render.phantom", "controller.render.pig", "controller.render.piglin", "controller.render.piglin_brute", "controller.render.pillager", "controller.render.player.cape", "controller.render.player.first_person", "controller.render.player.map", "controller.render.player.map.persona", "controller.render.player.third_person", "controller.render.polarbear", "controller.render.pufferfish.large", "controller.render.pufferfish.medium", "controller.render.pufferfish.small", "controller.render.rabbit", "controller.render.ravager", "controller.render.salmon", "controller.render.sheep", "controller.render.shulker", "controller.render.shulker_bullet", "controller.render.silverfish", "controller.render.skeleton", "controller.render.skeleton_horse.v1.and.v2", "controller.render.skeleton_horse.v3", "controller.render.slime", "controller.render.slime_armor", "controller.render.snowgolem", "controller.render.spider", "controller.render.splash_potion", "controller.render.squid", "controller.render.stray", "controller.render.stray_clothes", "controller.render.strider", "controller.render.tripod_camera", "controller.render.tropicalfish", "controller.render.turtle", "controller.render.vex", "controller.render.villager", "controller.render.villager.v1.0", "controller.render.villager_v2_base", "controller.render.villager_v2_level", "controller.render.villager_v2_masked", "controller.render.vindicator", "controller.render.wandering_trader", "controller.render.witch", "controller.render.witch.v1.0", "controller.render.wither_boss", "controller.render.wither_boss_armor_blue", "controller.render.wither_boss_armor_white", "controller.render.wither_skeleton", "controller.render.wither_skull", "controller.render.wolf", "controller.render.zoglin", "controller.render.zombie", "controller.render.zombie_horse.v1.and.v2", "controller.render.zombie_horse.v3", "controller.render.zombie_pigman", "controller.render.zombie_villager", "controller.render.zombie_villager_v2_base", "controller.render.zombie_villager_v2_masked" ]
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Edu/BehaviorPack/loot_tables.ts
<reponame>Blockception/BC-Minecraft-Bedrock-Vanilla-Data<gh_stars>0 export const LootTables: string[] = []
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Types/BehaviorPack/Block.ts
import { Identifiable } from "../Identifiable"; /** * */ export interface BlockState { /** * */ name: string; /** * */ type: "byte" | "int" | "string"; /** * */ values: string[]; } /** * */ export namespace BlockState { /** * * @param value * @returns */ export function is(value: any): value is BlockState { if (value) { if (typeof value.name === "string" && typeof value.type === "string" && Array.isArray(value.values)) return true; } return false; } } /**The block interface*/ export interface Block extends Identifiable { /**The state of that this block has*/ states: BlockState[]; } /**The namespace that provides functions for blocks*/ export namespace Block { /**Checks if the given object implements the block interface * @param value The object to check * @returns true or false if the object implements Block */ export function is(value: any): value is Block { if (value) { if (typeof value.id === "string" && Array.isArray(value.states)) return true; } return false; } }
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/General/include.ts
<filename>src/Lib/General/include.ts /* Auto generated */ export * from "./blocks"; export * from "./effects"; export * from "./entities"; export * from "./format";
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Edu/ResourcePack/models.ts
<reponame>Blockception/BC-Minecraft-Bedrock-Vanilla-Data export const Models: string[] = []
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Types/ResourcePack/Sound.ts
<reponame>Blockception/BC-Minecraft-Bedrock-Vanilla-Data /** * */ export type Sound = string;
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Vanilla/ResourcePack/models.ts
export const Models: string[] = [ "geometry.agent", "geometry.armor_stand", "geometry.arrow", "geometry.axolotl", "geometry.bat", "geometry.bed", "geometry.bee", "geometry.blaze", "geometry.bow_pulling_0", "geometry.bow_pulling_1", "geometry.bow_pulling_2", "geometry.bow_standby", "geometry.cape", "geometry.cat", "geometry.chalkboard_large", "geometry.chalkboard_medium", "geometry.chalkboard_small", "geometry.chicken", "geometry.chicken.v1.12", "geometry.cod", "geometry.cow", "geometry.cow.v1.8", "geometry.creeper", "geometry.creeper.charged", "geometry.creeper.charged.v1.8", "geometry.creeper.v1.8", "geometry.crossbow_arrow", "geometry.crossbow_pulling_0", "geometry.crossbow_pulling_1", "geometry.crossbow_pulling_2", "geometry.crossbow_rocket", "geometry.crossbow_standby", "geometry.dolphin", "geometry.dragon", "geometry.dragon_head", "geometry.elytra", "geometry.ender_crystal", "geometry.enderman", "geometry.enderman.v1.8", "geometry.endermite", "geometry.evocation_fang", "geometry.evoker", "geometry.evoker.v1.8", "geometry.experience_orb", "geometry.fireball", "geometry.fireworks_rocket", "geometry.fishing_hook", "geometry.fox", "geometry.ghast", "geometry.glow_squid", "geometry.goat", "geometry.guardian", "geometry.guardian.v1.8", "geometry.hoglin", "geometry.horse", "geometry.horse.v2", "geometry.horse.v3", "geometry.humanoid", "geometry.humanoid.armor.boots", "geometry.humanoid.armor.chestplate", "geometry.humanoid.armor.helmet", "geometry.humanoid.armor.leggings", "geometry.humanoid.armor1", "geometry.humanoid.armor2", "geometry.humanoid.custom", "geometry.humanoid.customSlim", "geometry.irongolem", "geometry.item_sprite", "geometry.lavaslime", "geometry.leash_knot", "geometry.llama", "geometry.llama.v1.8", "geometry.llamaspit", "geometry.minecart", "geometry.minecart.v1.8", "geometry.mob_head", "geometry.mooshroom", "geometry.mooshroom.v1.8", "geometry.npc", "geometry.ocelot", "geometry.ocelot.v1.8", "geometry.panda", "geometry.parrot", "geometry.phantom", "geometry.pig", "geometry.pig.v1.8", "geometry.piglin", "geometry.pigzombie", "geometry.pigzombie.baby", "geometry.pigzombie.baby.v1.8", "geometry.pigzombie.v1.8", "geometry.pillager", "geometry.player.armor.base", "geometry.player.armor.boots", "geometry.player.armor.chestplate", "geometry.player.armor.helmet", "geometry.player.armor.leggings", "geometry.player.armor1", "geometry.player.armor2", "geometry.player_head", "geometry.polarbear", "geometry.pufferfish.large", "geometry.pufferfish.large.v1.8", "geometry.pufferfish.mid", "geometry.pufferfish.mid.v1.8", "geometry.pufferfish.small", "geometry.pufferfish.small.v1.8", "geometry.quadruped", "geometry.rabbit", "geometry.rabbit.v1.8", "geometry.ravager", "geometry.salmon", "geometry.sheep", "geometry.sheep.sheared", "geometry.sheep.sheared.v1.8", "geometry.sheep.v1.8", "geometry.shield", "geometry.shulker", "geometry.shulker.v1.8", "geometry.shulker_bullet", "geometry.silverfish", "geometry.skeleton", "geometry.skeleton.stray", "geometry.skeleton.stray.v1.8", "geometry.skeleton.v1.8", "geometry.skeleton.wither", "geometry.skeleton.wither.v1.8", "geometry.slime", "geometry.slime.armor", "geometry.snowgolem", "geometry.snowgolem.v1.8", "geometry.spider", "geometry.spider.v1.8", "geometry.spyglass", "geometry.squid", "geometry.stray.armor", "geometry.stray.armor.v1.8", "geometry.strider", "geometry.trident", "geometry.tripod_camera", "geometry.tropicalfish_a", "geometry.tropicalfish_b", "geometry.turtle", "geometry.vex", "geometry.vex.v1.8", "geometry.villager", "geometry.villager.v1.8", "geometry.villager.witch", "geometry.villager.witch.v1.8", "geometry.villager_v2", "geometry.vindicator", "geometry.vindicator.v1.8", "geometry.wither_skull", "geometry.witherBoss", "geometry.witherBoss.armor", "geometry.witherBoss.armor.v1.8", "geometry.wolf", "geometry.zombie", "geometry.zombie.drowned", "geometry.zombie.drowned.v1.16", "geometry.zombie.husk", "geometry.zombie.husk.v1.8", "geometry.zombie.v1.8", "geometry.zombie.villager", "geometry.zombie.villager.v1.8", "geometry.zombie.villager_v2" ]
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Vanilla/BehaviorPack/entities.ts
<reponame>Blockception/BC-Minecraft-Bedrock-Vanilla-Data import { Entity } from '../../Types/BehaviorPack/Entity'; export const Entities: Entity[] = [ { "id": "minecraft:area_effect_cloud", "events": [], "families": [] }, { "id": "minecraft:armor_stand", "events": [], "families": [ "armor_stand", "inanimate", "mob" ] }, { "id": "minecraft:arrow", "events": [ "minecraft:entity_spawned" ], "families": [] }, { "id": "minecraft:axolotl", "events": [ "minecraft:entity_spawned", "attack_cooldown_complete_event", "killed_enemy_event", "minecraft:entity_born", "minecraft:ageable_grow_up", "stop_drying_out", "start_drying_out", "dried_out", "recover_after_dried_out", "enter_water" ], "families": [ "axolotl", "mob" ] }, { "id": "minecraft:bat", "events": [], "families": [ "bat", "mob" ] }, { "id": "minecraft:bee", "events": [ "minecraft:entity_spawned", "minecraft:entity_born", "minecraft:ageable_grow_up", "minecraft:exited_disturbed_hive", "hive_destroyed", "stop_panicking_after_fire", "minecraft:exited_hive_on_fire", "minecraft:exited_hive", "minecraft:hive_full", "attacked", "calmed_down", "collected_nectar", "find_hive_event", "find_hive_timeout", "find_flower_timeout", "seek_shelter", "abort_sheltering", "countdown_to_perish_event", "perish_event" ], "families": [ "bee", "mob", "arthropod", "pacified" ] }, { "id": "minecraft:blaze", "events": [ "minecraft:entity_spawned", "switch_to_melee", "switch_to_ranged", "minecraft:on_hurt_event" ], "families": [ "blaze", "monster", "mob" ] }, { "id": "minecraft:boat", "events": [ "minecraft:entered_bubble_column_down", "minecraft:entered_bubble_column_up", "minecraft:exited_bubble_column", "minecraft:sink" ], "families": [ "boat", "inanimate" ] }, { "id": "minecraft:cat", "events": [ "minecraft:entity_spawned", "minecraft:spawn_from_village", "minecraft:spawn_midnight_cat", "minecraft:entity_born", "minecraft:ageable_grow_up", "minecraft:on_tame", "minecraft:pet_slept_with_owner", "minecraft:cat_gifted_owner" ], "families": [ "cat", "mob" ] }, { "id": "minecraft:cave_spider", "events": [ "minecraft:entity_spawned", "minecraft:become_hostile", "minecraft:become_neutral", "minecraft:become_angry", "minecraft:on_calm" ], "families": [ "cavespider", "monster", "arthropod", "mob" ] }, { "id": "minecraft:chest_minecart", "events": [], "families": [ "minecart", "inanimate" ] }, { "id": "minecraft:chicken", "events": [ "from_egg", "minecraft:entity_spawned", "minecraft:entity_born", "minecraft:ageable_grow_up", "minecraft:spawn_adult" ], "families": [ "chicken", "mob" ] }, { "id": "minecraft:cod", "events": [], "families": [ "cod", "fish" ] }, { "id": "minecraft:command_block_minecart", "events": [ "minecraft:entity_spawned", "minecraft:command_block_activate", "minecraft:command_block_deactivate" ], "families": [ "minecart", "inanimate" ] }, { "id": "minecraft:cow", "events": [ "minecraft:entity_spawned", "minecraft:entity_born", "minecraft:entity_transformed", "minecraft:ageable_grow_up", "minecraft:spawn_adult" ], "families": [ "cow", "mob" ] }, { "id": "minecraft:creeper", "events": [ "minecraft:start_exploding_forced", "minecraft:start_exploding", "minecraft:stop_exploding", "minecraft:become_charged" ], "families": [ "creeper", "monster", "mob" ] }, { "id": "minecraft:dolphin", "events": [ "minecraft:entity_spawned", "ageable_grow_up", "become_angry", "on_calm", "stop_dryingout", "start_dryingout", "dried_out", "recover_after_dried_out", "navigation_on_land", "navigation_off_land" ], "families": [ "dolphin", "mob" ] }, { "id": "minecraft:donkey", "events": [ "minecraft:entity_spawned", "minecraft:entity_born", "minecraft:on_tame", "minecraft:ageable_grow_up", "minecraft:on_chest", "minecraft:donkey_saddled", "minecraft:donkey_unsaddled" ], "families": [ "donkey", "mob" ] }, { "id": "minecraft:dragon_fireball", "events": [], "families": [] }, { "id": "minecraft:drowned", "events": [ "minecraft:entity_spawned", "minecraft:as_baby", "minecraft:as_adult", "minecraft:switch_to_melee", "minecraft:switch_to_ranged", "minecraft:has_target", "minecraft:lost_target" ], "families": [ "drowned", "zombie", "undead", "monster", "mob" ] }, { "id": "minecraft:egg", "events": [], "families": [] }, { "id": "minecraft:elder_guardian", "events": [], "families": [ "guardian_elder", "monster", "mob" ] }, { "id": "minecraft:ender_crystal", "events": [ "minecraft:crystal_explode" ], "families": [] }, { "id": "minecraft:ender_dragon", "events": [ "minecraft:entity_spawned", "minecraft:start_land", "minecraft:start_fly", "minecraft:start_death" ], "families": [ "dragon", "mob" ] }, { "id": "minecraft:ender_pearl", "events": [ "minecraft:entity_spawned" ], "families": [] }, { "id": "minecraft:enderman", "events": [ "minecraft:entity_spawned", "minecraft:become_angry", "minecraft:on_calm" ], "families": [ "enderman", "monster", "mob" ] }, { "id": "minecraft:endermite", "events": [], "families": [ "endermite", "arthropod", "monster", "lightweight", "mob" ] }, { "id": "minecraft:evocation_illager", "events": [ "minecraft:spawn_for_raid", "minecraft:start_celebrating", "minecraft:stop_celebrating", "minecraft:raid_expired" ], "families": [ "evocation_illager", "monster", "illager", "mob" ] }, { "id": "minecraft:eye_of_ender_signal", "events": [], "families": [] }, { "id": "minecraft:falling_block", "events": [], "families": [] }, { "id": "minecraft:fireball", "events": [ "minecraft:explode" ], "families": [] }, { "id": "minecraft:fireworks_rocket", "events": [], "families": [] }, { "id": "minecraft:fishing_hook", "events": [ "minecraft:entity_spawned" ], "families": [] }, { "id": "minecraft:fox", "events": [ "minecraft:entity_spawned", "minecraft:entity_born", "minecraft:ageable_grow_up", "minecraft:fox_configure_thunderstorm", "minecraft:fox_configure_day", "minecraft:fox_configure_night", "minecraft:ambient_normal", "minecraft:ambient_sleep", "minecraft:ambient_night", "minecraft:fox_configure_defending", "minecraft:fox_configure_docile_day", "minecraft:fox_configure_docile_night" ], "families": [ "fox", "lightweight", "mob" ] }, { "id": "minecraft:ghast", "events": [], "families": [ "ghast", "monster", "mob" ] }, { "id": "minecraft:glow_squid", "events": [ "minecraft:entity_spawned" ], "families": [ "squid", "mob" ] }, { "id": "minecraft:goat", "events": [ "minecraft:entity_spawned", "minecraft:entity_born", "minecraft:born_default", "minecraft:born_screamer", "minecraft:ageable_grow_up", "start_event", "attack_cooldown_complete_event" ], "families": [ "goat", "animal" ] }, { "id": "minecraft:guardian", "events": [ "minecraft:target_too_close", "minecraft:target_far_enough" ], "families": [ "guardian", "monster", "mob" ] }, { "id": "minecraft:hoglin", "events": [ "minecraft:entity_spawned", "minecraft:entity_born", "spawn_adult", "spawn_baby", "stop_zombification_event", "become_zombie_event", "start_zombification_event", "spawn_adult_unhuntable", "minecraft:ageable_grow_up", "become_angry_event", "become_calm_event", "escaped_event", "attack_cooldown_complete_event" ], "families": [ "hoglin", "hoglin_baby", "mob", "hoglin_adult", "hoglin_huntable" ] }, { "id": "minecraft:hopper_minecart", "events": [ "minecraft:entity_spawned", "minecraft:hopper_activate", "minecraft:hopper_deactivate" ], "families": [ "minecart", "inanimate" ] }, { "id": "minecraft:horse", "events": [ "minecraft:entity_spawned", "minecraft:entity_born", "minecraft:on_tame", "minecraft:ageable_grow_up", "minecraft:horse_saddled", "minecraft:horse_unsaddled", "minecraft:make_white", "minecraft:make_creamy", "minecraft:make_chestnut", "minecraft:make_brown", "minecraft:make_black", "minecraft:make_gray", "minecraft:make_darkbrown" ], "families": [ "horse", "mob" ] }, { "id": "minecraft:husk", "events": [ "minecraft:entity_spawned", "minecraft:start_transforming", "minecraft:stop_transforming", "minecraft:convert_to_zombie" ], "families": [ "husk", "zombie", "undead", "monster", "mob" ] }, { "id": "minecraft:iron_golem", "events": [ "minecraft:from_player", "minecraft:from_village" ], "families": [ "irongolem", "mob" ] }, { "id": "minecraft:item", "events": [], "families": [] }, { "id": "minecraft:lightning_bolt", "events": [], "families": [ "lightning" ] }, { "id": "minecraft:lingering_potion", "events": [], "families": [] }, { "id": "minecraft:llama", "events": [ "minecraft:entity_spawned", "minecraft:entity_born", "minecraft:from_wandering_trader", "minecraft:ageable_grow_up", "minecraft:on_tame", "minecraft:join_caravan", "minecraft:leave_caravan", "minecraft:mad_at_wolf", "minecraft:defend_wandering_trader", "minecraft:become_angry", "minecraft:on_calm", "minecraft:on_chest", "minecraft:add_attributes", "minecraft:spawn_baby", "minecraft:spawn_adult" ], "families": [ "llama", "mob" ] }, { "id": "minecraft:llama_spit", "events": [], "families": [] }, { "id": "minecraft:magma_cube", "events": [ "minecraft:entity_spawned", "minecraft:become_calm", "minecraft:become_aggressive" ], "families": [ "magmacube", "monster", "mob" ] }, { "id": "minecraft:minecart", "events": [], "families": [ "minecart", "inanimate" ] }, { "id": "minecraft:mooshroom", "events": [ "become_cow", "minecraft:entity_spawned", "minecraft:entity_born", "minecraft:ageable_grow_up", "minecraft:flowerless", "minecraft:ate_allium", "minecraft:ate_cornflower", "minecraft:ate_lily", "minecraft:ate_rose", "minecraft:ate_orchid", "minecraft:ate_daisy", "minecraft:ate_tulip", "minecraft:ate_bluet", "minecraft:ate_poppy", "minecraft:ate_dandelion", "minecraft:become_red", "minecraft:become_brown", "minecraft:become_brown_adult", "minecraft:become_red_adult" ], "families": [ "mushroomcow", "mob" ] }, { "id": "minecraft:mule", "events": [ "minecraft:entity_spawned", "minecraft:entity_born", "minecraft:on_tame", "minecraft:ageable_grow_up", "minecraft:on_chest", "minecraft:mule_saddled", "minecraft:mule_unsaddled" ], "families": [ "mule", "mob" ] }, { "id": "minecraft:ocelot", "events": [ "minecraft:entity_spawned", "minecraft:entity_born", "minecraft:entity_born_wild", "minecraft:ageable_grow_up", "minecraft:on_trust", "minecraft:on_leash", "minecraft:on_unleash" ], "families": [ "ocelot", "mob" ] }, { "id": "minecraft:panda", "events": [ "minecraft:entity_spawned", "minecraft:entity_born", "minecraft:ageable_grow_up", "minecraft:panda_lazy", "minecraft:panda_worried", "minecraft:panda_playful", "minecraft:panda_brown", "minecraft:panda_weak", "minecraft:panda_aggressive", "minecraft:on_scared", "minecraft:baby_on_calm", "minecraft:become_angry", "minecraft:on_calm" ], "families": [ "panda", "panda_aggressive", "mob" ] }, { "id": "minecraft:parrot", "events": [ "minecraft:entity_spawned", "minecraft:on_tame" ], "families": [ "parrot_wild", "mob", "parrot_tame" ] }, { "id": "minecraft:phantom", "events": [], "families": [ "phantom", "undead", "monster", "mob" ] }, { "id": "minecraft:pig", "events": [ "become_zombie", "minecraft:entity_spawned", "minecraft:entity_born", "minecraft:ageable_grow_up", "minecraft:on_saddled", "minecraft:spawn_adult" ], "families": [ "pig", "mob" ] }, { "id": "minecraft:piglin", "events": [ "minecraft:entity_spawned", "minecraft:entity_born", "spawn_adult_no_hunting", "spawn_adult", "spawn_adult_ranged", "spawn_adult_ranged_no_hunting", "spawn_adult_melee", "spawn_adult_melee_no_hunting", "spawn_baby", "stop_zombification_event", "start_zombification_event", "become_angry_event", "become_calm_event", "attack_cooldown_complete_event", "become_zombie_event", "important_block_destroyed_event", "admire_item_started_event", "admire_item_stopped_event" ], "families": [ "piglin", "piglin_hunter", "monster" ] }, { "id": "minecraft:piglin_brute", "events": [ "minecraft:entity_spawned", "stop_zombification_event", "start_zombification_event", "become_angry_event", "become_calm_event", "become_zombie_event", "important_block_destroyed_event", "go_back_to_spawn_failed" ], "families": [ "piglin", "adult_piglin", "piglin_brute", "monster" ] }, { "id": "minecraft:pillager", "events": [ "minecraft:entity_spawned", "minecraft:spawn_for_raid", "minecraft:spawn_as_patrol_follower", "minecraft:spawn_as_illager_captain", "minecraft:promote_to_illager_captain", "minecraft:promote_to_patrol_captain", "minecraft:melee_mode", "minecraft:ranged_mode", "minecraft:start_celebrating", "minecraft:stop_celebrating", "minecraft:raid_expired", "minecraft:calm" ], "families": [ "pillager", "monster", "illager", "mob" ] }, { "id": "minecraft:player", "events": [ "minecraft:gain_bad_omen", "minecraft:clear_add_bad_omen", "minecraft:trigger_raid", "minecraft:remove_raid_trigger" ], "families": [ "player" ] }, { "id": "minecraft:polar_bear", "events": [ "minecraft:entity_spawned", "minecraft:entity_born", "minecraft:ageable_grow_up", "minecraft:on_calm", "minecraft:on_anger", "minecraft:baby_on_calm", "minecraft:on_scared" ], "families": [ "polarbear", "mob" ] }, { "id": "minecraft:pufferfish", "events": [ "minecraft:entity_spawned", "minecraft:to_full_puff", "minecraft:start_half_puff", "minecraft:on_half_puff", "minecraft:start_full_puff", "minecraft:on_full_puff", "minecraft:from_full_puff", "minecraft:on_deflate", "minecraft:on_normal_puff" ], "families": [ "pufferfish", "fish" ] }, { "id": "minecraft:rabbit", "events": [ "in_desert", "in_snow", "minecraft:entity_spawned", "minecraft:entity_born", "grow_up" ], "families": [ "rabbit", "lightweight", "mob" ] }, { "id": "minecraft:ravager", "events": [ "minecraft:entity_spawned", "minecraft:spawn_for_raid", "minecraft:spawn_for_raid_with_evoker_rider", "minecraft:spawn_for_raid_with_pillager_rider", "minecraft:spawn_with_pillager_rider", "minecraft:spawn_with_pillager_captain_rider", "minecraft:spawn_with_vindicator_rider", "minecraft:spawn_with_vindicator_captain_rider", "minecraft:become_stunned", "minecraft:start_roar", "minecraft:end_roar", "minecraft:start_celebrating", "minecraft:stop_celebrating", "minecraft:raid_expired" ], "families": [ "monster", "illager", "ravager", "mob" ] }, { "id": "minecraft:salmon", "events": [ "minecraft:entity_spawned" ], "families": [ "salmon", "fish" ] }, { "id": "minecraft:sheep", "events": [ "minecraft:entity_spawned", "spawn_adult", "spawn_baby", "minecraft:entity_born", "minecraft:ageable_grow_up", "minecraft:on_sheared", "minecraft:on_eat_block", "wololo" ], "families": [ "sheep", "mob" ] }, { "id": "minecraft:shulker", "events": [ "minecraft:entity_spawned", "minecraft:turn_purple", "minecraft:turn_black", "minecraft:turn_blue", "minecraft:turn_brown", "minecraft:turn_cyan", "minecraft:turn_gray", "minecraft:turn_green", "minecraft:turn_light_blue", "minecraft:turn_lime", "minecraft:turn_magenta", "minecraft:turn_orange", "minecraft:turn_pink", "minecraft:turn_red", "minecraft:turn_silver", "minecraft:turn_white", "minecraft:turn_yellow" ], "families": [ "shulker", "monster", "mob" ] }, { "id": "minecraft:shulker_bullet", "events": [], "families": [] }, { "id": "minecraft:silverfish", "events": [ "minecraft:entity_spawned", "minecraft:become_angry", "minecraft:on_calm" ], "families": [ "silverfish", "monster", "lightweight", "mob", "arthropod" ] }, { "id": "minecraft:skeleton", "events": [ "minecraft:entity_spawned", "become_stray_event", "got_in_powder_snow", "got_out_of_powder_snow", "minecraft:spring_trap", "minecraft:melee_mode", "minecraft:ranged_mode" ], "families": [ "skeleton", "undead", "monster", "mob" ] }, { "id": "minecraft:skeleton_horse", "events": [ "minecraft:entity_spawned", "minecraft:set_trap", "minecraft:spring_trap" ], "families": [ "skeletonhorse", "undead", "mob" ] }, { "id": "minecraft:slime", "events": [ "minecraft:entity_spawned", "minecraft:become_calm", "minecraft:become_aggressive" ], "families": [ "slime", "monster", "mob" ] }, { "id": "minecraft:small_fireball", "events": [], "families": [] }, { "id": "minecraft:snow_golem", "events": [ "minecraft:on_sheared" ], "families": [ "snowgolem", "mob" ] }, { "id": "minecraft:snowball", "events": [], "families": [] }, { "id": "minecraft:spider", "events": [ "minecraft:entity_spawned", "minecraft:become_hostile", "minecraft:become_neutral", "minecraft:become_angry", "minecraft:become_calm" ], "families": [ "spider", "monster", "mob", "arthropod" ] }, { "id": "minecraft:splash_potion", "events": [], "families": [] }, { "id": "minecraft:squid", "events": [ "minecraft:entity_spawned" ], "families": [ "squid", "mob" ] }, { "id": "minecraft:stray", "events": [ "minecraft:entity_spawned", "change_to_skeleton", "minecraft:melee_mode", "minecraft:ranged_mode" ], "families": [ "stray", "skeleton", "monster", "mob", "undead" ] }, { "id": "minecraft:strider", "events": [ "minecraft:entity_spawned", "minecraft:entity_born", "spawn_adult", "spawn_adult_parent_jockey", "spawn_adult_piglin_jockey", "spawn_baby", "minecraft:ageable_grow_up", "minecraft:on_saddled", "start_suffocating", "stop_suffocating" ], "families": [ "strider", "mob", "strider_baby", "strider_adult" ] }, { "id": "minecraft:thrown_trident", "events": [], "families": [] }, { "id": "minecraft:tnt", "events": [ "from_explosion" ], "families": [ "tnt", "inanimate" ] }, { "id": "minecraft:tnt_minecart", "events": [ "minecraft:entity_spawned", "minecraft:on_prime", "minecraft:on_instant_prime" ], "families": [ "minecart", "inanimate" ] }, { "id": "minecraft:tropicalfish", "events": [ "minecraft:become_anenonme", "minecraft:become_black_tang", "minecraft:become_blue_dory", "minecraft:become_butterfly_fish", "minecraft:become_cichlid", "minecraft:become_clownfish", "minecraft:become_cc_betta", "minecraft:become_dog_fish", "minecraft:become_e_red_snapper", "minecraft:become_goat_fish", "minecraft:become_moorish_idol", "minecraft:become_ornate_butterfly", "minecraft:become_parrot_fish", "minecraft:become_queen_angel_fish", "minecraft:become_red_cichlid", "minecraft:become_red_lipped_benny", "minecraft:become_red_snapper", "minecraft:become_threadfin", "minecraft:become_tomato_clown", "minecraft:become_triggerfish", "minecraft:become_yellow_tang", "minecraft:become_yellow_tail_parrot", "minecraft:entity_spawned" ], "families": [ "tropicalfish", "fish" ] }, { "id": "minecraft:turtle", "events": [ "minecraft:entity_spawned", "minecraft:entity_born", "minecraft:ageable_grow_up", "minecraft:become_pregnant", "minecraft:go_lay_egg", "minecraft:laid_egg" ], "families": [ "turtle", "baby_turtle", "mob" ] }, { "id": "minecraft:vex", "events": [], "families": [ "vex", "monster", "mob" ] }, { "id": "minecraft:villager", "events": [ "become_witch", "become_zombie", "minecraft:entity_spawned", "minecraft:entity_transformed", "minecraft:entity_born", "minecraft:spawn_farmer", "minecraft:spawn_librarian", "minecraft:spawn_cleric", "minecraft:spawn_armorer", "minecraft:spawn_butcher", "minecraft:ageable_grow_up", "minecraft:become_cleric" ], "families": [ "villager", "mob", "peasant", "farmer", "fisherman", "shepherd", "fletcher", "librarian", "cartographer", "priest", "cleric", "blacksmith", "armorer", "weaponsmith", "toolsmith", "artisan", "butcher", "leatherworker" ] }, { "id": "minecraft:villager_v2", "events": [ "become_witch", "become_zombie", "minecraft:entity_spawned", "minecraft:spawn_from_village", "minecraft:entity_transformed", "minecraft:entity_born", "minecraft:spawn_farmer", "minecraft:spawn_librarian", "minecraft:spawn_cleric", "minecraft:spawn_armorer", "minecraft:spawn_butcher", "minecraft:ageable_grow_up", "minecraft:become_unskilled", "minecraft:become_cleric", "minecraft:become_farmer", "minecraft:become_fisherman", "minecraft:become_fletcher", "minecraft:become_librarian", "minecraft:become_cartographer", "minecraft:become_armorer", "minecraft:become_weaponsmith", "minecraft:become_toolsmith", "minecraft:become_butcher", "minecraft:become_leatherworker", "minecraft:become_sheperd", "minecraft:become_mason", "minecraft:schedule_wander_villager", "minecraft:schedule_gather_villager", "minecraft:schedule_home_villager", "minecraft:schedule_bed_villager", "minecraft:schedule_play_villager", "minecraft:schedule_work_pro_villager", "minecraft:schedule_work_farmer", "minecraft:schedule_work_fisher", "minecraft:schedule_work_librarian", "minecraft:resupply_trades" ], "families": [ "villager", "mob", "peasant", "farmer", "fisherman", "shepherd", "fletcher", "librarian", "cartographer", "priest", "cleric", "blacksmith", "armorer", "weaponsmith", "toolsmith", "artisan", "butcher", "leatherworker", "stone_mason", "nitwit" ] }, { "id": "minecraft:vindicator", "events": [ "minecraft:entity_spawned", "minecraft:spawn_as_patrol_follower", "minecraft:become_aggro", "minecraft:stop_aggro", "minecraft:start_johnny", "minecraft:stop_johnny", "minecraft:spawn_for_raid", "minecraft:spawn_as_illager_captain", "minecraft:promote_to_illager_captain", "minecraft:promote_to_patrol_captain", "minecraft:start_celebrating", "minecraft:stop_celebrating", "minecraft:raid_expired" ], "families": [ "vindicator", "monster", "illager", "mob" ] }, { "id": "minecraft:wandering_trader", "events": [ "minecraft:scheduled", "minecraft:start_despawn", "minecraft:become_scared", "minecraft:become_calm" ], "families": [ "wandering_trader", "mob", "wandering_trader_despawning" ] }, { "id": "minecraft:witch", "events": [ "minecraft:spawn_for_raid", "minecraft:start_celebrating", "minecraft:stop_celebrating", "minecraft:raid_expired" ], "families": [ "witch", "monster", "mob" ] }, { "id": "minecraft:wither", "events": [ "minecraft:entity_spawned" ], "families": [ "wither", "skeleton", "monster", "undead", "mob" ] }, { "id": "minecraft:wither_skeleton", "events": [ "minecraft:entity_spawned" ], "families": [ "wither", "monster", "undead", "skeleton", "mob" ] }, { "id": "minecraft:wither_skull", "events": [ "minecraft:explode" ], "families": [] }, { "id": "minecraft:wither_skull_dangerous", "events": [ "minecraft:explode" ], "families": [] }, { "id": "minecraft:wolf", "events": [ "minecraft:entity_spawned", "minecraft:entity_born", "minecraft:ageable_grow_up", "minecraft:ageable_set_baby", "minecraft:on_tame", "minecraft:become_angry", "minecraft:on_calm" ], "families": [ "wolf", "mob" ] }, { "id": "minecraft:xp_bottle", "events": [], "families": [] }, { "id": "minecraft:xp_orb", "events": [], "families": [] }, { "id": "minecraft:zoglin", "events": [ "minecraft:entity_transformed", "minecraft:entity_spawned", "minecraft:as_adult", "minecraft:as_baby" ], "families": [ "zoglin", "zoglin_baby", "undead", "mob", "zoglin_adult" ] }, { "id": "minecraft:zombie", "events": [ "minecraft:entity_spawned", "minecraft:as_adult", "minecraft:as_baby", "minecraft:start_transforming", "minecraft:stop_transforming", "minecraft:convert_to_drowned" ], "families": [ "zombie", "undead", "monster", "mob" ] }, { "id": "minecraft:zombie_horse", "events": [ "minecraft:entity_spawned", "minecraft:ageable_grow_up" ], "families": [ "zombiehorse", "undead", "mob" ] }, { "id": "minecraft:zombie_pigman", "events": [ "minecraft:entity_transformed", "minecraft:entity_spawned", "minecraft:on_calm", "minecraft:become_angry", "minecraft:spawn_as_strider_jockey" ], "families": [ "zombie_pigman", "undead", "monster", "mob" ] }, { "id": "minecraft:zombie_villager", "events": [ "villager_converted", "minecraft:entity_spawned", "minecraft:entity_transformed", "minecraft:become_cleric", "from_village" ], "families": [ "farmer", "zombie", "zombie_villager", "undead", "monster", "mob", "fisherman", "shepherd", "fletcher", "librarian", "cartographer", "cleric", "armorer", "weaponsmith", "toolsmith", "butcher", "leatherworker" ] }, { "id": "minecraft:zombie_villager_v2", "events": [ "villager_converted", "minecraft:entity_spawned", "minecraft:spawn_skilled_adult", "minecraft:entity_transformed", "minecraft:become_cleric", "from_village", "minecraft:add_biome_and_skin" ], "families": [ "unskilled", "zombie", "zombie_villager", "undead", "monster", "mob", "nitwit", "farmer", "fisherman", "shepherd", "fletcher", "librarian", "cartographer", "cleric", "armorer", "weaponsmith", "toolsmith", "butcher", "leatherworker", "stone_mason" ] } ]
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Edu/ResourcePack/materials.ts
<reponame>Blockception/BC-Minecraft-Bedrock-Vanilla-Data<gh_stars>0 export const Materials: string[] = []
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
test/contents/general/effect.test.ts
<gh_stars>0 import { expect } from "chai"; import { MinecraftData } from "../../../src/main"; describe("General", () => { it("effect", () => { expect(MinecraftData.General.Effects).to.not.undefined; expect(MinecraftData.General.Effects.length).to.be.greaterThan(0); }); });
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Types/ResourcePack/Particle.ts
/** * */ export type Particle = string;
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Vanilla/BehaviorPack/loot_tables.ts
export const LootTables: string[] = [ "loot_tables/chests/abandoned_mineshaft.json", "loot_tables/chests/bastion_bridge.json", "loot_tables/chests/bastion_hoglin_stable.json", "loot_tables/chests/bastion_other.json", "loot_tables/chests/bastion_treasure.json", "loot_tables/chests/buriedtreasure.json", "loot_tables/chests/desert_pyramid.json", "loot_tables/chests/dispenser_trap.json", "loot_tables/chests/end_city_treasure.json", "loot_tables/chests/igloo_chest.json", "loot_tables/chests/jungle_temple.json", "loot_tables/chests/monster_room.json", "loot_tables/chests/nether_bridge.json", "loot_tables/chests/pillager_outpost.json", "loot_tables/chests/ruined_portal.json", "loot_tables/chests/shipwreck.json", "loot_tables/chests/shipwrecksupply.json", "loot_tables/chests/shipwrecktreasure.json", "loot_tables/chests/simple_dungeon.json", "loot_tables/chests/spawn_bonus_chest.json", "loot_tables/chests/stronghold_corridor.json", "loot_tables/chests/stronghold_crossing.json", "loot_tables/chests/stronghold_library.json", "loot_tables/chests/underwater_ruin_big.json", "loot_tables/chests/underwater_ruin_small.json", "loot_tables/chests/village/village_armorer.json", "loot_tables/chests/village/village_butcher.json", "loot_tables/chests/village/village_cartographer.json", "loot_tables/chests/village/village_desert_house.json", "loot_tables/chests/village/village_fletcher.json", "loot_tables/chests/village/village_mason.json", "loot_tables/chests/village/village_plains_house.json", "loot_tables/chests/village/village_savanna_house.json", "loot_tables/chests/village/village_shepherd.json", "loot_tables/chests/village/village_snowy_house.json", "loot_tables/chests/village/village_taiga_house.json", "loot_tables/chests/village/village_tannery.json", "loot_tables/chests/village/village_temple.json", "loot_tables/chests/village/village_toolsmith.json", "loot_tables/chests/village/village_weaponsmith.json", "loot_tables/chests/village_blacksmith.json", "loot_tables/chests/village_two_room_house.json", "loot_tables/chests/woodland_mansion.json", "loot_tables/empty.json", "loot_tables/entities/armor_set_chain.json", "loot_tables/entities/armor_set_diamond.json", "loot_tables/entities/armor_set_gold.json", "loot_tables/entities/armor_set_iron.json", "loot_tables/entities/armor_set_leather.json", "loot_tables/entities/armor_stand.json", "loot_tables/entities/bat.json", "loot_tables/entities/blaze.json", "loot_tables/entities/boat.json", "loot_tables/entities/brown_mooshroom_shear.json", "loot_tables/entities/cat.json", "loot_tables/entities/cat_gift.json", "loot_tables/entities/cave_spider.json", "loot_tables/entities/chicken.json", "loot_tables/entities/clownfish.json", "loot_tables/entities/cow.json", "loot_tables/entities/creeper.json", "loot_tables/entities/dolphin.json", "loot_tables/entities/drowned.json", "loot_tables/entities/drowned_equipment.json", "loot_tables/entities/drowned_ranged_equipment.json", "loot_tables/entities/elder_guardian.json", "loot_tables/entities/enderman.json", "loot_tables/entities/endermite.json", "loot_tables/entities/evocation_illager.json", "loot_tables/entities/fish.json", "loot_tables/entities/fox_equipment.json", "loot_tables/entities/ghast.json", "loot_tables/entities/giant.json", "loot_tables/entities/glow_squid.json", "loot_tables/entities/goat.json", "loot_tables/entities/guardian.json", "loot_tables/entities/hoglin.json", "loot_tables/entities/horse.json", "loot_tables/entities/iron_golem.json", "loot_tables/entities/llama.json", "loot_tables/entities/magma_cube.json", "loot_tables/entities/mooshroom.json", "loot_tables/entities/mooshroom_shear.json", "loot_tables/entities/ocelot.json", "loot_tables/entities/panda.json", "loot_tables/entities/panda_sneeze.json", "loot_tables/entities/parrot.json", "loot_tables/entities/phantom.json", "loot_tables/entities/pig.json", "loot_tables/entities/pig_saddled.json", "loot_tables/entities/piglin_barter.json", "loot_tables/entities/piglin_brute_gear.json", "loot_tables/entities/piglin_gear_melee.json", "loot_tables/entities/piglin_gear_ranged.json", "loot_tables/entities/pillager.json", "loot_tables/entities/pillager_captain_equipment.json", "loot_tables/entities/pillager_gear.json", "loot_tables/entities/pillager_raid.json", "loot_tables/entities/polar_bear.json", "loot_tables/entities/pufferfish.json", "loot_tables/entities/rabbit.json", "loot_tables/entities/raider_drops.json", "loot_tables/entities/ravager.json", "loot_tables/entities/salmon_large.json", "loot_tables/entities/salmon_normal.json", "loot_tables/entities/sea_turtle.json", "loot_tables/entities/sheep.json", "loot_tables/entities/sheep_shear.json", "loot_tables/entities/sheep_sheared.json", "loot_tables/entities/shulker.json", "loot_tables/entities/silverfish.json", "loot_tables/entities/skeleton.json", "loot_tables/entities/skeleton_gear.json", "loot_tables/entities/skeleton_horse.json", "loot_tables/entities/slime.json", "loot_tables/entities/snow_golem_shear.json", "loot_tables/entities/snowman.json", "loot_tables/entities/spider.json", "loot_tables/entities/squid.json", "loot_tables/entities/stray.json", "loot_tables/entities/strider.json", "loot_tables/entities/strider_saddled.json", "loot_tables/entities/tropicalfish.json", "loot_tables/entities/vex_gear.json", "loot_tables/entities/vindication_illager.json", "loot_tables/entities/vindicator_captain_equipment.json", "loot_tables/entities/vindicator_gear.json", "loot_tables/entities/vindicator_raid.json", "loot_tables/entities/witch.json", "loot_tables/entities/wither_boss.json", "loot_tables/entities/wither_skeleton.json", "loot_tables/entities/wither_skeleton_gear.json", "loot_tables/entities/wolf.json", "loot_tables/entities/zoglin.json", "loot_tables/entities/zombie.json", "loot_tables/entities/zombie_equipment.json", "loot_tables/entities/zombie_horse.json", "loot_tables/entities/zombie_pigman.json", "loot_tables/entities/zombie_pigman_gear.json", "loot_tables/entities/zombified_piglin_rider_gear.json", "loot_tables/equipment/low_tier_items.json", "loot_tables/gameplay/entities/mooshroom_milking.json", "loot_tables/gameplay/fishing.json", "loot_tables/gameplay/fishing/fish.json", "loot_tables/gameplay/fishing/jungle_fish.json", "loot_tables/gameplay/fishing/jungle_junk.json", "loot_tables/gameplay/fishing/junk.json", "loot_tables/gameplay/fishing/treasure.json", "loot_tables/gameplay/jungle_fishing.json" ]
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Edu/ResourcePack/fogs.ts
<gh_stars>0 export const Fogs: string[] = []
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Edu/ResourcePack/particles.ts
export const Particles: string[] = []
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Types/ResourcePack/Fog.ts
/** * */ export type Fog = string;
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Edu/BehaviorPack/entities.ts
<filename>src/Lib/Edu/BehaviorPack/entities.ts<gh_stars>0 import { Entity } from '../../Types/BehaviorPack/Entity'; export const Entities: Entity[] = [ { "id": "minecraft:agent", "events": [], "families": [] }, { "id": "minecraft:balloon", "events": [], "families": [] }, { "id": "minecraft:chalkboard", "events": [], "families": [] }, { "id": "minecraft:npc", "events": [], "families": [] }, { "id": "minecraft:tripod_camera", "events": [], "families": [] } ]
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Types/ResourcePack/ResourcePack.ts
import { Animation } from "./Animation"; import { AnimationController } from "./AnimationController"; import { Entity } from "./Entity"; import { Fog } from "./Fog"; import { Material } from "./Material"; import { Model } from "./Model"; import { Particle } from "./Particle"; import { RenderController } from "./RenderController"; import { Sound } from "./Sound"; import { Texture } from "./Texture"; /**The interface that stores vanilla resource pack data*/ export interface ResourcePack { /**The collection of animation controllers*/ readonly animation_controllers: AnimationController[]; /**The collection of animations*/ readonly animations: Animation[]; /**The collection of entities*/ readonly entities: Entity[]; /**The collection of fogs*/ readonly fogs: Fog[]; /**The collection of materials*/ readonly materials: Material[]; /**The collection of models*/ readonly models: Model[]; /**The collection of particles*/ readonly particles: Particle[]; /**The collection of render controllers*/ readonly render_controllers: RenderController[]; /**The collection of sounds*/ readonly sounds: Sound[]; /**The collection of textures*/ readonly textures: Texture[]; }
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Types/ResourcePack/include.ts
<filename>src/Lib/Types/ResourcePack/include.ts /* Auto generated */ export * from "./Animation"; export * from "./AnimationController"; export * from "./Entity"; export * from "./Fog"; export * from "./Material"; export * from "./Model"; export * from "./Particle"; export * from "./RenderController"; export * from "./ResourcePack"; export * from "./Sound"; export * from "./Texture";
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Types/include.ts
<reponame>Blockception/BC-Minecraft-Bedrock-Vanilla-Data /* Auto generated */ export * as BehaviorPack from "./BehaviorPack/include"; export * as ResourcePack from "./ResourcePack/include"; export * from "./Identifiable"; export * from "./MinecraftDataSet";
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Edu/ResourcePack/render_controllers.ts
<reponame>Blockception/BC-Minecraft-Bedrock-Vanilla-Data<gh_stars>0 export const RenderControllers: string[] = []
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
test/contents/sanity.ts
<filename>test/contents/sanity.ts import { expect } from "chai"; import { MinecraftData } from "../../src/main"; describe("Sanity", () => { it("No undefined", () => { const object = MinecraftData; traverse_for_undefined(object, "MinecraftData"); }); }); function traverse_for_undefined(data: any, path: string): void { const names = Object.getOwnPropertyNames(data); for (var I = 0; I < names.length; I++) { const name = names[I]; const item = data[name]; const t = typeof item; expect(t).to.not.equal(undefined, "found an undefined object in object: " + path + " property: " + name); if (t === "object") traverse_for_undefined(item, path + "." + name); } }
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Types/BehaviorPack/LootTable.ts
/** * */ export type LootTable = string;
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/Edu/ResourcePack/entities.ts
import { Entity } from '../../Types/ResourcePack/Entity'; export const Entities: Entity[] = []
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
test/contents/general/content.test.ts
<gh_stars>0 import { expect } from "chai"; import { MinecraftData } from "../../../src/main"; describe("Lib", () => { it("entity 1", () => { const entity = MinecraftData.BehaviorPack.getEntity("minecraft:creeper"); if (!entity) { expect.fail("Expected an entity object"); } }); it("entity edu", () => { const entity = MinecraftData.BehaviorPack.getEntity("minecraft:agent", true); if (!entity) { expect.fail("Expected an entity object"); } }); //This is expected to fail it("entity edu fail", () => { const entity = MinecraftData.BehaviorPack.getEntity("minecraft:agent", false); if (entity) { expect.fail("Expected not an entity object"); } }); });
Blockception/BC-Minecraft-Bedrock-Vanilla-Data
src/Lib/General/format.ts
import { BlockState } from "../Types/BehaviorPack/Block"; /**The summarized data set for blocks in minecraft*/ export interface GeneralBlock { /**summarized data set of blockstates*/ blockstates: BlockState[]; } /**Summarized data set for entities in minecraft*/ export interface GeneralEntity { /**summarized data set of entity events*/ events: string[]; /**summarized data set of entity families*/ families: string[]; }
quicker-js/class-decorator
src/metadatas/index.ts
<gh_stars>0 /** * metadata * 元数据的基础模型 */ export * from './class-metadata'; export * from './declaration-metadata'; export * from './property-metadata'; export * from './method-metadata'; export * from './parameter-metadata';
quicker-js/class-decorator
sample/simple-girl.ts
import { entity } from '../src/decorators'; import { SimplePerson } from './simple-person'; @entity({ title: 'SimplePerson' }) /** * SimpleUsage1 */ export class SimpleGirl extends SimplePerson {}
quicker-js/class-decorator
test/simple-usage-1.spec.ts
<reponame>quicker-js/class-decorator import 'reflect-metadata'; import { describe, it } from 'mocha'; import { expect } from 'chai'; import { ClassMirror, PropertyMirror } from '../src'; import { SimpleUsage1 } from '../sample/simple-usage-1'; describe('simple-usage-1.spec.ts', () => { const classMirror = ClassMirror.reflect(SimpleUsage1); it('should match members length.', function () { expect(classMirror.parentClassMirror).eq(null); // 成员 const propertiesMirrors = classMirror.getProperties(); const staticPropertiesMirrors = classMirror.getStaticProperties(); const propertiesMirrorsFromAll = classMirror.getAllProperties(); expect(propertiesMirrors.size).eq(2); expect(propertiesMirrorsFromAll.size).eq(2); expect(staticPropertiesMirrors.size).eq(1); // 方法 const methodMirrors = classMirror.getMethods(); const staticMethodMirrors = classMirror.getStaticMethods(); const methodMirrorsFromAll = classMirror.getAllMethods(); expect(methodMirrors.size).eq(3); expect(staticMethodMirrors.size).eq(3); expect(methodMirrorsFromAll.size).eq(3); // 因为构造函数未使用参数装饰器 所以是0 expect(classMirror.getParameters().size).eq(0); expect(classMirror.getDesignParamTypes()).instanceof(Array); // 获取构造函数参数的数量可以使用此方法 但是必须使用了类装饰器/或者参数装饰器 否则获取不到 expect(classMirror.getDesignParamTypes().length).eq(1); const propertyMirror = PropertyMirror.reflect(SimpleUsage1, 'name'); if (propertyMirror) { // 获取当前类中指定成员的元数据数量 expect(propertyMirror.metadata.size).eq(1); // 获取指定成员的元数据数量 包含父类 expect(propertyMirror.getAllMetadata().length).eq(1); } }); });
quicker-js/class-decorator
sample/index.ts
<reponame>quicker-js/class-decorator<filename>sample/index.ts import { SimpleUsage1 } from './simple-usage-1'; SimpleUsage1.getMetadataKeys();
quicker-js/class-decorator
src/decorators/entity/index.ts
import { ClassMirror } from '../../mirrors'; import { Metadata, MetadataOption } from './metadata'; /** * @hide * entity 装饰器 * @param metadata */ export function entity(metadata: MetadataOption): ClassDecorator { return ClassMirror.createDecorator(new Metadata(metadata)); }
quicker-js/class-decorator
sample/simple-usage-3.ts
<reponame>quicker-js/class-decorator import { entity, param } from '../src/decorators'; import { SimpleUsage2 } from './simple-usage-2'; @entity({ title: 'SimpleUsage3' }) /** * SimpleUsage1 */ export class SimpleUsage3 extends SimpleUsage2 { /** * test * @param path * @param index */ public constructor(@param path: string, @param public index: number) { super(path); } }
quicker-js/class-decorator
test/simple-usage-3.spec.ts
import 'reflect-metadata'; import { describe, it } from 'mocha'; import { expect } from 'chai'; import { ClassMirror } from '../src'; import { SimpleUsage3 } from '../sample/simple-usage-3'; describe('simple-usage-3.spec.ts', () => { const classMirror = ClassMirror.reflect(SimpleUsage3); it('should match members length. ', function () { expect(classMirror.parentClassMirror).instanceof(ClassMirror); expect(classMirror.getParameters().size).eq(2); }); });
quicker-js/class-decorator
src/mirrors/declaration-mirror/index.ts
<reponame>quicker-js/class-decorator import { DeclarationMetadata } from '../../metadatas'; import { ClassConstructor } from '../../interfaces'; /** * @class DeclarationMirror */ export abstract class DeclarationMirror<T extends DeclarationMetadata = any> { /** * metadata collection * 元数据集合 */ public readonly metadata: Set<T> = new Set(); /** * target * Mirror映射的目标 */ public target: Object; /** * 获取元数据集合 不包含父类 * @param type 类型, 参数继承至 `MethodMetadata`。 */ public getMetadata<M extends T = T>(type?: ClassConstructor<M>): M[] { const metadataList = Array.from<any>(this.metadata.values()); if (type) { return metadataList.filter((o) => o instanceof type) as M[]; } return metadataList as M[]; } }
quicker-js/class-decorator
src/decorators/request/metadata.ts
import { MethodMetadata } from '../../metadatas'; /** * 元数据 */ export class Metadata<T = MetadataOption> extends MethodMetadata<T> {} export interface MetadataOption { readonly path?: string; readonly method?: string; }
quicker-js/class-decorator
src/metadatas/parameter-metadata/index.ts
<reponame>quicker-js/class-decorator import { DeclarationMetadata } from '../declaration-metadata'; import { ClassMirror, MethodMirror } from '../../mirrors'; /** * @class ParameterMetadata */ export class ParameterMetadata<T = any> extends DeclarationMetadata<T> { /** * classMirror * 元数据所属的 ClassMirror */ public classMirror: ClassMirror; /** * methodMirror * 元数据所属的 MethodMirror */ public methodMirror: MethodMirror; /** * propertyKey * 元数据所属的 key 名称 */ public propertyKey: string | symbol; /** * index * 元数据所在的参数位置 */ public index: number; }
quicker-js/class-decorator
src/metadatas/property-metadata/index.ts
<gh_stars>0 import { DeclarationMetadata } from '../declaration-metadata'; import { ClassMirror } from '../../mirrors'; /** * @class PropertyMetadata */ export class PropertyMetadata<T = any> extends DeclarationMetadata<T> { /** * classMirror * 元数据所属的 ClassMirror */ public classMirror: ClassMirror; /** * propertyKey * 元数据所属的 key 名称 */ public propertyKey: string | symbol; }
quicker-js/class-decorator
src/metadatas/class-metadata/index.ts
import { DeclarationMetadata } from '../declaration-metadata'; import { ClassMirror } from '../../mirrors'; /** * class元数据 * @class ClassMetadata */ export abstract class ClassMetadata<T = any> extends DeclarationMetadata<T> { /** * classMirror * 元数据所属的ClassMirror */ public classMirror: ClassMirror; }
quicker-js/class-decorator
src/mirrors/method-mirror/index.ts
import { DeclarationMirror } from '../declaration-mirror'; import { ClassMirror } from '../class-mirror'; import { MethodMetadata, ParameterMetadata } from '../../metadatas'; import { ParameterMirror } from '../parameter-mirror'; import { ClassConstructor } from '../../interfaces'; /** * @class MethodMirror * 方法反射 */ export class MethodMirror< T extends MethodMetadata = any, D = any > extends DeclarationMirror<T> { /** * 创建方法装饰器 * @param metadata * 使用此方法可以创建一个成员方法装饰器, metadata 必须继承至MethodMetadata对象 */ public static createDecorator(metadata: MethodMetadata): MethodDecorator { return <T>( target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor<T> ): TypedPropertyDescriptor<T> => { // 是类 const isStatic: boolean = ClassMirror.isStaticMember(target, propertyKey); const classMirror = ClassMirror.reflect( isStatic ? (target as Function) : target.constructor ); classMirror.target = isStatic ? target : target.constructor; // 获取 MethodMirror const methodMirror = classMirror.getMirror<MethodMirror>(propertyKey, isStatic) || new MethodMirror(); // 设置基本属性 methodMirror.isStatic = isStatic; methodMirror.classMirror = classMirror; methodMirror.propertyKey = propertyKey; methodMirror.descriptor = descriptor; methodMirror.target = target; // metadata信息设置 metadata.classMirror = classMirror; metadata.propertyKey = propertyKey; metadata.descriptor = descriptor; metadata.target = target; // 反向映射元数据至 MethodMirror Reflect.defineMetadata( metadata, methodMirror, isStatic ? target : target.constructor ); // 设置元数据 methodMirror.metadata.add(metadata); // 添加mirror classMirror.setMirror(propertyKey, methodMirror, isStatic); // 定义类元数据 Reflect.defineMetadata( ClassMirror, classMirror, isStatic ? target : target.constructor ); // 定义 MethodMirror 元数据 Reflect.defineMetadata(MethodMirror, methodMirror, target, propertyKey); // 定义函数名称元数据 Reflect.defineMetadata(descriptor.value, methodMirror, target); return descriptor; }; } /** * 使用函数名称查找映射数据 * @param type * @param method * @param isStatic */ public static reflect<T extends Function>( type: T, method: string | symbol, isStatic?: boolean ): MethodMirror | undefined; /** * 使用函数查找映射数据 * @param type * @param method * @param isStatic * * 使用此方法可以目标类上的函数所映射的MethodMirror实例 具体使用方法请查阅test/index.spec.ts文件. */ public static reflect<T extends Function>( type: T, method: (...args: any[]) => any, isStatic?: boolean ): MethodMirror | undefined; /** * 实现方法 * @param type * @param method * @param isStatic */ public static reflect<T extends Function>( type: T, method: unknown, isStatic?: boolean ): MethodMirror | undefined { if (typeof method === 'string' || typeof method === 'symbol') { return Reflect.getMetadata( MethodMirror, isStatic ? type : type.prototype, method ) as MethodMirror; } return Reflect.getMetadata( method, isStatic ? type : type.prototype ) as MethodMirror; } /** * classMirror * 当前Mirror所属的ClassMirror */ public classMirror: ClassMirror; /** * propertyKey * 当前Mirror所属target成员上的key名称 */ public propertyKey: string | symbol; /** * parameters * 当前Mirror的所有参数ParameterMirror集合 */ private parameters: Map<number, ParameterMirror> = new Map(); /** * descriptor * 当前参数的 descriptor */ public descriptor: D; /** * isStatic * 是否为静态成员 */ public isStatic: boolean; /** * 获取所有元数据 包含父类 * @param type 类型, 参数继承至 `MethodMetadata`。 */ public getAllMetadata<M extends T = T>(type?: ClassConstructor<M>): M[] { if (this.isStatic) { return this.getMetadata(type); } const list: M[] = []; this.classMirror .getAllMirrors<MethodMirror<M>>(MethodMirror) .forEach((o) => { if (o.propertyKey === this.propertyKey) { const metadata = o.getMetadata(type); list.push(...metadata); } }); return list; } /** * 获取所有参数装饰器 */ public getParameters(): Map<number, ParameterMirror> { return new Map(this.parameters.entries()); } /** * 获取指定位置的参数装饰器反射, 不包含父类(基类). * @param index 装饰器位置 */ public getParameter<T extends ParameterMetadata = ParameterMetadata>( index: number ): ParameterMirror<T> { return this.parameters.get(index) as ParameterMirror<T>; } /** * 设置指定位置的参数装饰器反射, 不包含父类(基类). * @param index * @param mirror */ public setParameter<T extends ParameterMirror>( index: number, mirror: T ): Map<number, ParameterMirror> { return this.parameters.set(index, mirror); } /** * 获取参数的类型映射列表 * 包含该函数上的所有参数 * 返回数组的下标 对应ParameterMirror的index属性 */ public getDesignParamTypes(): Function[] { return Reflect.getMetadata( 'design:paramtypes', this.target, this.propertyKey ) as Function[]; } /** * 获取返回类型 */ public getReturnType(): Function | undefined { return Reflect.getMetadata( 'design:returntype', this.target, this.propertyKey ) as Function; } }
quicker-js/class-decorator
src/decorators/param/index.ts
<filename>src/decorators/param/index.ts /** * @hide * 参数装饰器示例 */ import { ParameterMirror } from '../../mirrors'; import { Metadata, MetadataOption } from './metadata'; /** * 无参装饰器 * @param target * @param propertyKey * @param parameterIndex */ export function param( target: Object, propertyKey: string | symbol, parameterIndex: number ): void; /** * 带参数装饰器 * @param option */ export function param(option: MetadataOption): ParameterDecorator; /** * 装饰器实现 * @param args */ export function param(...args: unknown[]): ParameterDecorator | void { if (args.length === 1) { const [option] = args as [MetadataOption]; return ParameterMirror.createDecorator(new Metadata(option)); } else { const [target, propertyKey, parameterIndex] = args as [ Object, string | symbol, number ]; return ParameterMirror.createDecorator(new Metadata(null))( target, propertyKey, parameterIndex ); } }
quicker-js/class-decorator
src/metadatas/method-metadata/index.ts
<filename>src/metadatas/method-metadata/index.ts import { DeclarationMetadata } from '../declaration-metadata'; import { ClassMirror } from '../../mirrors'; /** * @class MethodMetadata * 方法元数据 */ export class MethodMetadata<T = any, D = any> extends DeclarationMetadata<T> { /** * classMirror * 元数据所属的ClassMirror */ public classMirror: ClassMirror; /** * propertyKey * 元数据的key名称 */ public propertyKey: string | symbol; /** * descriptor * 元数据的descriptor Object.getOwnPropertyDescriptor 的返回值 */ public descriptor: D; }
quicker-js/class-decorator
src/index.ts
<reponame>quicker-js/class-decorator export * from './mirrors'; export * from './interfaces'; export * from './metadatas';
quicker-js/class-decorator
sample/simple-usage-2.ts
import { entity, param, property, request } from '../src/decorators'; import { SimpleGirl } from './simple-girl'; import { SimpleBoy } from './simple-boy'; import { SimpleUsage1 } from './simple-usage-1'; @entity({ title: 'SimpleUsage2' }) /** * SimpleUsage1 */ export class SimpleUsage2 extends SimpleUsage1 { @property({ title: 'SimpleUsage2', }) public name = 'zhangsan'; @property public girl: SimpleGirl; @property public boy: SimpleBoy; /** * 测试实例成员函数run * @param path * @param test */ @request({ path: '/run', method: 'post', }) public run( @param({ path: 'param.run' }) path: string, @param test: number ): string { return this.name + path + test.toString(); } }
quicker-js/class-decorator
test/simple-boy.spec.ts
import 'reflect-metadata'; import { describe, it } from 'mocha'; import { expect } from 'chai'; import { ClassMirror } from '../src'; import { SimpleBoy } from '../sample/simple-boy'; describe('simple-boy.spec.ts', () => { const classMirror = ClassMirror.reflect(SimpleBoy); it('should match members length.', function () { // 获取方法成员 含父类 const methodMirrorsFromAll = classMirror.getAllMethods(); // 获取属性成员 含父类 const propertiesMirrorsFromAll = classMirror.getAllProperties(); // 获取静态方法成员 不含父类 const staticMethodMirrors = classMirror.getStaticMethods(); // 获取静态属性成员 不含父类 const staticPropertiesMirrors = classMirror.getStaticProperties(); // 实例成员方法 不含父类 const methodMirrors = classMirror.getMethods(); // 实例属性成员 不含父类 const propertiesMirrors = classMirror.getProperties(); // 当前类 静态 expect(staticMethodMirrors).instanceof(Map); expect(staticMethodMirrors.size).eq(0); expect(staticPropertiesMirrors).instanceof(Map); expect(staticPropertiesMirrors.size).eq(0); // 当前类 非静态 expect(methodMirrors).instanceof(Map); expect(methodMirrors.size).eq(0); expect(propertiesMirrors).instanceof(Map); expect(propertiesMirrors.size).eq(1); // 含父类 非静态 expect(methodMirrorsFromAll).instanceof(Map); expect(methodMirrorsFromAll.size).eq(0); expect(propertiesMirrorsFromAll).instanceof(Map); expect(propertiesMirrorsFromAll.size).eq(4); }); it('should has parent ClassMirror.', function () { expect(classMirror.parentClassMirror).instanceof(ClassMirror); }); });
quicker-js/class-decorator
src/decorators/entity/metadata.ts
import { ClassMetadata } from '../../metadatas'; /** * 元数据 */ export class Metadata<T = MetadataOption> extends ClassMetadata<T> {} export interface MetadataOption { readonly title: string; }
quicker-js/class-decorator
src/interfaces/index.ts
<reponame>quicker-js/class-decorator export * from './class-constructor';
quicker-js/class-decorator
src/metadatas/declaration-metadata/index.ts
<filename>src/metadatas/declaration-metadata/index.ts /** * 声明元数据 */ export abstract class DeclarationMetadata<T = any> { /** * target * 元数据目标 */ public target: Object; /** * constructor * 构造函数 * @param metadata 元数据对象 */ public constructor(public metadata: T) {} }
quicker-js/class-decorator
src/decorators/index.ts
<reponame>quicker-js/class-decorator /** * decorators */ export * from './property'; export * from './entity'; export * from './param'; export * from './request';
quicker-js/class-decorator
test/simple-usage-2.spec.ts
<reponame>quicker-js/class-decorator<gh_stars>0 import 'reflect-metadata'; import { describe, it } from 'mocha'; import { expect } from 'chai'; import { ClassMirror, MethodMirror, PropertyMirror } from '../src'; import { SimpleUsage2 } from '../sample/simple-usage-2'; describe('simple-usage-2.spec.ts', () => { const classMirror = ClassMirror.reflect(SimpleUsage2); it('should match members length.', function () { expect(classMirror.parentClassMirror).instanceof(ClassMirror); // 成员 const propertiesMirrors = classMirror.getProperties(); const staticPropertiesMirrors = classMirror.getStaticProperties(); const propertiesMirrorsFromAll = classMirror.getAllProperties(); expect(propertiesMirrors.size).eq(3); expect(propertiesMirrorsFromAll.size).eq(4); expect(staticPropertiesMirrors.size).eq(0); // 方法 const methodMirrors = classMirror.getMethods(); const staticMethodMirrors = classMirror.getStaticMethods(); const methodMirrorsFromAll = classMirror.getAllMethods(); expect(methodMirrors.size).eq(1); expect(staticMethodMirrors.size).eq(0); expect(methodMirrorsFromAll.size).eq(3); const propertyMirror = PropertyMirror.reflect(SimpleUsage2, 'name'); if (propertyMirror) { // 包含父类的一个装饰器 总共两个装饰器 expect(propertyMirror.getAllMetadata().length).eq(2); // 不包含父类 所以只有一个装饰器 expect(propertyMirror.metadata.size).eq(1); } }); it('should MethodMirror.reflect return MethodMirror.', function () { const methodMirror = MethodMirror.reflect(SimpleUsage2, 'run'); if (methodMirror) { // 不包含父类 只有一个 expect(methodMirror.metadata.size).eq(1); // 包含父类的装饰器 总共2个 expect(methodMirror.getAllMetadata().length).eq(2); // 该函数的返回值为String expect(methodMirror.getReturnType()).eq(String); } const methodMirror1 = MethodMirror.reflect( SimpleUsage2, SimpleUsage2.run, true ); const methodMirror2 = MethodMirror.reflect(SimpleUsage2, 'run', true); // 上面两种方式获取映射的 MethodMirror 其实是SimpleUsage2同一个静态方法 所以MethodMirror也是同一个 expect(methodMirror1).eq(methodMirror2); if (methodMirror1) { // 此方法只有一个装饰器 expect(methodMirror1.metadata.size).eq(1); // 此方法是静态方法,就算父类有相同的静态方法,allMetadata 也不会包含父类的元数据 expect(methodMirror1.getAllMetadata().length).eq( methodMirror1.metadata.size ); } }); });
quicker-js/class-decorator
src/mirrors/index.ts
<reponame>quicker-js/class-decorator<filename>src/mirrors/index.ts export * from './class-mirror'; export * from './declaration-mirror'; export * from './method-mirror'; export * from './property-mirror'; export * from './parameter-mirror';
quicker-js/class-decorator
sample/simple-boy.ts
<reponame>quicker-js/class-decorator import { entity, property } from '../src/decorators'; import { SimplePerson } from './simple-person'; @entity({ title: 'SimplePerson' }) /** * SimpleUsage1 */ export class SimpleBoy extends SimplePerson { @property public age: number; }
quicker-js/class-decorator
src/decorators/property/metadata.ts
<gh_stars>0 import { PropertyMetadata } from '../../metadatas'; /** * Metadata */ export class Metadata<T = MetadataOption> extends PropertyMetadata<T> {} export interface MetadataOption { readonly title?: string; }
pvince/exegesis
test/integration/integrationTest.ts
<reponame>pvince/exegesis import { expect } from 'chai'; import * as http from 'http'; import * as path from 'path'; import { makeFetch } from 'supertest-fetch'; import * as exegesis from '../../src'; async function sessionAuthenticator( context: exegesis.ExegesisPluginContext ): Promise<exegesis.AuthenticationResult | undefined> { const session = context.req.headers.session; if (!session || typeof session !== 'string') { return undefined; } if (session === 'lame') { return { type: 'success', user: { name: '<NAME>' }, roles: [], }; } else if (session === 'secret') { return { type: 'success', user: { name: 'jwalton' }, roles: ['readWrite', 'admin'], }; } else { throw context.makeError(403, 'Invalid session.'); } } async function createServer(options: exegesis.ExegesisOptions) { const middleware = await exegesis.compileApi( path.resolve(__dirname, './openapi.yaml'), options ); const server = http.createServer((req, res) => middleware!(req, res, err => { // if(err instanceof exegesis.ValidationError) { // res.writeHead(err.status); // res.end(JSON.stringify({message: err.message, errors: err.errors})); // } else if(err instanceof exegesis.HttpError) { // res.writeHead(err.status); // res.end(JSON.stringify({message: err.message})); // } else if(err) { if (err) { console.error(err.stack); // tslint:disable-line no-console res.writeHead(500); res.end(`Internal error: ${err.message}`); } else { res.writeHead(404); res.end(); } }) ); return server; } describe('integration test', function() { beforeEach(async function() { this.server = await createServer({ controllers: path.resolve(__dirname, './controllers'), authenticators: { sessionKey: sessionAuthenticator, }, controllersPattern: '**/*.@(ts|js)', }); }); afterEach(function() { if (this.server) { this.server.close(); } }); describe('parameters', function() { it('should succesfully call an API', async function() { const fetch = makeFetch(this.server); await fetch(`/greet?name=Jason`) .expect(200) .expect('content-type', 'application/json') .expectBody({ greeting: 'Hello, Jason!' }); }); it('should return an error for missing parameters', async function() { const fetch = makeFetch(this.server); await fetch(`/greet`) .expect(400) .expect('content-type', 'application/json') .expectBody({ message: 'Validation errors', errors: [ { message: 'Missing required query parameter "name"', location: { docPath: '/paths/~1greet/get/parameters/0', in: 'query', name: 'name', path: '', }, }, ], }); }); it('should return an error for invalid parameters', async function() { const fetch = makeFetch(this.server); await fetch(`/greet?name=A`) .expect(400) .expect('content-type', 'application/json') .expectBody({ message: 'Validation errors', errors: [ { location: { docPath: '/paths/~1greet/get/parameters/0/schema', in: 'query', name: 'name', path: '', }, message: 'should NOT be shorter than 2 characters', }, ], }); }); }); describe('security', function() { it('should require authentication from an authenticator', async function() { const fetch = makeFetch(this.server); await fetch(`/secure`) .expect(401) .expectBody({ message: 'Must authenticate using one of the following schemes: sessionKey.', }); }); it('should return an error from an authenticator', async function() { const fetch = makeFetch(this.server); await fetch(`/secure`, { headers: { session: 'wrong' }, }) .expect(403) .expectBody({ message: 'Invalid session.' }); }); it('should authenticate successfully', async function() { const fetch = makeFetch(this.server); await fetch(`/secure`, { headers: { session: 'secret' }, }) .expect(200) .expectBody({ security: { sessionKey: { type: 'success', user: { name: 'jwalton' }, roles: ['readWrite', 'admin'], }, }, user: { name: 'jwalton' }, }); }); }); describe('post', function() { it('should post a body', async function() { const fetch = makeFetch(this.server); await fetch(`/postWithDefault`, { method: 'post', headers: { 'content-type': 'application/json' }, body: JSON.stringify({ name: 'Joe' }), }) .expect(200) .expectBody({ greeting: 'Hello, Joe!' }); }); it('return an error for invalid content-type', async function() { const fetch = makeFetch(this.server); await fetch(`/postWithDefault`, { method: 'post', headers: { 'content-type': 'application/xml' }, body: '<name>Joe</name>', }) .expect(400) .expectBody({ message: 'Invalid content-type: application/xml' }); }); it('return an error for no body if body is required', async function() { const fetch = makeFetch(this.server); await fetch(`/postWithDefault`, { method: 'post' }) .expect(400) .expectBody({ message: 'Missing content-type. Expected one of: application/json' }); }); }); it('should correctly parse application/x-www-form-urlencoded', async function() { const fetch = makeFetch(this.server); await fetch(`/wwwFormUrlencoded`, { method: 'post', headers: { 'content-type': 'application/x-www-form-urlencoded' }, body: 'arr=a,b&other=foo', }).expectBody({ arr: ['a', 'b'], other: 'foo', }); }); describe('response validation', function() { let errors = 0; beforeEach(async function() { errors = 0; this.server.close(); this.server = await createServer({ controllers: path.resolve(__dirname, './controllers'), authenticators: { sessionKey: sessionAuthenticator, }, controllersPattern: '**/*.@(ts|js)', onResponseValidationError: () => { errors++; }, }); }); it('should identify a bad response', async function() { const fetch = makeFetch(this.server); await fetch(`/malformedResponse`).expect(200); expect(errors).to.equal(1); }); it('should not complaint about an OK response', async function() { const fetch = makeFetch(this.server); await fetch(`/greet?name=Jason`).expect(200); expect(errors).to.equal(0); }); }); });
pvince/exegesis
test/integration/controllers/malformed.ts
<gh_stars>1-10 import { ExegesisContext } from "../../../src"; export function getBadResponse(_context: ExegesisContext) { return {wat: 7}; }
pvince/exegesis
src/options.ts
import ld from 'lodash'; import { MimeTypeRegistry } from "./utils/mime"; import TextBodyParser from './bodyParsers/TextBodyParser'; import JsonBodyParser from './bodyParsers/JsonBodyParser'; import BodyParserWrapper from './bodyParsers/BodyParserWrapper'; import { loadControllersSync } from './controllers/loadControllers'; import { CustomFormats, ExegesisOptions, StringParser, BodyParser, Controllers, Authenticators, MimeTypeParser, ResponseValidationCallback } from './types'; import {handleErrorFunction} from "./types/options"; export interface ExgesisCompiledOptions { customFormats: CustomFormats; controllers: Controllers; authenticators: Authenticators; bodyParsers: MimeTypeRegistry<BodyParser>; parameterParsers: MimeTypeRegistry<StringParser>; defaultMaxBodySize: number; ignoreServers: boolean; allowMissingControllers: boolean; autoHandleHttpErrors: boolean | handleErrorFunction; onResponseValidationError: ResponseValidationCallback; validateDefaultResponses: boolean; allErrors: boolean; } const INT_32_MIN = -1 * Math.pow(2, 31); const INT_32_MAX = Math.pow(2, 31) - 1; // Javascript can only safely support a range of -(2^53 - 1) to (2^53 - 1) // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/MAX_SAFE_INTEGER const INT_64_MIN = Number.MIN_SAFE_INTEGER; const INT_64_MAX = Number.MAX_SAFE_INTEGER; // See the OAS 3.0 specification for full details about supported formats: // https://github.com/OAI/OpenAPI-Specification/blob/3.0.2/versions/3.0.2.md#data-types const defaultValidators : CustomFormats = { // string:date is taken care of for us: // https://github.com/epoberezkin/ajv/blob/797dfc8c2b0f51aaa405342916cccb5962dd5f21/lib/compile/formats.js#L34 // string:date-time is from: // https://tools.ietf.org/html/draft-wright-json-schema-validation-00#section-7.3.1. // number:int32 and number:int64 are defined as non-fractional integers // https://tools.ietf.org/html/draft-wright-json-schema-00#section-5.3 int32: { type: 'number', validate: (value: number) => value >= INT_32_MIN && value <= INT_32_MAX }, int64: { type: 'number', validate: (value: number) => value >= INT_64_MIN && value <= INT_64_MAX }, double: { type: 'number', validate: () => true }, float: { type: 'number', validate: () => true }, // Nothing to do for 'password'; this is just a hint for docs. password: () => true, // Impossible to validate "binary". binary: () => true, // `byte` is base64 encoded data. We *could* validate it here, but if the // string is long, we might take a while to do it, and the application will // figure it out quickly enough when it tries to decode it, so we just // pass it along. byte: () => true, // Not defined by OAS 3, but it's used throughout OAS 3.0.1, so we put it // here as an alias for 'byte' just in case. base64: () => true }; export function compileOptions(options: ExegesisOptions = {}) : ExgesisCompiledOptions { const maxBodySize = options.defaultMaxBodySize || 100000; const mimeTypeParsers = Object.assign( { 'text/*': new TextBodyParser(maxBodySize), 'application/json': new JsonBodyParser(maxBodySize) }, options.mimeTypeParsers || {} ); const wrappedBodyParsers = ld.mapValues<MimeTypeParser, BodyParser | undefined>( mimeTypeParsers, (p: MimeTypeParser) => { if(p.parseReq) { return p; } else if(p.parseString) { return new BodyParserWrapper(p, maxBodySize); } else { return undefined; } } ); const bodyParsers = new MimeTypeRegistry<BodyParser>(wrappedBodyParsers); const parameterParsers = new MimeTypeRegistry<StringParser>( ld.pickBy(mimeTypeParsers, (p: any) => !!p.parseString) as {[mimeType: string]: StringParser} ); const customFormats = Object.assign({}, defaultValidators, options.customFormats || {}); const contollersPattern = options.controllersPattern || '**/*.js'; const controllers = typeof(options.controllers) === 'string' ? loadControllersSync(options.controllers, contollersPattern) : options.controllers || {}; const allowMissingControllers = 'allowMissingControllers' in options ? !!options.allowMissingControllers : true; const authenticators : Authenticators = options.authenticators || {}; let autoHandleHttpErrors: boolean | handleErrorFunction = true; if (options.autoHandleHttpErrors !== undefined) { if (options.autoHandleHttpErrors instanceof Function) { autoHandleHttpErrors = options.autoHandleHttpErrors; } else { autoHandleHttpErrors = !!options.autoHandleHttpErrors; } } const validateDefaultResponses = 'validateDefaultResponses' in options ? !!options.validateDefaultResponses : true; return { bodyParsers, controllers, authenticators, customFormats, parameterParsers, defaultMaxBodySize: maxBodySize, ignoreServers: options.ignoreServers || false, allowMissingControllers, autoHandleHttpErrors, onResponseValidationError: options.onResponseValidationError || (() => void 0), validateDefaultResponses, allErrors: options.allErrors || false, }; }
kouMatsumoto/gulp-seed
gulp/task_helpers.ts
import * as child_process from 'child_process'; const resolveBin = require('resolve-bin'); /** Options that can be passed to execTask or execNodeTask. */ interface ExecTaskOptions { // Whether to output to STDERR and STDOUT. silent?: boolean; // If an error happens, this will replace the standard error. errMessage?: string; } /** Create a task that executes a binary as if from the command line. */ function execTask(binPath: string, args: string[], options: ExecTaskOptions = {}) { return (done: (err?: string) => void) => { const childProcess = execSpawn(binPath, args); if (!options.silent) { childProcess.stdout.on('data', (data: string) => { process.stdout.write(data); }); childProcess.stderr.on('data', (data: string) => { process.stderr.write(data); }); } childProcess.on('close', (code: number) => { if (code != 0) { if (options.errMessage === undefined) { done('Process failed with code ' + code); } else { done(options.errMessage); } } else { done(); } }); } } /** * Create a task that executes an NPM Bin, by resolving the binary path then executing it. These are * binaries that are normally in the `./node_modules/.bin` directory, but their name might differ * from the package. Examples are typescript, ngc and gulp itself. */ export function execNodeTask(packageName: string, executable: string | string[], args?: string[], options: ExecTaskOptions = {}) { if (!args) { args = <string[]>executable; executable = undefined; } /** * Return function which will be used as gulp task */ return (done: (err: any) => void) => { resolveBin(packageName, {executable: executable}, (err: any, binPath: string) => { if (err) { done(err); } else { // Forward to execTask. execTask(binPath, args, options)(done); } }); } } /** * If process.platform is win32, exec binPath by node command. * * @param binPath * @param args */ function execSpawn(binPath: string, args: string[]) { if (process.platform !== 'win32') { return child_process.spawn(binPath, args); } args.unshift(binPath); return child_process.spawn('node', args); };
kouMatsumoto/gulp-seed
src/test.ts
class Test { constructor() { console.log('hello world'); } } export const test = new Test();
kouMatsumoto/gulp-seed
gulp/tasks/default.ts
<gh_stars>0 import * as gulp from 'gulp'; gulp.task('default', ['help']); gulp.task('help', () => { const taskList = Object.keys(gulp['tasks']) .sort(); console.log(`\nHere's a list of supported tasks:\n `, taskList.join('\n ')); });
kouMatsumoto/gulp-seed
gulp/constants.ts
import {join} from 'path'; export const PROJECT_ROOT = join(__dirname, '..'); export const SOURCE_ROOT = join(PROJECT_ROOT, 'src'); export const DIST_ROOT = join(PROJECT_ROOT, 'dist');
kouMatsumoto/gulp-seed
gulp/tasks/lint.ts
import gulp = require('gulp'); import {execNodeTask} from '../task_helpers'; gulp.task('tslint', execNodeTask('tslint', ['-c', 'tslint.json', 'src/**/*.ts'])); gulp.task('stylelint', execNodeTask('stylelint', ['src/**/*.scss', '--config', '.stylelintrc.json', '--syntax', 'scss']));
kouMatsumoto/gulp-seed
gulpfile.ts
<gh_stars>0 /** * Install gulp in global and just run gulp with tasks. * Need not to transpile ts, automatically gulp will resolve ts using ts-node * * This gulpfile is simply loads the tasks inside ./gulp/tasks */ import * as path from 'path'; // Register TS compilation using tsconfig.json. require('ts-node').register({ project: path.join(__dirname, 'gulp') }); // Load gulp tasks import './gulp/tasks/default'; import './gulp/tasks/lint';
azakordonets/ts-retry
src/retry/utils/untilTruthy/retry.ts
import { retry, retryAsync } from "../.."; import { UNTIL } from "../../options"; import { retryUntilOptionsToRetryOptionsHof, RetryUtilsOptions, } from "../options"; const until = <RETURN_TYPE>(lastResult: RETURN_TYPE): boolean => // deno-lint-ignore no-explicit-any (lastResult as any) == true; const getOptions = retryUntilOptionsToRetryOptionsHof(until); export async function retryUntilTruthy< RETURN_TYPE, >( fn: () => RETURN_TYPE, retryOptions?: RetryUtilsOptions, ): Promise<RETURN_TYPE> { const options = getOptions<RETURN_TYPE>(retryOptions); return await retry(fn, options); } export async function retryAsyncUntilTruthy< RETURN_TYPE, >( fn: () => Promise<RETURN_TYPE>, retryOptions?: RetryUtilsOptions, ): Promise<RETURN_TYPE> { const options = getOptions<RETURN_TYPE>(retryOptions); return await retryAsync(fn, options); }
azakordonets/ts-retry
src/misc.ts
export const asyncDecorator = <T>(fn: () => T) => () => new Promise<T>((resolve, reject) => { try { resolve(fn()); } catch (err) { reject(err); } }); export const assertDefined = <T>( value: T | undefined | null, errMsg: string, ): value is T => { if (value === undefined || value == null) { throw new Error(errMsg); } return true; };
azakordonets/ts-retry
src/retry/utils/untilResponse/index.ts
import { type } from "os"; export { retryAsyncUntilResponse } from "./retry"; export { retryAsyncUntilResponseDecorator } from "./decorators";
azakordonets/ts-retry
src/retry/utils/index.ts
<gh_stars>10-100 export { RetryUtilsOptions } from "./options"; export { retryAsyncUntilDefined, retryAsyncUntilDefinedDecorator, retryUntilDefined, retryUntilDefinedDecorator, } from "./untilDefined"; export { retryAsyncUntilTruthy, retryAsyncUntilTruthyDecorator, retryUntilTruthy, retryUntilTruthyDecorator, } from "./untilTruthy"; export { retryAsyncUntilResponse, retryAsyncUntilResponseDecorator, } from "./untilResponse";
azakordonets/ts-retry
lib/esm/retry/utils/untilResponse/retry.d.ts
import { RetryUtilsOptions } from "../options"; import { RESPONSE_TYPE } from "./type"; export declare function retryAsyncUntilResponse<RETURN_TYPE extends RESPONSE_TYPE>(fn: () => Promise<RETURN_TYPE>, retryOptions?: RetryUtilsOptions): Promise<RETURN_TYPE>;
azakordonets/ts-retry
lib/esm/wait/wait.d.ts
export declare function wait(duration?: number): Promise<unknown>; export declare function waitUntil<RETURN_TYPE>(fn: () => RETURN_TYPE, duration?: number, error?: Error): Promise<RETURN_TYPE>; export declare function waitUntilAsync<RETURN_TYPE>(fn: () => Promise<RETURN_TYPE>, duration?: number, error?: Error): Promise<RETURN_TYPE>; export declare class TimeoutError extends Error { isTimeout: boolean; } export declare function isTimeoutError(error: Error): error is TimeoutError;
azakordonets/ts-retry
src/retry/decorators.ts
import { retry, retryAsync, RetryOptions } from "."; export function retryAsyncDecorator< RETURN_TYPE extends (...args: any[]) => Promise<any>, >( fn: RETURN_TYPE, retryOptions?: RetryOptions<ReturnType<RETURN_TYPE>>, ) { return (...args: Parameters<RETURN_TYPE>): ReturnType<RETURN_TYPE> => { const wrappedFn = () => fn(...args); return retryAsync(wrappedFn, retryOptions) as ReturnType<RETURN_TYPE>; }; } export function retryDecorator< RETURN_TYPE extends (...args: any[]) => any, >( fn: RETURN_TYPE, retryOptions?: RetryOptions<ReturnType<RETURN_TYPE>>, ) { return ( ...args: Parameters<RETURN_TYPE> ): Promise<ReturnType<RETURN_TYPE>> => { const wrappedFn = () => fn(...args); return retry(wrappedFn, retryOptions) as Promise<ReturnType<RETURN_TYPE>>; }; }