├── Source ├── Runtime │ └── Core │ │ ├── NBT.cpp │ │ ├── world │ │ ├── level │ │ │ ├── anvil │ │ │ │ ├── anvil_location_entry.h │ │ │ │ ├── anvil_location_table.h │ │ │ │ ├── anvil_timestamp_table.h │ │ │ │ ├── anvil_region.cpp │ │ │ │ ├── anvil_location_table.cpp │ │ │ │ ├── anvil_timestamp_table.cpp │ │ │ │ ├── minecraft_version.h │ │ │ │ └── dragon_flight_data.h │ │ │ ├── world_border.h │ │ │ └── generation │ │ │ │ └── world_generator.h │ │ ├── Level │ │ │ ├── anvil │ │ │ │ ├── anvil_location_entry.cpp │ │ │ │ ├── data_pack.h │ │ │ │ └── region_location.h │ │ │ └── generation │ │ │ │ ├── noise │ │ │ │ └── noise.h │ │ │ │ ├── world_generator.cpp │ │ │ │ └── flat_world_generator.h │ │ ├── Block │ │ │ └── builtin │ │ │ │ ├── block.cpp │ │ │ │ ├── fern_block.h │ │ │ │ ├── ice_block.h │ │ │ │ ├── mud_block.h │ │ │ │ ├── tuff_block.h │ │ │ │ ├── glass_block.h │ │ │ │ ├── melon_block.h │ │ │ │ ├── poppy_block.h │ │ │ │ ├── sculk_block.h │ │ │ │ ├── azalea_block.h │ │ │ │ ├── beacon_block.h │ │ │ │ ├── bricks_block.h │ │ │ │ ├── cobweb_block.h │ │ │ │ ├── bedrock_block.h │ │ │ │ ├── calcite_block.h │ │ │ │ ├── diorite_block.h │ │ │ │ ├── gold_ore_block.h │ │ │ │ ├── granite_block.h │ │ │ │ ├── lily_pad_block.h │ │ │ │ ├── red_sand_block.h │ │ │ │ ├── red_wool_block.h │ │ │ │ ├── void_air_block.h │ │ │ │ ├── andesite_block.h │ │ │ │ ├── bookshelf_block.h │ │ │ │ ├── cyan_wool_block.h │ │ │ │ ├── gray_wool_block.h │ │ │ │ ├── lime_wool_block.h │ │ │ │ ├── obsidian_block.h │ │ │ │ ├── soul_sand_block.h │ │ │ │ └── soul_soil_block.h │ │ ├── item │ │ │ └── builtin │ │ │ │ ├── item_registry_u.cpp │ │ │ │ ├── item_registry_x.cpp │ │ │ │ ├── item.cpp │ │ │ │ ├── air_item.cpp │ │ │ │ ├── bow_item.cpp │ │ │ │ ├── cod_item.cpp │ │ │ │ ├── egg_item.cpp │ │ │ │ ├── map_item.cpp │ │ │ │ ├── air_item.h │ │ │ │ ├── bow_item.h │ │ │ │ ├── cod_item.h │ │ │ │ ├── egg_item.h │ │ │ │ ├── map_item.h │ │ │ │ ├── beef_item.cpp │ │ │ │ ├── beef_item.h │ │ │ │ ├── bone_item.cpp │ │ │ │ ├── bone_item.h │ │ │ │ ├── book_item.cpp │ │ │ │ ├── book_item.h │ │ │ │ ├── bowl_item.cpp │ │ │ │ ├── bowl_item.h │ │ │ │ ├── coal_item.cpp │ │ │ │ ├── coal_item.h │ │ │ │ ├── lead_item.cpp │ │ │ │ ├── lead_item.h │ │ │ │ ├── apple_item.h │ │ │ │ ├── arrow_item.h │ │ │ │ ├── bread_item.h │ │ │ │ ├── brick_item.h │ │ │ │ ├── clock_item.h │ │ │ │ ├── flint_item.h │ │ │ │ ├── paper_item.h │ │ │ │ ├── scute_item.h │ │ │ │ ├── stick_item.h │ │ │ │ ├── sugar_item.h │ │ │ │ ├── wheat_item.h │ │ │ │ ├── apple_item.cpp │ │ │ │ ├── arrow_item.cpp │ │ │ │ ├── bread_item.cpp │ │ │ │ ├── brick_item.cpp │ │ │ │ ├── bucket_item.h │ │ │ │ ├── bundle_item.h │ │ │ │ ├── carrot_item.h │ │ │ │ ├── chicken_item.h │ │ │ │ ├── clock_item.cpp │ │ │ │ ├── compass_item.h │ │ │ │ ├── cookie_item.h │ │ │ │ ├── diamond_item.h │ │ │ │ ├── elytra_item.h │ │ │ │ ├── emerald_item.h │ │ │ │ ├── feather_item.h │ │ │ │ ├── flint_item.cpp │ │ │ │ ├── ink_sac_item.h │ │ │ │ ├── leather_item.h │ │ │ │ ├── mutton_item.h │ │ │ │ ├── paper_item.cpp │ │ │ │ ├── potato_item.h │ │ │ │ ├── potion_item.h │ │ │ │ ├── quartz_item.h │ │ │ │ ├── rabbit_item.h │ │ │ │ ├── red_dye_item.h │ │ │ │ ├── saddle_item.h │ │ │ │ ├── salmon_item.h │ │ │ │ ├── scute_item.cpp │ │ │ │ ├── shears_item.h │ │ │ │ ├── shield_item.h │ │ │ │ ├── stick_item.cpp │ │ │ │ ├── sugar_item.cpp │ │ │ │ ├── trident_item.h │ │ │ │ ├── wheat_item.cpp │ │ │ │ ├── beetroot_item.h │ │ │ │ ├── black_dye_item.h │ │ │ │ ├── blaze_rod_item.h │ │ │ │ ├── blue_dye_item.h │ │ │ │ ├── bone_meal_item.h │ │ │ │ ├── brown_dye_item.h │ │ │ │ ├── bucket_item.cpp │ │ │ │ ├── bundle_item.cpp │ │ │ │ ├── carrot_item.cpp │ │ │ │ ├── charcoal_item.h │ │ │ │ ├── clay_ball_item.h │ │ │ │ ├── cookie_item.cpp │ │ │ │ ├── crossbow_item.h │ │ │ │ ├── cyan_dye_item.h │ │ │ │ ├── elytra_item.cpp │ │ │ │ ├── ender_eye_item.h │ │ │ │ ├── goat_horn_item.h │ │ │ │ ├── gray_dye_item.h │ │ │ │ ├── green_dye_item.h │ │ │ │ ├── iron_axe_item.h │ │ │ │ ├── iron_hoe_item.h │ │ │ │ ├── lime_dye_item.h │ │ │ │ ├── minecart_item.h │ │ │ │ ├── name_tag_item.h │ │ │ │ ├── oak_boat_item.h │ │ │ │ ├── painting_item.h │ │ │ │ ├── pink_dye_item.h │ │ │ │ ├── porkchop_item.h │ │ │ │ ├── potato_item.cpp │ │ │ │ ├── potion_item.cpp │ │ │ │ ├── quartz_item.cpp │ │ │ │ ├── raw_gold_item.h │ │ │ │ ├── raw_iron_item.h │ │ │ │ ├── saddle_item.cpp │ │ │ │ ├── salmon_item.cpp │ │ │ │ ├── shears_item.cpp │ │ │ │ ├── snowball_item.h │ │ │ │ ├── spyglass_item.h │ │ │ │ ├── stone_axe_item.h │ │ │ │ ├── stone_hoe_item.h │ │ │ │ ├── white_dye_item.h │ │ │ │ ├── birch_boat_item.h │ │ │ │ ├── cod_bucket_item.h │ │ │ │ ├── cooked_cod_item.h │ │ │ │ ├── dried_kelp_item.h │ │ │ │ ├── echo_shard_item.h │ │ │ │ ├── filled_map_item.h │ │ │ │ ├── ghast_tear_item.h │ │ │ │ ├── gold_ingot_item.h │ │ │ │ ├── golden_axe_item.h │ │ │ │ ├── golden_hoe_item.h │ │ │ │ ├── gunpowder_item.h │ │ │ │ ├── honeycomb_item.h │ │ │ │ ├── ink_sac_item.cpp │ │ │ │ ├── iron_boots_item.h │ │ │ │ ├── iron_ingot_item.h │ │ │ │ ├── iron_sword_item.h │ │ │ │ ├── item_frame_item.h │ │ │ │ ├── mutton_item.cpp │ │ │ │ ├── orange_dye_item.h │ │ │ │ ├── purple_dye_item.h │ │ │ │ ├── rabbit_item.cpp │ │ │ │ ├── raw_copper_item.h │ │ │ │ ├── red_dye_item.cpp │ │ │ │ ├── shield_item.cpp │ │ │ │ ├── slime_ball_item.h │ │ │ │ ├── spider_eye_item.h │ │ │ │ ├── wooden_axe_item.h │ │ │ │ ├── wooden_hoe_item.h │ │ │ │ ├── yellow_dye_item.h │ │ │ │ ├── acacia_boat_item.h │ │ │ │ ├── armor_stand_item.h │ │ │ │ ├── chicken_item.cpp │ │ │ │ ├── cocoa_beans_item.h │ │ │ │ ├── compass_item.cpp │ │ │ │ ├── cooked_beef_item.h │ │ │ │ ├── debug_stick_item.h │ │ │ │ ├── diamond_axe_item.h │ │ │ │ ├── diamond_hoe_item.h │ │ │ │ ├── diamond_item.cpp │ │ │ │ ├── emerald_item.cpp │ │ │ │ ├── end_crystal_item.h │ │ │ │ ├── ender_pearl_item.h │ │ │ │ ├── feather_item.cpp │ │ │ │ ├── fire_charge_item.h │ │ │ │ ├── fishing_rod_item.h │ │ │ │ ├── glow_ink_sac_item.h │ │ │ │ ├── gold_nugget_item.h │ │ │ │ ├── iron_helmet_item.h │ │ │ │ ├── iron_nugget_item.h │ │ │ │ ├── iron_shovel_item.h │ │ │ │ ├── item.h │ │ │ │ ├── jungle_boat_item.h │ │ │ │ ├── lava_bucket_item.h │ │ │ │ ├── leather_item.cpp │ │ │ │ ├── magenta_dye_item.h │ │ │ │ ├── magma_cream_item.h │ │ │ │ ├── melon_seeds_item.h │ │ │ │ ├── melon_slice_item.h │ │ │ │ ├── milk_bucket_item.h │ │ │ │ ├── music_disc_5_item.h │ │ │ │ ├── nether_star_item.h │ │ │ │ ├── nether_wart_item.h │ │ │ │ ├── pufferfish_item.h │ │ │ │ ├── pumpkin_pie_item.h │ │ │ │ ├── rabbit_foot_item.h │ │ │ │ ├── rabbit_hide_item.h │ │ │ │ ├── rabbit_stew_item.h │ │ │ │ ├── spruce_boat_item.h │ │ │ │ ├── stone_sword_item.h │ │ │ │ ├── trident_item.cpp │ │ │ │ └── wheat_seeds_item.h │ │ ├── block │ │ │ └── builtin │ │ │ │ ├── block_registry_u.cpp │ │ │ │ ├── block_registry_x.cpp │ │ │ │ ├── block.h │ │ │ │ ├── air_block.h │ │ │ │ ├── clay_block.h │ │ │ │ ├── dirt_block.h │ │ │ │ ├── sand_block.h │ │ │ │ ├── grass_block.h │ │ │ │ ├── stone_block.h │ │ │ │ ├── torch_block.h │ │ │ │ ├── allium_block.h │ │ │ │ ├── gravel_block.h │ │ │ │ ├── sponge_block.h │ │ │ │ ├── barrier_block.h │ │ │ │ ├── blue_ice_block.h │ │ │ │ ├── cave_air_block.h │ │ │ │ ├── coal_ore_block.h │ │ │ │ ├── iron_ore_block.h │ │ │ │ ├── pumpkin_block.h │ │ │ │ ├── spawner_block.h │ │ │ │ ├── blue_wool_block.h │ │ │ │ ├── cauldron_block.h │ │ │ │ ├── dandelion_block.h │ │ │ │ ├── dead_bush_block.h │ │ │ │ ├── dirt_path_block.h │ │ │ │ ├── end_stone_block.h │ │ │ │ ├── frogspawn_block.h │ │ │ │ ├── glowstone_block.h │ │ │ │ ├── lapis_ore_block.h │ │ │ │ ├── lodestone_block.h │ │ │ │ ├── pink_wool_block.h │ │ │ │ ├── red_tulip_block.h │ │ │ │ ├── sandstone_block.h │ │ │ │ ├── seagrass_block.h │ │ │ │ └── soul_fire_block.h │ │ ├── Entity │ │ │ └── metadata │ │ │ │ ├── frog_variant.h │ │ │ │ ├── boat_type.h │ │ │ │ ├── cow_metadata.cpp │ │ │ │ ├── cod_metadata.h │ │ │ │ ├── flying_metadata.h │ │ │ │ ├── mule_metadata.cpp │ │ │ │ ├── animal_metadata.h │ │ │ │ ├── chest_boat_metadata.h │ │ │ │ ├── flying_metadata.cpp │ │ │ │ ├── squid_metadata.h │ │ │ │ ├── donkey_metadata.h │ │ │ │ ├── salmon_metadata.cpp │ │ │ │ ├── stray_metadata.cpp │ │ │ │ ├── drowned_metadata.cpp │ │ │ │ ├── silverfish_metadata.h │ │ │ │ ├── monster_metadata.cpp │ │ │ │ ├── trader_llama_metadata.h │ │ │ │ ├── ambient_creature_metadata.h │ │ │ │ ├── endermite_metadata.cpp │ │ │ │ ├── vindicator_metadata.h │ │ │ │ ├── zoglin_metadata.cpp │ │ │ │ ├── horse_metadata.cpp │ │ │ │ ├── illusioner_metadata.cpp │ │ │ │ ├── phantom_metadata.h │ │ │ │ ├── rabbit_metadata.cpp │ │ │ │ ├── arrow_metadata.h │ │ │ │ └── ocelot_metadata.cpp │ │ ├── inventory │ │ │ └── slot.h │ │ ├── Inventory │ │ │ └── container.cpp │ │ ├── face.cpp │ │ ├── direction.h │ │ ├── face.h │ │ └── entity │ │ │ └── metadata │ │ │ ├── trader_llama_metadata.cpp │ │ │ ├── cow_metadata.h │ │ │ ├── cod_metadata.cpp │ │ │ ├── husk_metadata.cpp │ │ │ ├── giant_metadata.h │ │ │ ├── chicken_metadata.h │ │ │ ├── giant_metadata.cpp │ │ │ ├── ravager_metadata.h │ │ │ ├── mule_metadata.h │ │ │ ├── animal_metadata.cpp │ │ │ ├── donkey_metadata.cpp │ │ │ ├── endermite_metadata.h │ │ │ ├── salmon_metadata.h │ │ │ ├── chicken_metadata.cpp │ │ │ ├── monster_metadata.h │ │ │ ├── ravager_metadata.cpp │ │ │ ├── stray_metadata.h │ │ │ ├── evoker_fangs_metadata.h │ │ │ ├── pathfinder_mob_metadata.h │ │ │ ├── chest_boat_metadata.cpp │ │ │ ├── evoker_metadata.h │ │ │ ├── skeleton_metadata.h │ │ │ ├── dragon_fireball_metadata.h │ │ │ ├── elder_guardian_metadata.h │ │ │ ├── minecart_metadata.h │ │ │ ├── piglin_brute_metadata.h │ │ │ ├── skeleton_metadata.cpp │ │ │ ├── vex_metadata.cpp │ │ │ ├── abstract_illager_metadata.h │ │ │ ├── silverfish_metadata.cpp │ │ │ ├── slime_metadata.cpp │ │ │ ├── zombie_horse_metadata.h │ │ │ ├── abstract_golem_metadata.h │ │ │ ├── abstract_skeleton_metadata.h │ │ │ ├── illusioner_metadata.h │ │ │ ├── skeleton_horse_metadata.h │ │ │ ├── spectral_arrow_metadata.h │ │ │ ├── arrow_metadata.cpp │ │ │ ├── blaze_metadata.h │ │ │ ├── cat_variant.h │ │ │ ├── minecart_tnt_metadata.cpp │ │ │ ├── minecart_tnt_metadata.h │ │ │ ├── phantom_metadata.cpp │ │ │ ├── piglin_brute_metadata.cpp │ │ │ ├── vindicator_metadata.cpp │ │ │ ├── warden_metadata.h │ │ │ ├── witch_metadata.cpp │ │ │ ├── zombiefied_piglin_metadata.h │ │ │ └── fireball_metadata.h │ │ ├── time.h │ │ ├── particles │ │ ├── ash_particle.cpp │ │ ├── cloud_particle.cpp │ │ ├── glow_particle.cpp │ │ ├── lava_particle.cpp │ │ ├── note_particle.cpp │ │ ├── poof_particle.cpp │ │ ├── rain_particle.cpp │ │ ├── soul_particle.cpp │ │ ├── spit_particle.cpp │ │ ├── ash_particle.h │ │ ├── bubble_particle.cpp │ │ ├── crit_particle.cpp │ │ ├── crit_particle.h │ │ ├── effect_particle.cpp │ │ ├── flame_particle.cpp │ │ ├── flash_particle.cpp │ │ ├── glow_particle.h │ │ ├── heart_particle.cpp │ │ ├── lava_particle.h │ │ ├── note_particle.h │ │ ├── poof_particle.h │ │ ├── portal_particle.cpp │ │ ├── rain_particle.h │ │ ├── scrape_particle.cpp │ │ ├── smoke_particle.cpp │ │ ├── sneeze_particle.cpp │ │ ├── soul_particle.h │ │ ├── spit_particle.h │ │ ├── splash_particle.cpp │ │ ├── wax_on_particle.cpp │ │ ├── witch_particle.cpp │ │ ├── bubble_particle.h │ │ ├── cloud_particle.h │ │ ├── dolphin_particle.cpp │ │ ├── effect_particle.h │ │ ├── enchant_particle.cpp │ │ ├── end_rod_particle.cpp │ │ ├── end_rod_particle.h │ │ ├── firework_particle.cpp │ │ ├── fishing_particle.cpp │ │ ├── flame_particle.h │ │ ├── flash_particle.h │ │ ├── heart_particle.h │ │ ├── mycelium_particle.cpp │ │ ├── nautilus_particle.cpp │ │ ├── portal_particle.h │ │ ├── scrape_particle.h │ │ ├── smoke_particle.h │ │ ├── sneeze_particle.h │ │ ├── splash_particle.h │ │ ├── wax_off_particle.cpp │ │ ├── wax_off_particle.h │ │ ├── wax_on_particle.h │ │ ├── witch_particle.h │ │ ├── bubble_pop_particle.cpp │ │ ├── composter_particle.cpp │ │ ├── composter_particle.h │ │ ├── dolphin_particle.h │ │ ├── enchant_particle.h │ │ ├── explosion_particle.cpp │ │ ├── explosion_particle.h │ │ ├── firework_particle.h │ │ ├── fishing_particle.h │ │ ├── item_slime_particle.cpp │ │ ├── mycelium_particle.h │ │ ├── nautilus_particle.h │ │ ├── snowflake_particle.cpp │ │ ├── snowflake_particle.h │ │ ├── squid_ink_particle.cpp │ │ ├── squid_ink_particle.h │ │ ├── white_ash_particle.cpp │ │ ├── white_ash_particle.h │ │ ├── bubble_pop_particle.h │ │ ├── current_down_particle.h │ │ ├── falling_lava_particle.h │ │ ├── item_slime_particle.h │ │ ├── landing_lava_particle.h │ │ ├── large_smoke_particle.cpp │ │ ├── large_smoke_particle.h │ │ ├── small_flame_particle.cpp │ │ ├── small_flame_particle.h │ │ ├── sweep_attack_particle.h │ │ ├── underwater_particle.cpp │ │ ├── underwater_particle.h │ │ ├── warped_spore_particle.h │ │ ├── angry_villager_particle.h │ │ ├── crimson_spore_particle.cpp │ │ ├── crimson_spore_particle.h │ │ ├── current_down_particle.cpp │ │ ├── dragon_breath_particle.cpp │ │ ├── dragon_breath_particle.h │ │ ├── dripping_honey_particle.h │ │ ├── dripping_lava_particle.cpp │ │ ├── dripping_lava_particle.h │ │ ├── dripping_water_particle.h │ │ ├── elder_guardian_particle.h │ │ ├── electric_spark_particle.h │ │ ├── enchanted_hit_particle.cpp │ │ ├── enchanted_hit_particle.h │ │ ├── entity_effect_particle.cpp │ │ ├── entity_effect_particle.h │ │ ├── falling_honey_particle.cpp │ │ ├── falling_honey_particle.h │ │ ├── falling_lava_particle.cpp │ │ ├── falling_nectar_particle.h │ │ ├── falling_water_particle.cpp │ │ ├── falling_water_particle.h │ │ ├── glow_squid_ink_particle.h │ │ ├── happy_villager_particle.h │ │ ├── instant_effect_particle.h │ │ ├── item_snowball_particle.cpp │ │ ├── item_snowball_particle.h │ │ ├── landing_honey_particle.cpp │ │ ├── landing_honey_particle.h │ │ ├── landing_lava_particle.cpp │ │ ├── reverse_portal_particle.h │ │ ├── soul_fire_flame_particle.h │ │ ├── sweep_attack_particle.cpp │ │ ├── warped_spore_particle.cpp │ │ ├── angry_villager_particle.cpp │ │ ├── bubble_column_up_particle.h │ │ ├── damage_indicator_particle.h │ │ ├── dripping_honey_particle.cpp │ │ ├── dripping_water_particle.cpp │ │ ├── elder_guardian_particle.cpp │ │ ├── electric_spark_particle.cpp │ │ ├── explosion_emitter_particle.h │ │ ├── falling_nectar_particle.cpp │ │ ├── glow_squid_ink_particle.cpp │ │ ├── happy_villager_particle.cpp │ │ ├── instant_effect_particle.cpp │ │ ├── reverse_portal_particle.cpp │ │ ├── soul_fire_flame_particle.cpp │ │ ├── spore_blossom_air_particle.h │ │ ├── totem_of_undying_particle.h │ │ ├── campfire_cosy_smoke_particle.h │ │ ├── damage_indicator_particle.cpp │ │ ├── spore_blossom_air_particle.cpp │ │ ├── totem_of_undying_particle.cpp │ │ ├── ambient_entity_effect_particle.h │ │ ├── bubble_column_up_particle.cpp │ │ ├── campfire_signal_smoke_particle.h │ │ ├── dripping_obsidian_tear_particle.h │ │ ├── explosion_emitter_particle.cpp │ │ ├── falling_dripstone_lava_particle.h │ │ ├── falling_obsidian_tear_particle.h │ │ ├── falling_spore_blossom_particle.h │ │ ├── landing_obsidian_tear_particle.h │ │ ├── campfire_cosy_smoke_particle.cpp │ │ ├── dripping_dripstone_lava_particle.h │ │ ├── dripping_dripstone_water_particle.h │ │ ├── falling_dripstone_water_particle.h │ │ ├── ambient_entity_effect_particle.cpp │ │ ├── campfire_signal_smoke_particle.cpp │ │ ├── dripping_obsidian_tear_particle.cpp │ │ ├── falling_dripstone_lava_particle.cpp │ │ ├── falling_obsidian_tear_particle.cpp │ │ ├── falling_spore_blossom_particle.cpp │ │ ├── landing_obsidian_tear_particle.cpp │ │ ├── dripping_dripstone_lava_particle.cpp │ │ ├── falling_dripstone_water_particle.cpp │ │ ├── dripping_dripstone_water_particle.cpp │ │ ├── particle.cpp │ │ ├── item_particle.cpp │ │ └── block_particle.cpp │ │ ├── network │ │ └── protocol │ │ │ ├── protocol.h │ │ │ ├── message_signature.h │ │ │ └── signature_data.h │ │ ├── registry_codec.h │ │ ├── server │ │ ├── command │ │ │ ├── command.cpp │ │ │ ├── parser │ │ │ │ └── argument_parser.cpp │ │ │ ├── command_graph.h │ │ │ ├── command_graph.cpp │ │ │ └── root_command_node.h │ │ ├── difficulty.h │ │ ├── gamemode.h │ │ ├── gamerules.h │ │ └── chat_type.h │ │ ├── time.cpp │ │ ├── mojangapi │ │ └── http.h │ │ ├── World │ │ └── entity │ │ │ └── metadata │ │ │ ├── husk_metadata.h │ │ │ ├── squid_metadata.cpp │ │ │ ├── drowned_metadata.h │ │ │ ├── evoker_metadata.cpp │ │ │ ├── minecart_metadata.cpp │ │ │ ├── bat_metadata.cpp │ │ │ ├── slime_metadata.h │ │ │ ├── water_animal_metadata.h │ │ │ ├── blaze_metadata.cpp │ │ │ ├── ghast_metadata.cpp │ │ │ ├── rabbit_metadata.h │ │ │ ├── vex_metadata.h │ │ │ ├── evoker_fangs_metadata.cpp │ │ │ ├── glowing_item_frame_metadata.h │ │ │ └── water_animal_metadata.cpp │ │ ├── registry_codec.cpp │ │ └── daft_hash.h └── ThirdParty │ ├── nlohmann_json │ └── CMakeLists.txt │ └── curl │ └── CMakeLists.txt ├── registry_codec.nbt ├── .gitignore └── copy_resources.py /Source/Runtime/Core/NBT.cpp: -------------------------------------------------------------------------------- 1 | #include "NBT.h" 2 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/level/anvil/anvil_location_entry.h: -------------------------------------------------------------------------------- 1 | #pragma once -------------------------------------------------------------------------------- /Source/Runtime/Core/world/level/anvil/anvil_location_table.h: -------------------------------------------------------------------------------- 1 | #pragma once -------------------------------------------------------------------------------- /Source/Runtime/Core/world/level/anvil/anvil_timestamp_table.h: -------------------------------------------------------------------------------- 1 | #pragma once -------------------------------------------------------------------------------- /Source/Runtime/Core/world/level/anvil/anvil_region.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "anvil_region.h" 3 | 4 | -------------------------------------------------------------------------------- /registry_codec.nbt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Mycelium-Server/Mycelium/HEAD/registry_codec.nbt -------------------------------------------------------------------------------- /Source/Runtime/Core/time.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | int64_t currentTimeMillis(); -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Level/anvil/anvil_location_entry.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "anvil_location_entry.h" 3 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/level/anvil/anvil_location_table.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "anvil_location_table.h" 3 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/level/anvil/anvil_timestamp_table.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "anvil_timestamp_table.h" 3 | -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/ash_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "ash_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(AshParticle, 67) -------------------------------------------------------------------------------- /Source/ThirdParty/nlohmann_json/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | set(JSON_BuildTests OFF CACHE INTERNAL "") 2 | add_subdirectory(json) 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | # CLion build directory 3 | /cmake-build-** 4 | build-wsl 5 | .vscode/ 6 | .idea/ 7 | venv/ 8 | .DS_Store -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/cloud_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "cloud_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(CloudParticle, 5) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/glow_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "glow_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(GlowParticle, 83) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/lava_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "lava_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(LavaParticle, 40) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/note_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "note_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(NoteParticle, 42) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/poof_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "poof_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(PoofParticle, 42) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/rain_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "rain_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(RainParticle, 45) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/soul_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "soul_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(SoulParticle, 29) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/spit_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "spit_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(SpitParticle, 48) -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Level/generation/noise/noise.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | double terrainNoise(double, double, int); 4 | -------------------------------------------------------------------------------- /Source/Runtime/Core/network/protocol/protocol.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "packet.h" 4 | 5 | void protocol_registerPackets(); -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/ash_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(AshParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/bubble_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "bubble_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(BubbleParticle, 4) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/crit_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "crit_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(CritParticle, 6) 5 | -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/crit_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(CritParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/effect_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "effect_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(EffectParticle, 16) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/flame_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "flame_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(FlameParticle, 27) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/flash_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "flash_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(FlashParticle, 30) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/glow_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(GlowParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/heart_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "heart_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(HeartParticle, 33) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/lava_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(LavaParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/note_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(NoteParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/poof_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(PoofParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/portal_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "portal_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(PortalParticle, 44) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/rain_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(RainParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/scrape_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "scrape_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(ScrapeParticle, 87) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/smoke_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "smoke_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(SmokeParticle, 46) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/sneeze_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "sneeze_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(SneezeParticle, 47) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/soul_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(SoulParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/spit_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(SpitParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/splash_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "splash_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(SplashParticle, 53) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/wax_on_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "wax_on_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(WaxOnParticle, 84) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/witch_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "witch_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(WitchParticle, 54) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/bubble_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(BubbleParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/cloud_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(CloudParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/dolphin_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "dolphin_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(DolphinParticle, 59) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/effect_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(EffectParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/enchant_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "enchant_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(EnchantParticle, 19) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/end_rod_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "end_rod_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(EndRodParticle, 20) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/end_rod_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(EndRodParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/firework_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "firework_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(FireworkParticle, 25) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/fishing_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "fishing_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(FishingParticle, 26) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/flame_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(FlameParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/flash_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(FlashParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/heart_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(HeartParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/mycelium_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "mycelium_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(MyceliumParticle, 41) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/nautilus_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "nautilus_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(NautilusParticle, 58) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/portal_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(PortalParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/scrape_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(ScrapeParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/smoke_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(SmokeParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/sneeze_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(SneezeParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/splash_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(SplashParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/wax_off_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "wax_off_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(WaxOffParticle, 85) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/wax_off_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(WaxOffParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/wax_on_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(WaxOnParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/witch_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(WitchParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/registry_codec.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "network/byte_buffer.h" 4 | 5 | ByteBuffer* default_registry_codec(); -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Block/builtin/block.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "block.h" 3 | 4 | Block::Block() = default; 5 | Block::~Block() = default; -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/bubble_pop_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "bubble_pop_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(BubblePopParticle, 55) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/composter_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "composter_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(ComposterParticle, 32) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/composter_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(ComposterParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/dolphin_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(DolphinParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/enchant_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(EnchantParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/explosion_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "explosion_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(ExplosionParticle, 23) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/explosion_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(ExplosionParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/firework_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(FireworkParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/fishing_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(FishingParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/item_slime_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "item_slime_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(ItemSlimeParticle, 37) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/mycelium_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(MyceliumParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/nautilus_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(NautilusParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/snowflake_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "snowflake_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(SnowflakeParticle, 77) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/snowflake_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(SnowflakeParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/squid_ink_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "squid_ink_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(SquidInkParticle, 49) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/squid_ink_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(SquidInkParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/white_ash_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "white_ash_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(WhiteAshParticle, 75) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/white_ash_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(WhiteAshParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/item_registry_u.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "item_registry.h" 3 | 4 | 5 | void ItemRegistry::generateU() { 6 | } -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/item_registry_x.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "item_registry.h" 3 | 4 | 5 | void ItemRegistry::generateX() { 6 | } -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/bubble_pop_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(BubblePopParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/current_down_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(CurrentDownParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/falling_lava_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(FallingLavaParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/item_slime_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(ItemSlimeParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/landing_lava_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(LandingLavaParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/large_smoke_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "large_smoke_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(LargeSmokeParticle, 39) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/large_smoke_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(LargeSmokeParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/small_flame_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "small_flame_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(SmallFlameParticle, 76) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/small_flame_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(SmallFlameParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/sweep_attack_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(SweepAttackParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/underwater_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "underwater_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(UnderwaterParticle, 52) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/underwater_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(UnderwaterParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/warped_spore_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(WarpedSporeParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/angry_villager_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(AngryVillagerParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/crimson_spore_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "crimson_spore_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(CrimsonSporeParticle, 68) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/crimson_spore_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(CrimsonSporeParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/current_down_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "current_down_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(CurrentDownParticle, 56) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/dragon_breath_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "dragon_breath_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(DragonBreathParticle, 8) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/dragon_breath_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(DragonBreathParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/dripping_honey_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(DrippingHoneyParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/dripping_lava_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "dripping_lava_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(DrippingLavaParticle, 9) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/dripping_lava_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(DrippingLavaParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/dripping_water_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(DrippingWaterParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/elder_guardian_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(ElderGuardianParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/electric_spark_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(ElectricSparkParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/enchanted_hit_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "enchanted_hit_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(EnchantedHitParticle, 18) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/enchanted_hit_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(EnchantedHitParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/entity_effect_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "entity_effect_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(EntityEffectParticle, 21) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/entity_effect_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(EntityEffectParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/falling_honey_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "falling_honey_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(FallingHoneyParticle, 63) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/falling_honey_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(FallingHoneyParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/falling_lava_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "falling_lava_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(FallingLavaParticle, 10) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/falling_nectar_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(FallingNectarParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/falling_water_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "falling_water_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(FallingWaterParticle, 13) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/falling_water_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(FallingWaterParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/glow_squid_ink_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(GlowSquidInkParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/happy_villager_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(HappyVillagerParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/instant_effect_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(InstantEffectParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/item_snowball_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "item_snowball_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(ItemSnowballParticle, 38) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/item_snowball_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(ItemSnowballParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/landing_honey_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "landing_honey_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(LandingHoneyParticle, 64) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/landing_honey_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(LandingHoneyParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/landing_lava_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "landing_lava_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(LandingLavaParticle, 11) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/reverse_portal_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(ReversePortalParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/soul_fire_flame_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(SoulFireFlameParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/sweep_attack_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "sweep_attack_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(SweepAttackParticle, 50) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/warped_spore_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "warped_spore_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(WarpedSporeParticle, 69) -------------------------------------------------------------------------------- /Source/Runtime/Core/server/command/command.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "command.h" 3 | 4 | Command::Command() = default; 5 | Command::~Command() = default; 6 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/block/builtin/block_registry_u.cpp: -------------------------------------------------------------------------------- 1 | 2 | 3 | #include "block_registry.h" 4 | 5 | 6 | void BlockRegistry::generateU() { 7 | } -------------------------------------------------------------------------------- /Source/Runtime/Core/world/block/builtin/block_registry_x.cpp: -------------------------------------------------------------------------------- 1 | 2 | 3 | #include "block_registry.h" 4 | 5 | 6 | void BlockRegistry::generateX() { 7 | } -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/angry_villager_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "angry_villager_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(AngryVillagerParticle, 1) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/bubble_column_up_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(BubbleColumnUpParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/damage_indicator_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(DamageIndicatorParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/dripping_honey_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "dripping_honey_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(DrippingHoneyParticle, 62) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/dripping_water_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "dripping_water_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(DrippingWaterParticle, 12) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/elder_guardian_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "elder_guardian_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(ElderGuardianParticle, 17) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/electric_spark_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "electric_spark_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(ElectricSparkParticle, 86) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/explosion_emitter_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(ExplosionEmitterParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/falling_nectar_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "falling_nectar_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(FallingNectarParticle, 65) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/glow_squid_ink_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "glow_squid_ink_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(GlowSquidInkParticle, 82) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/happy_villager_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "happy_villager_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(HappyVillagerParticle, 31) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/instant_effect_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "instant_effect_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(InstantEffectParticle, 34) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/reverse_portal_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "reverse_portal_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(ReversePortalParticle, 74) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/soul_fire_flame_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "soul_fire_flame_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(SoulFireFlameParticle, 28) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/spore_blossom_air_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(SporeBlossomAirParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/totem_of_undying_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(TotemOfUndyingParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/server/difficulty.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | enum Difficulty { 4 | PEACEFUL = 0, 5 | EASY = 1, 6 | NORMAL = 2, 7 | HARD = 3 8 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/campfire_cosy_smoke_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(CampfireCosySmokeParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/damage_indicator_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "damage_indicator_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(DamageIndicatorParticle, 7) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/spore_blossom_air_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "spore_blossom_air_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(SporeBlossomAirParticle, 70) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/totem_of_undying_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "totem_of_undying_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(TotemOfUndyingParticle, 51) -------------------------------------------------------------------------------- /Source/Runtime/Core/server/gamemode.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | enum Gamemode { 4 | SURVIVAL = 0, 5 | CREATIVE = 1, 6 | ADVENTURE = 2, 7 | SPECTATOR = 3 8 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/ambient_entity_effect_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(AmbientEntityEffectParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/bubble_column_up_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "bubble_column_up_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(BubbleColumnUpParticle, 57) 5 | -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/campfire_signal_smoke_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(CampfireSignalSmokeParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/dripping_obsidian_tear_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(DrippingObsidianTearParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/explosion_emitter_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "explosion_emitter_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(ExplosionEmitterParticle, 22) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/falling_dripstone_lava_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(FallingDripstoneLavaParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/falling_obsidian_tear_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(FallingObsidianTearParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/falling_spore_blossom_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(FallingSporeBlossomParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/landing_obsidian_tear_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(LandingObsidianTearParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/campfire_cosy_smoke_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "campfire_cosy_smoke_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(CampfireCosySmokeParticle, 60) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/dripping_dripstone_lava_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(DrippingDripstoneLavaParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/dripping_dripstone_water_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(DrippingDripstoneWaterParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/falling_dripstone_water_particle.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "particle.h" 4 | 5 | DECL_DEFAULT_PARTICLE(FallingDripstoneWaterParticle) -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Entity/metadata/frog_variant.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | enum FrogVariant { 4 | FROG_TEMPERATE = 0, 5 | FROG_WARM = 1, 6 | FROG_COLD = 2 7 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/inventory/slot.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "../item/ItemStack.h" 4 | 5 | struct Slot { 6 | short number; 7 | ItemStack data; 8 | }; 9 | -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/ambient_entity_effect_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "ambient_entity_effect_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(AmbientEntityEffectParticle, 0) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/campfire_signal_smoke_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "campfire_signal_smoke_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(CampfireSignalSmokeParticle, 61) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/dripping_obsidian_tear_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "dripping_obsidian_tear_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(DrippingObsidianTearParticle, 71) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/falling_dripstone_lava_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "falling_dripstone_lava_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(FallingDripstoneLavaParticle, 79) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/falling_obsidian_tear_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "falling_obsidian_tear_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(FallingObsidianTearParticle, 72) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/falling_spore_blossom_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "falling_spore_blossom_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(FallingSporeBlossomParticle, 66) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/landing_obsidian_tear_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "landing_obsidian_tear_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(LandingObsidianTearParticle, 73) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/dripping_dripstone_lava_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "dripping_dripstone_lava_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(DrippingDripstoneLavaParticle, 78) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/falling_dripstone_water_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "falling_dripstone_water_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(FallingDripstoneWaterParticle, 81) -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/dripping_dripstone_water_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "dripping_dripstone_water_particle.h" 3 | 4 | DEF_DEFAULT_PARTICLE(DrippingDripstoneWaterParticle, 80) -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Inventory/container.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "container.h" 3 | 4 | AbstractContainer::AbstractContainer() = default; 5 | AbstractContainer::~AbstractContainer() = default; 6 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Level/anvil/data_pack.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | // TODO: Data packs 6 | struct DataPack { 7 | bool enabled = false; 8 | std::string data; 9 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Level/generation/world_generator.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "world_generator.h" 3 | 4 | WorldGenerator::WorldGenerator() = default; 5 | WorldGenerator::~WorldGenerator() = default; -------------------------------------------------------------------------------- /Source/Runtime/Core/server/command/parser/argument_parser.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "argument_parser.h" 3 | 4 | ArgumentParser::ArgumentParser() = default; 5 | ArgumentParser::~ArgumentParser() = default; 6 | -------------------------------------------------------------------------------- /Source/Runtime/Core/server/gamerules.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | #include 5 | 6 | // TODO: GameRules 7 | typedef std::unordered_map GameRules; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "item.h" 3 | 4 | Item::Item() = default; 5 | Item::~Item() = default; 6 | 7 | bool Item::isBlockItem() const { 8 | return false; 9 | } -------------------------------------------------------------------------------- /Source/Runtime/Core/network/protocol/message_signature.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "../byte_buffer.h" 4 | 5 | struct MessageSignature { 6 | int64_t timestamp = 0; 7 | int64_t salt = 0; 8 | ByteBuffer signature; 9 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/network/protocol/signature_data.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "../byte_buffer.h" 4 | 5 | struct SigData {// TODO: Cryptography 6 | int64_t timestamp = 0; 7 | ByteBuffer publicKey; 8 | ByteBuffer signature; 9 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Entity/metadata/boat_type.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | enum BoatType { 4 | OAK_BOAT = 0, 5 | SPRUCE_BOAT = 1, 6 | BIRCH_BOAT = 2, 7 | JUNGLE_BOAT = 3, 8 | ACACIA_BOAT = 4, 9 | DARK_OAK_BOAT = 5 10 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/face.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "face.h" 3 | 4 | const std::vector BlockFaceOffsets = { 5 | {0, -1, 0}, 6 | {0, 1, 0}, 7 | {0, 0, -1}, 8 | {0, 0, 1}, 9 | {-1, 0, 0}, 10 | {1, 0, 0}}; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/direction.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | enum Direction { 4 | DIRECTION_DOWN = 0, 5 | DIRECTION_UP = 1, 6 | DIRECTION_NORTH = 2, 7 | DIRECTION_SOUTH = 3, 8 | DIRECTION_WEST = 4, 9 | DIRECTION_EAST = 5 10 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/face.h: -------------------------------------------------------------------------------- 1 | 2 | #pragma once 3 | 4 | #include 5 | 6 | #include "direction.h" 7 | #include "../location.h" 8 | 9 | typedef Direction BlockFace; 10 | 11 | const extern std::vector BlockFaceOffsets; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/level/anvil/minecraft_version.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | struct MinecraftVersion { 6 | int id = 0; 7 | std::string name; 8 | std::string series; 9 | bool snapshot = false; 10 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/server/chat_type.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | enum ChatType { 4 | CHAT = 0, 5 | SYSTEM_MESSAGE = 1, 6 | GAME_INFO = 2, 7 | SAY_COMMAND = 3, 8 | MSG_COMMAND = 4, 9 | TEAM_MSG_COMMAND = 5, 10 | EMOTE_COMMAND = 6, 11 | TELLRAW_COMMAND = 7, 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/level/world_border.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | struct WorldBorder { 4 | double x = 0; 5 | double y = 0; 6 | double diameter = 29999984; 7 | int portalTeleportBoundary = 29999984; 8 | int warningBlocks = 0; 9 | int warningTime = 0; 10 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/time.cpp: -------------------------------------------------------------------------------- 1 | 2 | 3 | #include "time.h" 4 | 5 | #include 6 | 7 | int64_t currentTimeMillis() { 8 | return std::chrono::duration_cast( 9 | std::chrono::system_clock::now().time_since_epoch()).count(); 10 | } -------------------------------------------------------------------------------- /Source/Runtime/Core/world/level/generation/world_generator.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "../chunk.h" 4 | 5 | class WorldGenerator { 6 | public: 7 | WorldGenerator(); 8 | virtual ~WorldGenerator(); 9 | 10 | public: 11 | virtual void generateChunk(Chunk*) = 0; 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/server/command/command_graph.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "command_node.h" 4 | 5 | class CommandGraph : public std::vector { 6 | public: 7 | CommandGraph(); 8 | ~CommandGraph(); 9 | 10 | public: 11 | void addNode(CommandNode*); 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/trader_llama_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "trader_llama_metadata.h" 3 | 4 | TraderLlamaMetadata::TraderLlamaMetadata() = default; 5 | TraderLlamaMetadata::~TraderLlamaMetadata() = default; 6 | void TraderLlamaMetadata::wrapperWrite(MetadataBuffer&) {} -------------------------------------------------------------------------------- /Source/Runtime/Core/mojangapi/http.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | struct ResponseHTTP { 6 | int response_code = 0; 7 | std::string response {}; 8 | }; 9 | 10 | void http_init(); 11 | std::string toURL(std::string); 12 | ResponseHTTP http_get(const std::string&); -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "particle.h" 3 | 4 | AbstractParticle::AbstractParticle() = default; 5 | AbstractParticle::~AbstractParticle() = default; 6 | 7 | void AbstractParticle::write(ByteBuffer& buf) { 8 | buf.writeVarInt(getParticleID()); 9 | writeData(buf); 10 | } -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Entity/metadata/cow_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "cow_metadata.h" 3 | 4 | CowMetadata::CowMetadata() = default; 5 | CowMetadata::~CowMetadata() = default; 6 | 7 | void CowMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | AnimalMetadata::wrapperWrite(wrapper); 9 | } 10 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Level/anvil/region_location.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "../chunk.h" 4 | 5 | struct RegionLocation { 6 | int x = 0; 7 | int z = 0; 8 | 9 | static RegionLocation fromChunkLocation(const ChunkLocation& loc) { 10 | return {loc.x >> 5, loc.z >> 5}; 11 | } 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/cow_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "animal_metadata.h" 4 | 5 | class CowMetadata : public AnimalMetadata { 6 | public: 7 | CowMetadata(); 8 | ~CowMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/cod_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "cod_metadata.h" 3 | 4 | CodMetadata::CodMetadata() = default; 5 | CodMetadata::~CodMetadata() = default; 6 | 7 | void CodMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | AbstractFishMetadata::wrapperWrite(wrapper); 9 | } 10 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/husk_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "husk_metadata.h" 3 | 4 | HuskMetadata::HuskMetadata() = default; 5 | HuskMetadata::~HuskMetadata() = default; 6 | 7 | void HuskMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | ZombieMetadata::wrapperWrite(wrapper); 9 | } 10 | -------------------------------------------------------------------------------- /Source/ThirdParty/curl/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | 3 | option(BUILD_CURL_EXE "" OFF) 4 | option(ENABLE_CURL_MANUAL "" OFF) 5 | option(BUILD_LIBCURL_DOCS "" OFF) 6 | option(BUILD_SHARED_LIBS "" OFF) 7 | option(CURL_STATIC_CRT "" OFF) # /MT 8 | option(CURL_ENABLE_SSL "" OFF) 9 | 10 | add_subdirectory(curl) 11 | -------------------------------------------------------------------------------- /Source/Runtime/Core/World/entity/metadata/husk_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "zombie_metadata.h" 4 | 5 | class HuskMetadata : public ZombieMetadata { 6 | public: 7 | HuskMetadata(); 8 | ~HuskMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer &) override; 12 | }; 13 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/block/builtin/block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | class Block { 6 | public: 7 | Block(); 8 | virtual ~Block(); 9 | 10 | public: 11 | [[nodiscard]] virtual short getId() const = 0; 12 | [[nodiscard]] virtual std::shared_ptr clone() const = 0; 13 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/giant_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "monster_metadata.h" 4 | 5 | class GiantMetadata : public MonsterMetadata { 6 | public: 7 | GiantMetadata(); 8 | ~GiantMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Entity/metadata/cod_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "abstract_fish_metadata.h" 4 | 5 | class CodMetadata : public AbstractFishMetadata { 6 | public: 7 | CodMetadata(); 8 | ~CodMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Entity/metadata/flying_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "mob_metadata.h" 4 | 5 | class FlyingMetadata : public MobMetadata { 6 | public: 7 | FlyingMetadata(); 8 | ~FlyingMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | }; 13 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Entity/metadata/mule_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "mule_metadata.h" 3 | 4 | MuleMetadata::MuleMetadata() = default; 5 | MuleMetadata::~MuleMetadata() = default; 6 | 7 | void MuleMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | ChestedHorseMetadata::wrapperWrite(wrapper); 9 | } 10 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/chicken_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "animal_metadata.h" 4 | 5 | class ChickenMetadata : public AnimalMetadata { 6 | public: 7 | ChickenMetadata(); 8 | ~ChickenMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/giant_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "giant_metadata.h" 3 | 4 | GiantMetadata::GiantMetadata() = default; 5 | GiantMetadata::~GiantMetadata() = default; 6 | 7 | void GiantMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | MonsterMetadata::wrapperWrite(wrapper); 9 | } 10 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/ravager_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "raider_metadata.h" 4 | 5 | class RavagerMetadata : public RaiderMetadata { 6 | public: 7 | RavagerMetadata(); 8 | ~RavagerMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/World/entity/metadata/squid_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "squid_metadata.h" 3 | 4 | SquidMetadata::SquidMetadata() = default; 5 | SquidMetadata::~SquidMetadata() = default; 6 | 7 | void SquidMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | WaterAnimalMetadata::wrapperWrite(wrapper); 9 | } 10 | -------------------------------------------------------------------------------- /Source/Runtime/Core/registry_codec.cpp: -------------------------------------------------------------------------------- 1 | 2 | 3 | #include "registry_codec.h" 4 | 5 | static ByteBuffer* registry_codec = nullptr; 6 | 7 | ByteBuffer* default_registry_codec() { 8 | if (!registry_codec) { 9 | registry_codec = new ByteBuffer("registry_codec.nbt"); 10 | } 11 | 12 | return registry_codec; 13 | } -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Entity/metadata/animal_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "ageable_mob_metadata.h" 4 | 5 | class AnimalMetadata : public AgeableMobMetadata { 6 | public: 7 | AnimalMetadata(); 8 | ~AnimalMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Entity/metadata/chest_boat_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "boat_metadata.h" 4 | 5 | class ChestBoatMetadata : public BoatMetadata { 6 | public: 7 | ChestBoatMetadata(); 8 | ~ChestBoatMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Entity/metadata/flying_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "flying_metadata.h" 3 | 4 | FlyingMetadata::FlyingMetadata() = default; 5 | FlyingMetadata::~FlyingMetadata() = default; 6 | 7 | void FlyingMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | MobMetadata::wrapperWrite(wrapper); 9 | } 10 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Entity/metadata/squid_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "water_animal_metadata.h" 4 | 5 | class SquidMetadata : public WaterAnimalMetadata { 6 | public: 7 | SquidMetadata(); 8 | ~SquidMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/mule_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "chested_horse_metadata.h" 4 | 5 | class MuleMetadata : public ChestedHorseMetadata { 6 | public: 7 | MuleMetadata(); 8 | ~MuleMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/World/entity/metadata/drowned_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "zombie_metadata.h" 4 | 5 | class DrownedMetadata : public ZombieMetadata { 6 | public: 7 | DrownedMetadata(); 8 | ~DrownedMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | }; 13 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Entity/metadata/donkey_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "chested_horse_metadata.h" 4 | 5 | class DonkeyMetadata : public ChestedHorseMetadata { 6 | public: 7 | DonkeyMetadata(); 8 | ~DonkeyMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Entity/metadata/salmon_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "salmon_metadata.h" 3 | 4 | SalmonMetadata::SalmonMetadata() = default; 5 | SalmonMetadata::~SalmonMetadata() = default; 6 | 7 | void SalmonMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | AbstractFishMetadata::wrapperWrite(wrapper); 9 | } 10 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Entity/metadata/stray_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "stray_metadata.h" 3 | 4 | StrayMetadata::StrayMetadata() = default; 5 | StrayMetadata::~StrayMetadata() = default; 6 | 7 | void StrayMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | AbstractSkeletonMetadata::wrapperWrite(wrapper); 9 | } 10 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Level/generation/flat_world_generator.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "world_generator.h" 4 | 5 | class FlatWorldGenerator : public WorldGenerator { 6 | public: 7 | FlatWorldGenerator(); 8 | ~FlatWorldGenerator() override; 9 | 10 | public: 11 | void generateChunk(Chunk*) override; 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/animal_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "animal_metadata.h" 3 | 4 | AnimalMetadata::AnimalMetadata() = default; 5 | AnimalMetadata::~AnimalMetadata() = default; 6 | 7 | void AnimalMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | AgeableMobMetadata::wrapperWrite(wrapper); 9 | } 10 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/donkey_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "donkey_metadata.h" 3 | 4 | DonkeyMetadata::DonkeyMetadata() = default; 5 | DonkeyMetadata::~DonkeyMetadata() = default; 6 | 7 | void DonkeyMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | ChestedHorseMetadata::wrapperWrite(wrapper); 9 | } 10 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/endermite_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "monster_metadata.h" 4 | 5 | class EndermiteMetadata : public MonsterMetadata { 6 | public: 7 | EndermiteMetadata(); 8 | ~EndermiteMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/salmon_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "abstract_fish_metadata.h" 4 | 5 | class SalmonMetadata : public AbstractFishMetadata { 6 | public: 7 | SalmonMetadata(); 8 | ~SalmonMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/air_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "air_item.h" 3 | 4 | AirItem::AirItem() = default; 5 | AirItem::~AirItem() = default; 6 | 7 | int AirItem::getID() const { 8 | return 0; 9 | } 10 | 11 | std::shared_ptr AirItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/bow_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "bow_item.h" 3 | 4 | BowItem::BowItem() = default; 5 | BowItem::~BowItem() = default; 6 | 7 | int BowItem::getID() const { 8 | return 718; 9 | } 10 | 11 | std::shared_ptr BowItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/cod_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "cod_item.h" 3 | 4 | CodItem::CodItem() = default; 5 | CodItem::~CodItem() = default; 6 | 7 | int CodItem::getID() const { 8 | return 840; 9 | } 10 | 11 | std::shared_ptr CodItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/egg_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "egg_item.h" 3 | 4 | EggItem::EggItem() = default; 5 | EggItem::~EggItem() = default; 6 | 7 | int EggItem::getID() const { 8 | return 832; 9 | } 10 | 11 | std::shared_ptr EggItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/map_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "map_item.h" 3 | 4 | MapItem::MapItem() = default; 5 | MapItem::~MapItem() = default; 6 | 7 | int MapItem::getID() const { 8 | return 994; 9 | } 10 | 11 | std::shared_ptr MapItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Entity/metadata/drowned_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "drowned_metadata.h" 3 | 4 | DrownedMetadata::DrownedMetadata() = default; 5 | DrownedMetadata::~DrownedMetadata() = default; 6 | 7 | void DrownedMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | ZombieMetadata::wrapperWrite(wrapper); 9 | } 10 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Entity/metadata/silverfish_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "monster_metadata.h" 4 | 5 | class SilverfishMetadata : public MonsterMetadata { 6 | public: 7 | SilverfishMetadata(); 8 | ~SilverfishMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/chicken_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "chicken_metadata.h" 3 | 4 | ChickenMetadata::ChickenMetadata() = default; 5 | ChickenMetadata::~ChickenMetadata() = default; 6 | 7 | void ChickenMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | AnimalMetadata::wrapperWrite(wrapper); 9 | } 10 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/monster_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "pathfinder_mob_metadata.h" 4 | 5 | class MonsterMetadata : public PathfinderMobMetadata { 6 | public: 7 | MonsterMetadata(); 8 | ~MonsterMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/ravager_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "ravager_metadata.h" 3 | 4 | RavagerMetadata::RavagerMetadata() = default; 5 | RavagerMetadata::~RavagerMetadata() = default; 6 | 7 | void RavagerMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | RaiderMetadata::wrapperWrite(wrapper); 9 | } 10 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/stray_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "abstract_skeleton_metadata.h" 4 | 5 | class StrayMetadata : public AbstractSkeletonMetadata { 6 | public: 7 | StrayMetadata(); 8 | ~StrayMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/air_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class AirItem : public Item { 6 | public: 7 | AirItem(); 8 | ~AirItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/bow_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class BowItem : public Item { 6 | public: 7 | BowItem(); 8 | ~BowItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/cod_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class CodItem : public Item { 6 | public: 7 | CodItem(); 8 | ~CodItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/egg_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class EggItem : public Item { 6 | public: 7 | EggItem(); 8 | ~EggItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/map_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class MapItem : public Item { 6 | public: 7 | MapItem(); 8 | ~MapItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/level/anvil/dragon_flight_data.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "../../../location.h" 4 | 5 | struct DragonFlightData { 6 | char x; 7 | char y; 8 | char z; 9 | std::vector gateways; 10 | bool dragonKilled = false; 11 | uuids::uuid dragonUUID; 12 | bool previouslyKilled = false; 13 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/World/entity/metadata/evoker_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "evoker_metadata.h" 3 | 4 | EvokerMetadata::EvokerMetadata() = default; 5 | EvokerMetadata::~EvokerMetadata() = default; 6 | 7 | void EvokerMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | SpellcasterIllagerMetadata::wrapperWrite(wrapper); 9 | } 10 | -------------------------------------------------------------------------------- /Source/Runtime/Core/World/entity/metadata/minecart_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "minecart_metadata.h" 3 | 4 | MinecraftMetadata::MinecraftMetadata() = default; 5 | MinecraftMetadata::~MinecraftMetadata() = default; 6 | 7 | void MinecraftMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | AbstractMinecartMetadata::wrapperWrite(wrapper); 9 | } -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Entity/metadata/monster_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "monster_metadata.h" 3 | 4 | MonsterMetadata::MonsterMetadata() = default; 5 | MonsterMetadata::~MonsterMetadata() = default; 6 | 7 | void MonsterMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | PathfinderMobMetadata::wrapperWrite(wrapper); 9 | } 10 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Entity/metadata/trader_llama_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "metadata.h" 4 | 5 | class TraderLlamaMetadata : public AbstractEntityMetadata { 6 | public: 7 | TraderLlamaMetadata(); 8 | ~TraderLlamaMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/evoker_fangs_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "entity_metadata.h" 4 | 5 | class EvokerFangsMetadata : public EntityMetadata { 6 | public: 7 | EvokerFangsMetadata(); 8 | ~EvokerFangsMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/pathfinder_mob_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "mob_metadata.h" 4 | 5 | class PathfinderMobMetadata : public MobMetadata { 6 | public: 7 | PathfinderMobMetadata(); 8 | ~PathfinderMobMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/beef_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "beef_item.h" 3 | 4 | BeefItem::BeefItem() = default; 5 | BeefItem::~BeefItem() = default; 6 | 7 | int BeefItem::getID() const { 8 | return 892; 9 | } 10 | 11 | std::shared_ptr BeefItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/beef_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class BeefItem : public Item { 6 | public: 7 | BeefItem(); 8 | ~BeefItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/bone_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "bone_item.h" 3 | 4 | BoneItem::BoneItem() = default; 5 | BoneItem::~BoneItem() = default; 6 | 7 | int BoneItem::getID() const { 8 | return 866; 9 | } 10 | 11 | std::shared_ptr BoneItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/bone_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class BoneItem : public Item { 6 | public: 7 | BoneItem(); 8 | ~BoneItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/book_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "book_item.h" 3 | 4 | BookItem::BookItem() = default; 5 | BookItem::~BookItem() = default; 6 | 7 | int BookItem::getID() const { 8 | return 830; 9 | } 10 | 11 | std::shared_ptr BookItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/book_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class BookItem : public Item { 6 | public: 7 | BookItem(); 8 | ~BookItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/bowl_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "bowl_item.h" 3 | 4 | BowlItem::BowlItem() = default; 5 | BowlItem::~BowlItem() = default; 6 | 7 | int BowlItem::getID() const { 8 | return 766; 9 | } 10 | 11 | std::shared_ptr BowlItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/bowl_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class BowlItem : public Item { 6 | public: 7 | BowlItem(); 8 | ~BowlItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/coal_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "coal_item.h" 3 | 4 | CoalItem::CoalItem() = default; 5 | CoalItem::~CoalItem() = default; 6 | 7 | int CoalItem::getID() const { 8 | return 720; 9 | } 10 | 11 | std::shared_ptr CoalItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/coal_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class CoalItem : public Item { 6 | public: 7 | CoalItem(); 8 | ~CoalItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/lead_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "lead_item.h" 3 | 4 | LeadItem::LeadItem() = default; 5 | LeadItem::~LeadItem() = default; 6 | 7 | int LeadItem::getID() const { 8 | return 1020; 9 | } 10 | 11 | std::shared_ptr LeadItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/lead_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class LeadItem : public Item { 6 | public: 7 | LeadItem(); 8 | ~LeadItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/chest_boat_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "chest_boat_metadata.h" 3 | 4 | ChestBoatMetadata::ChestBoatMetadata() = default; 5 | ChestBoatMetadata::~ChestBoatMetadata() = default; 6 | 7 | void ChestBoatMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | BoatMetadata::wrapperWrite(wrapper); 9 | } 10 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/evoker_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "spellcaster_illager_metadata.h" 4 | 5 | class EvokerMetadata : public SpellcasterIllagerMetadata { 6 | public: 7 | EvokerMetadata(); 8 | ~EvokerMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/skeleton_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "abstract_skeleton_metadata.h" 4 | 5 | class SkeletonMetadata : public AbstractSkeletonMetadata { 6 | public: 7 | SkeletonMetadata(); 8 | ~SkeletonMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/apple_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class AppleItem : public Item { 6 | public: 7 | AppleItem(); 8 | ~AppleItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/arrow_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class ArrowItem : public Item { 6 | public: 7 | ArrowItem(); 8 | ~ArrowItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/bread_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class BreadItem : public Item { 6 | public: 7 | BreadItem(); 8 | ~BreadItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/brick_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class BrickItem : public Item { 6 | public: 7 | BrickItem(); 8 | ~BrickItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/clock_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class ClockItem : public Item { 6 | public: 7 | ClockItem(); 8 | ~ClockItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/flint_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class FlintItem : public Item { 6 | public: 7 | FlintItem(); 8 | ~FlintItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/paper_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class PaperItem : public Item { 6 | public: 7 | PaperItem(); 8 | ~PaperItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/scute_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class ScuteItem : public Item { 6 | public: 7 | ScuteItem(); 8 | ~ScuteItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/stick_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class StickItem : public Item { 6 | public: 7 | StickItem(); 8 | ~StickItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/sugar_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class SugarItem : public Item { 6 | public: 7 | SugarItem(); 8 | ~SugarItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/wheat_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class WheatItem : public Item { 6 | public: 7 | WheatItem(); 8 | ~WheatItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/server/command/command_graph.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "command_graph.h" 3 | 4 | CommandGraph::CommandGraph() 5 | : std::vector() {} 6 | 7 | CommandGraph::~CommandGraph() = default; 8 | 9 | void CommandGraph::addNode(CommandNode* node) { 10 | node->setGraph(this, (int) size()); 11 | push_back(node); 12 | } 13 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Block/builtin/fern_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class FernBlock : public Block { 6 | public: 7 | FernBlock(); 8 | ~FernBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Block/builtin/ice_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class IceBlock : public Block { 6 | public: 7 | IceBlock(); 8 | ~IceBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Block/builtin/mud_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class MudBlock : public Block { 6 | public: 7 | MudBlock(); 8 | ~MudBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Block/builtin/tuff_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class TuffBlock : public Block { 6 | public: 7 | TuffBlock(); 8 | ~TuffBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Entity/metadata/ambient_creature_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "mob_metadata.h" 4 | 5 | class AmbientCreatureMetadata : public MobMetadata { 6 | public: 7 | AmbientCreatureMetadata(); 8 | ~AmbientCreatureMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Entity/metadata/endermite_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "endermite_metadata.h" 3 | 4 | EndermiteMetadata::EndermiteMetadata() = default; 5 | EndermiteMetadata::~EndermiteMetadata() = default; 6 | 7 | void EndermiteMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | MonsterMetadata::wrapperWrite(wrapper); 9 | } 10 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/block/builtin/air_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class AirBlock : public Block { 6 | public: 7 | AirBlock(); 8 | ~AirBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/block/builtin/clay_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class ClayBlock : public Block { 6 | public: 7 | ClayBlock(); 8 | ~ClayBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/block/builtin/dirt_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class DirtBlock : public Block { 6 | public: 7 | DirtBlock(); 8 | ~DirtBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/block/builtin/sand_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class SandBlock : public Block { 6 | public: 7 | SandBlock(); 8 | ~SandBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/dragon_fireball_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "entity_metadata.h" 4 | 5 | class DragonFireballMetadata : public EntityMetadata { 6 | public: 7 | DragonFireballMetadata(); 8 | ~DragonFireballMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/elder_guardian_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "guardian_metadata.h" 4 | 5 | class ElderGuardianMetadata : public GuardianMetadata { 6 | public: 7 | ElderGuardianMetadata(); 8 | ~ElderGuardianMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/minecart_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "abstract_minecart_metadata.h" 4 | 5 | class MinecraftMetadata : public AbstractMinecartMetadata { 6 | public: 7 | MinecraftMetadata(); 8 | ~MinecraftMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/piglin_brute_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "base_piglin_metadata.h" 4 | 5 | class PiglinBruteMetadata : public BasePiglinMetadata { 6 | public: 7 | PiglinBruteMetadata(); 8 | ~PiglinBruteMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/skeleton_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "skeleton_metadata.h" 3 | 4 | SkeletonMetadata::SkeletonMetadata() = default; 5 | SkeletonMetadata::~SkeletonMetadata() = default; 6 | 7 | void SkeletonMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | AbstractSkeletonMetadata::wrapperWrite(wrapper); 9 | } 10 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/vex_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "vex_metadata.h" 3 | 4 | VexMetadata::VexMetadata() = default; 5 | VexMetadata::~VexMetadata() = default; 6 | 7 | void VexMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | MonsterMetadata::wrapperWrite(wrapper); 9 | wrapper.writeBool(16, isAttacking); 10 | } 11 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/apple_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "apple_item.h" 3 | 4 | AppleItem::AppleItem() = default; 5 | AppleItem::~AppleItem() = default; 6 | 7 | int AppleItem::getID() const { 8 | return 717; 9 | } 10 | 11 | std::shared_ptr AppleItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/arrow_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "arrow_item.h" 3 | 4 | ArrowItem::ArrowItem() = default; 5 | ArrowItem::~ArrowItem() = default; 6 | 7 | int ArrowItem::getID() const { 8 | return 719; 9 | } 10 | 11 | std::shared_ptr ArrowItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/bread_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "bread_item.h" 3 | 4 | BreadItem::BreadItem() = default; 5 | BreadItem::~BreadItem() = default; 6 | 7 | int BreadItem::getID() const { 8 | return 773; 9 | } 10 | 11 | std::shared_ptr BreadItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/brick_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "brick_item.h" 3 | 4 | BrickItem::BrickItem() = default; 5 | BrickItem::~BrickItem() = default; 6 | 7 | int BrickItem::getID() const { 8 | return 826; 9 | } 10 | 11 | std::shared_ptr BrickItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/bucket_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class BucketItem : public Item { 6 | public: 7 | BucketItem(); 8 | ~BucketItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/bundle_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class BundleItem : public Item { 6 | public: 7 | BundleItem(); 8 | ~BundleItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/carrot_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class CarrotItem : public Item { 6 | public: 7 | CarrotItem(); 8 | ~CarrotItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/chicken_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class ChickenItem : public Item { 6 | public: 7 | ChickenItem(); 8 | ~ChickenItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/clock_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "clock_item.h" 3 | 4 | ClockItem::ClockItem() = default; 5 | ClockItem::~ClockItem() = default; 6 | 7 | int ClockItem::getID() const { 8 | return 837; 9 | } 10 | 11 | std::shared_ptr ClockItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/compass_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class CompassItem : public Item { 6 | public: 7 | CompassItem(); 8 | ~CompassItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/cookie_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class CookieItem : public Item { 6 | public: 7 | CookieItem(); 8 | ~CookieItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/diamond_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class DiamondItem : public Item { 6 | public: 7 | DiamondItem(); 8 | ~DiamondItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/elytra_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class ElytraItem : public Item { 6 | public: 7 | ElytraItem(); 8 | ~ElytraItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/emerald_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class EmeraldItem : public Item { 6 | public: 7 | EmeraldItem(); 8 | ~EmeraldItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/feather_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class FeatherItem : public Item { 6 | public: 7 | FeatherItem(); 8 | ~FeatherItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/flint_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "flint_item.h" 3 | 4 | FlintItem::FlintItem() = default; 5 | FlintItem::~FlintItem() = default; 6 | 7 | int FlintItem::getID() const { 8 | return 798; 9 | } 10 | 11 | std::shared_ptr FlintItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/ink_sac_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class InkSacItem : public Item { 6 | public: 7 | InkSacItem(); 8 | ~InkSacItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/leather_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class LeatherItem : public Item { 6 | public: 7 | LeatherItem(); 8 | ~LeatherItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/mutton_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class MuttonItem : public Item { 6 | public: 7 | MuttonItem(); 8 | ~MuttonItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/paper_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "paper_item.h" 3 | 4 | PaperItem::PaperItem() = default; 5 | PaperItem::~PaperItem() = default; 6 | 7 | int PaperItem::getID() const { 8 | return 829; 9 | } 10 | 11 | std::shared_ptr PaperItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/potato_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class PotatoItem : public Item { 6 | public: 7 | PotatoItem(); 8 | ~PotatoItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/potion_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class PotionItem : public Item { 6 | public: 7 | PotionItem(); 8 | ~PotionItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/quartz_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class QuartzItem : public Item { 6 | public: 7 | QuartzItem(); 8 | ~QuartzItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/rabbit_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class RabbitItem : public Item { 6 | public: 7 | RabbitItem(); 8 | ~RabbitItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/red_dye_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class RedDyeItem : public Item { 6 | public: 7 | RedDyeItem(); 8 | ~RedDyeItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/saddle_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class SaddleItem : public Item { 6 | public: 7 | SaddleItem(); 8 | ~SaddleItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/salmon_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class SalmonItem : public Item { 6 | public: 7 | SalmonItem(); 8 | ~SalmonItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/scute_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "scute_item.h" 3 | 4 | ScuteItem::ScuteItem() = default; 5 | ScuteItem::~ScuteItem() = default; 6 | 7 | int ScuteItem::getID() const { 8 | return 715; 9 | } 10 | 11 | std::shared_ptr ScuteItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/shears_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class ShearsItem : public Item { 6 | public: 7 | ShearsItem(); 8 | ~ShearsItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/shield_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class ShieldItem : public Item { 6 | public: 7 | ShieldItem(); 8 | ~ShieldItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/stick_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "stick_item.h" 3 | 4 | StickItem::StickItem() = default; 5 | StickItem::~StickItem() = default; 6 | 7 | int StickItem::getID() const { 8 | return 765; 9 | } 10 | 11 | std::shared_ptr StickItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/sugar_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "sugar_item.h" 3 | 4 | SugarItem::SugarItem() = default; 5 | SugarItem::~SugarItem() = default; 6 | 7 | int SugarItem::getID() const { 8 | return 867; 9 | } 10 | 11 | std::shared_ptr SugarItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/trident_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class TridentItem : public Item { 6 | public: 7 | TridentItem(); 8 | ~TridentItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/wheat_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "wheat_item.h" 3 | 4 | WheatItem::WheatItem() = default; 5 | WheatItem::~WheatItem() = default; 6 | 7 | int WheatItem::getID() const { 8 | return 772; 9 | } 10 | 11 | std::shared_ptr WheatItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/World/entity/metadata/bat_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "bat_metadata.h" 3 | 4 | BatMetadata::BatMetadata() = default; 5 | BatMetadata::~BatMetadata() = default; 6 | 7 | void BatMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | AmbientCreatureMetadata::wrapperWrite(wrapper); 9 | wrapper.writeByte(16, isHanging); 10 | } 11 | -------------------------------------------------------------------------------- /Source/Runtime/Core/World/entity/metadata/slime_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "mob_metadata.h" 4 | 5 | class SlimeMetadata : public MobMetadata { 6 | public: 7 | SlimeMetadata(); 8 | ~SlimeMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | 13 | public: 14 | int size = 1; 15 | }; 16 | -------------------------------------------------------------------------------- /Source/Runtime/Core/World/entity/metadata/water_animal_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "pathfinder_mob_metadata.h" 4 | 5 | class WaterAnimalMetadata : public PathfinderMobMetadata { 6 | public: 7 | WaterAnimalMetadata(); 8 | ~WaterAnimalMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/item_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "item_particle.h" 3 | 4 | ItemParticle::ItemParticle() = default; 5 | ItemParticle::~ItemParticle() = default; 6 | 7 | void ItemParticle::writeData(ByteBuffer& buf) { 8 | buf.writeItemStack(item); 9 | } 10 | 11 | int ItemParticle::getParticleID() const { 12 | return 35; 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Block/builtin/glass_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class GlassBlock : public Block { 6 | public: 7 | GlassBlock(); 8 | ~GlassBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Block/builtin/melon_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class MelonBlock : public Block { 6 | public: 7 | MelonBlock(); 8 | ~MelonBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Block/builtin/poppy_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class PoppyBlock : public Block { 6 | public: 7 | PoppyBlock(); 8 | ~PoppyBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Block/builtin/sculk_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class SculkBlock : public Block { 6 | public: 7 | SculkBlock(); 8 | ~SculkBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Entity/metadata/vindicator_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "abstract_illager_metadata.h" 4 | 5 | class VindicatorMetadata : public AbstractIllagerMetadata { 6 | public: 7 | VindicatorMetadata(); 8 | ~VindicatorMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/block/builtin/grass_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class GrassBlock : public Block { 6 | public: 7 | GrassBlock(); 8 | ~GrassBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/block/builtin/stone_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class StoneBlock : public Block { 6 | public: 7 | StoneBlock(); 8 | ~StoneBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/block/builtin/torch_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class TorchBlock : public Block { 6 | public: 7 | TorchBlock(); 8 | ~TorchBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/abstract_illager_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "raider_metadata.h" 4 | 5 | class AbstractIllagerMetadata : public RaiderMetadata { 6 | public: 7 | AbstractIllagerMetadata(); 8 | ~AbstractIllagerMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/silverfish_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "silverfish_metadata.h" 3 | 4 | SilverfishMetadata::SilverfishMetadata() = default; 5 | SilverfishMetadata::~SilverfishMetadata() = default; 6 | 7 | void SilverfishMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | MonsterMetadata::wrapperWrite(wrapper); 9 | } 10 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/slime_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "slime_metadata.h" 3 | 4 | SlimeMetadata::SlimeMetadata() = default; 5 | SlimeMetadata::~SlimeMetadata() = default; 6 | 7 | void SlimeMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | MobMetadata::wrapperWrite(wrapper); 9 | wrapper.writeVarInt(16, size); 10 | } 11 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/zombie_horse_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "abstract_horse_metadata.h" 4 | 5 | class ZombieHorseMetadata : public AbstractHorseMetadata { 6 | public: 7 | ZombieHorseMetadata(); 8 | ~ZombieHorseMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/beetroot_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class BeetrootItem : public Item { 6 | public: 7 | BeetrootItem(); 8 | ~BeetrootItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/black_dye_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class BlackDyeItem : public Item { 6 | public: 7 | BlackDyeItem(); 8 | ~BlackDyeItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/blaze_rod_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class BlazeRodItem : public Item { 6 | public: 7 | BlazeRodItem(); 8 | ~BlazeRodItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/blue_dye_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class BlueDyeItem : public Item { 6 | public: 7 | BlueDyeItem(); 8 | ~BlueDyeItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/bone_meal_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class BoneMealItem : public Item { 6 | public: 7 | BoneMealItem(); 8 | ~BoneMealItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/brown_dye_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class BrownDyeItem : public Item { 6 | public: 7 | BrownDyeItem(); 8 | ~BrownDyeItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/bucket_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "bucket_item.h" 3 | 4 | BucketItem::BucketItem() = default; 5 | BucketItem::~BucketItem() = default; 6 | 7 | int BucketItem::getID() const { 8 | return 813; 9 | } 10 | 11 | std::shared_ptr BucketItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/bundle_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "bundle_item.h" 3 | 4 | BundleItem::BundleItem() = default; 5 | BundleItem::~BundleItem() = default; 6 | 7 | int BundleItem::getID() const { 8 | return 835; 9 | } 10 | 11 | std::shared_ptr BundleItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/carrot_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "carrot_item.h" 3 | 4 | CarrotItem::CarrotItem() = default; 5 | CarrotItem::~CarrotItem() = default; 6 | 7 | int CarrotItem::getID() const { 8 | return 990; 9 | } 10 | 11 | std::shared_ptr CarrotItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/charcoal_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class CharcoalItem : public Item { 6 | public: 7 | CharcoalItem(); 8 | ~CharcoalItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/clay_ball_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class ClayBallItem : public Item { 6 | public: 7 | ClayBallItem(); 8 | ~ClayBallItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/cookie_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "cookie_item.h" 3 | 4 | CookieItem::CookieItem() = default; 5 | CookieItem::~CookieItem() = default; 6 | 7 | int CookieItem::getID() const { 8 | return 885; 9 | } 10 | 11 | std::shared_ptr CookieItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/crossbow_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class CrossbowItem : public Item { 6 | public: 7 | CrossbowItem(); 8 | ~CrossbowItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/cyan_dye_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class CyanDyeItem : public Item { 6 | public: 7 | CyanDyeItem(); 8 | ~CyanDyeItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/elytra_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "elytra_item.h" 3 | 4 | ElytraItem::ElytraItem() = default; 5 | ElytraItem::~ElytraItem() = default; 6 | 7 | int ElytraItem::getID() const { 8 | return 697; 9 | } 10 | 11 | std::shared_ptr ElytraItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/ender_eye_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class EnderEyeItem : public Item { 6 | public: 7 | EnderEyeItem(); 8 | ~EnderEyeItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/goat_horn_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class GoatHornItem : public Item { 6 | public: 7 | GoatHornItem(); 8 | ~GoatHornItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/gray_dye_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class GrayDyeItem : public Item { 6 | public: 7 | GrayDyeItem(); 8 | ~GrayDyeItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/green_dye_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class GreenDyeItem : public Item { 6 | public: 7 | GreenDyeItem(); 8 | ~GreenDyeItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/iron_axe_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class IronAxeItem : public Item { 6 | public: 7 | IronAxeItem(); 8 | ~IronAxeItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/iron_hoe_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class IronHoeItem : public Item { 6 | public: 7 | IronHoeItem(); 8 | ~IronHoeItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/lime_dye_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class LimeDyeItem : public Item { 6 | public: 7 | LimeDyeItem(); 8 | ~LimeDyeItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/minecart_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class MinecartItem : public Item { 6 | public: 7 | MinecartItem(); 8 | ~MinecartItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/name_tag_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class NameTagItem : public Item { 6 | public: 7 | NameTagItem(); 8 | ~NameTagItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/oak_boat_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class OakBoatItem : public Item { 6 | public: 7 | OakBoatItem(); 8 | ~OakBoatItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/painting_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class PaintingItem : public Item { 6 | public: 7 | PaintingItem(); 8 | ~PaintingItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/pink_dye_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class PinkDyeItem : public Item { 6 | public: 7 | PinkDyeItem(); 8 | ~PinkDyeItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/porkchop_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class PorkchopItem : public Item { 6 | public: 7 | PorkchopItem(); 8 | ~PorkchopItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/potato_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "potato_item.h" 3 | 4 | PotatoItem::PotatoItem() = default; 5 | PotatoItem::~PotatoItem() = default; 6 | 7 | int PotatoItem::getID() const { 8 | return 991; 9 | } 10 | 11 | std::shared_ptr PotatoItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/potion_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "potion_item.h" 3 | 4 | PotionItem::PotionItem() = default; 5 | PotionItem::~PotionItem() = default; 6 | 7 | int PotionItem::getID() const { 8 | return 902; 9 | } 10 | 11 | std::shared_ptr PotionItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/quartz_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "quartz_item.h" 3 | 4 | QuartzItem::QuartzItem() = default; 5 | QuartzItem::~QuartzItem() = default; 6 | 7 | int QuartzItem::getID() const { 8 | return 725; 9 | } 10 | 11 | std::shared_ptr QuartzItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/raw_gold_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class RawGoldItem : public Item { 6 | public: 7 | RawGoldItem(); 8 | ~RawGoldItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/raw_iron_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class RawIronItem : public Item { 6 | public: 7 | RawIronItem(); 8 | ~RawIronItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/saddle_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "saddle_item.h" 3 | 4 | SaddleItem::SaddleItem() = default; 5 | SaddleItem::~SaddleItem() = default; 6 | 7 | int SaddleItem::getID() const { 8 | return 689; 9 | } 10 | 11 | std::shared_ptr SaddleItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/salmon_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "salmon_item.h" 3 | 4 | SalmonItem::SalmonItem() = default; 5 | SalmonItem::~SalmonItem() = default; 6 | 7 | int SalmonItem::getID() const { 8 | return 841; 9 | } 10 | 11 | std::shared_ptr SalmonItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/shears_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "shears_item.h" 3 | 4 | ShearsItem::ShearsItem() = default; 5 | ShearsItem::~ShearsItem() = default; 6 | 7 | int ShearsItem::getID() const { 8 | return 887; 9 | } 10 | 11 | std::shared_ptr ShearsItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/snowball_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class SnowballItem : public Item { 6 | public: 7 | SnowballItem(); 8 | ~SnowballItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/spyglass_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class SpyglassItem : public Item { 6 | public: 7 | SpyglassItem(); 8 | ~SpyglassItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/stone_axe_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class StoneAxeItem : public Item { 6 | public: 7 | StoneAxeItem(); 8 | ~StoneAxeItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/stone_hoe_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class StoneHoeItem : public Item { 6 | public: 7 | StoneHoeItem(); 8 | ~StoneHoeItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/white_dye_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class WhiteDyeItem : public Item { 6 | public: 7 | WhiteDyeItem(); 8 | ~WhiteDyeItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/World/entity/metadata/blaze_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "blaze_metadata.h" 3 | 4 | BlazeMetadata::BlazeMetadata() = default; 5 | BlazeMetadata::~BlazeMetadata() = default; 6 | 7 | void BlazeMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | MonsterMetadata::wrapperWrite(wrapper); 9 | wrapper.writeByte(16, isOnFire); 10 | } 11 | -------------------------------------------------------------------------------- /Source/Runtime/Core/World/entity/metadata/ghast_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "ghast_metadata.h" 3 | 4 | GhastMetadata::GhastMetadata() = default; 5 | GhastMetadata::~GhastMetadata() = default; 6 | 7 | void GhastMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | FlyingMetadata::wrapperWrite(wrapper); 9 | wrapper.writeBool(16, isAttacking); 10 | } 11 | -------------------------------------------------------------------------------- /Source/Runtime/Core/World/entity/metadata/rabbit_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "animal_metadata.h" 4 | 5 | class RabbitMetadata : public AnimalMetadata { 6 | public: 7 | RabbitMetadata(); 8 | ~RabbitMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | 13 | public: 14 | int type = 0; 15 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/World/entity/metadata/vex_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "monster_metadata.h" 4 | 5 | class VexMetadata : public MonsterMetadata { 6 | public: 7 | VexMetadata(); 8 | ~VexMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | 13 | public: 14 | bool isAttacking = false; 15 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Block/builtin/azalea_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class AzaleaBlock : public Block { 6 | public: 7 | AzaleaBlock(); 8 | ~AzaleaBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Block/builtin/beacon_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class BeaconBlock : public Block { 6 | public: 7 | BeaconBlock(); 8 | ~BeaconBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Block/builtin/bricks_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class BricksBlock : public Block { 6 | public: 7 | BricksBlock(); 8 | ~BricksBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Block/builtin/cobweb_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class CobwebBlock : public Block { 6 | public: 7 | CobwebBlock(); 8 | ~CobwebBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Entity/metadata/zoglin_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "zoglin_metadata.h" 3 | 4 | ZoglinMetadata::ZoglinMetadata() = default; 5 | ZoglinMetadata::~ZoglinMetadata() = default; 6 | 7 | void ZoglinMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | MonsterMetadata::wrapperWrite(wrapper); 9 | wrapper.writeBool(16, isBaby); 10 | } -------------------------------------------------------------------------------- /Source/Runtime/Core/world/block/builtin/allium_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class AlliumBlock : public Block { 6 | public: 7 | AlliumBlock(); 8 | ~AlliumBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/block/builtin/gravel_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class GravelBlock : public Block { 6 | public: 7 | GravelBlock(); 8 | ~GravelBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/block/builtin/sponge_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class SpongeBlock : public Block { 6 | public: 7 | SpongeBlock(); 8 | ~SpongeBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/abstract_golem_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "pathfinder_mob_metadata.h" 4 | 5 | class AbstractGolemMetadata : public PathfinderMobMetadata { 6 | public: 7 | AbstractGolemMetadata(); 8 | ~AbstractGolemMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/abstract_skeleton_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "monster_metadata.h" 4 | 5 | class AbstractSkeletonMetadata : public MonsterMetadata { 6 | public: 7 | AbstractSkeletonMetadata(); 8 | ~AbstractSkeletonMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/illusioner_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "spellcaster_illager_metadata.h" 4 | 5 | class IllusionerMetadata : public SpellcasterIllagerMetadata { 6 | public: 7 | IllusionerMetadata(); 8 | ~IllusionerMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer &) override; 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/skeleton_horse_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "abstract_horse_metadata.h" 4 | 5 | class SkeletonHorseMetadata : public AbstractHorseMetadata { 6 | public: 7 | SkeletonHorseMetadata(); 8 | ~SkeletonHorseMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/spectral_arrow_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "abstract_arrow_metadata.h" 4 | 5 | class SpectralArrowMetadata : public AbstractArrowMetadata { 6 | public: 7 | SpectralArrowMetadata(); 8 | ~SpectralArrowMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/birch_boat_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class BirchBoatItem : public Item { 6 | public: 7 | BirchBoatItem(); 8 | ~BirchBoatItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/cod_bucket_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class CodBucketItem : public Item { 6 | public: 7 | CodBucketItem(); 8 | ~CodBucketItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/cooked_cod_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class CookedCodItem : public Item { 6 | public: 7 | CookedCodItem(); 8 | ~CookedCodItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/dried_kelp_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class DriedKelpItem : public Item { 6 | public: 7 | DriedKelpItem(); 8 | ~DriedKelpItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/echo_shard_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class EchoShardItem : public Item { 6 | public: 7 | EchoShardItem(); 8 | ~EchoShardItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/filled_map_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class FilledMapItem : public Item { 6 | public: 7 | FilledMapItem(); 8 | ~FilledMapItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/ghast_tear_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class GhastTearItem : public Item { 6 | public: 7 | GhastTearItem(); 8 | ~GhastTearItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/gold_ingot_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class GoldIngotItem : public Item { 6 | public: 7 | GoldIngotItem(); 8 | ~GoldIngotItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/golden_axe_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class GoldenAxeItem : public Item { 6 | public: 7 | GoldenAxeItem(); 8 | ~GoldenAxeItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/golden_hoe_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class GoldenHoeItem : public Item { 6 | public: 7 | GoldenHoeItem(); 8 | ~GoldenHoeItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/gunpowder_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class GunpowderItem : public Item { 6 | public: 7 | GunpowderItem(); 8 | ~GunpowderItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/honeycomb_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class HoneycombItem : public Item { 6 | public: 7 | HoneycombItem(); 8 | ~HoneycombItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/ink_sac_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "ink_sac_item.h" 3 | 4 | InkSacItem::InkSacItem() = default; 5 | InkSacItem::~InkSacItem() = default; 6 | 7 | int InkSacItem::getID() const { 8 | return 846; 9 | } 10 | 11 | std::shared_ptr InkSacItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/iron_boots_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class IronBootsItem : public Item { 6 | public: 7 | IronBootsItem(); 8 | ~IronBootsItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/iron_ingot_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class IronIngotItem : public Item { 6 | public: 7 | IronIngotItem(); 8 | ~IronIngotItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/iron_sword_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class IronSwordItem : public Item { 6 | public: 7 | IronSwordItem(); 8 | ~IronSwordItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/item_frame_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class ItemFrameItem : public Item { 6 | public: 7 | ItemFrameItem(); 8 | ~ItemFrameItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/mutton_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "mutton_item.h" 3 | 4 | MuttonItem::MuttonItem() = default; 5 | MuttonItem::~MuttonItem() = default; 6 | 7 | int MuttonItem::getID() const { 8 | return 1023; 9 | } 10 | 11 | std::shared_ptr MuttonItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/orange_dye_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class OrangeDyeItem : public Item { 6 | public: 7 | OrangeDyeItem(); 8 | ~OrangeDyeItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/purple_dye_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class PurpleDyeItem : public Item { 6 | public: 7 | PurpleDyeItem(); 8 | ~PurpleDyeItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/rabbit_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "rabbit_item.h" 3 | 4 | RabbitItem::RabbitItem() = default; 5 | RabbitItem::~RabbitItem() = default; 6 | 7 | int RabbitItem::getID() const { 8 | return 1010; 9 | } 10 | 11 | std::shared_ptr RabbitItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/raw_copper_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class RawCopperItem : public Item { 6 | public: 7 | RawCopperItem(); 8 | ~RawCopperItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/red_dye_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "red_dye_item.h" 3 | 4 | RedDyeItem::RedDyeItem() = default; 5 | RedDyeItem::~RedDyeItem() = default; 6 | 7 | int RedDyeItem::getID() const { 8 | return 863; 9 | } 10 | 11 | std::shared_ptr RedDyeItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/shield_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "shield_item.h" 3 | 4 | ShieldItem::ShieldItem() = default; 5 | ShieldItem::~ShieldItem() = default; 6 | 7 | int ShieldItem::getID() const { 8 | return 1052; 9 | } 10 | 11 | std::shared_ptr ShieldItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/slime_ball_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class SlimeBallItem : public Item { 6 | public: 7 | SlimeBallItem(); 8 | ~SlimeBallItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/spider_eye_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class SpiderEyeItem : public Item { 6 | public: 7 | SpiderEyeItem(); 8 | ~SpiderEyeItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/wooden_axe_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class WoodenAxeItem : public Item { 6 | public: 7 | WoodenAxeItem(); 8 | ~WoodenAxeItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/wooden_hoe_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class WoodenHoeItem : public Item { 6 | public: 7 | WoodenHoeItem(); 8 | ~WoodenHoeItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/yellow_dye_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class YellowDyeItem : public Item { 6 | public: 7 | YellowDyeItem(); 8 | ~YellowDyeItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /copy_resources.py: -------------------------------------------------------------------------------- 1 | import shutil 2 | import sys 3 | 4 | args_len = len(sys.argv) 5 | src = sys.argv[args_len - 1] 6 | 7 | 8 | def samefile(*args, **kwargs): 9 | return False 10 | 11 | 12 | shutil._samefile = samefile 13 | 14 | shutil.copy(src + "/registry_codec.nbt", "./registry_codec.nbt") 15 | shutil.copy(src + "/cert.pem", "./cert.pem") 16 | -------------------------------------------------------------------------------- /Source/Runtime/Core/World/entity/metadata/evoker_fangs_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "evoker_fangs_metadata.h" 3 | 4 | EvokerFangsMetadata::EvokerFangsMetadata() = default; 5 | EvokerFangsMetadata::~EvokerFangsMetadata() = default; 6 | 7 | void EvokerFangsMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | EntityMetadata::wrapperWrite(wrapper); 9 | } 10 | -------------------------------------------------------------------------------- /Source/Runtime/Core/World/entity/metadata/glowing_item_frame_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item_frame_metadata.h" 4 | 5 | class GlowingItemFrameMetadata : public ItemFrameMetadata { 6 | public: 7 | GlowingItemFrameMetadata(); 8 | ~GlowingItemFrameMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/daft_hash.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | #include 6 | 7 | #include "network/byte_buffer.h" 8 | 9 | class daft_hash { 10 | public: 11 | daft_hash(); 12 | ~daft_hash(); 13 | 14 | void update(const ByteBuffer &in); 15 | std::string finalise(); 16 | 17 | private: 18 | SHA_CTX ctx_; 19 | }; 20 | -------------------------------------------------------------------------------- /Source/Runtime/Core/particles/block_particle.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "block_particle.h" 3 | 4 | BlockParticle::BlockParticle() = default; 5 | BlockParticle::~BlockParticle() = default; 6 | 7 | void BlockParticle::writeData(ByteBuffer& buf) { 8 | buf.writeVarInt(blockState); 9 | } 10 | 11 | int BlockParticle::getParticleID() const { 12 | return 2; 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Block/builtin/bedrock_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class BedrockBlock : public Block { 6 | public: 7 | BedrockBlock(); 8 | ~BedrockBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Block/builtin/calcite_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class CalciteBlock : public Block { 6 | public: 7 | CalciteBlock(); 8 | ~CalciteBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Block/builtin/diorite_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class DioriteBlock : public Block { 6 | public: 7 | DioriteBlock(); 8 | ~DioriteBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Block/builtin/gold_ore_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class GoldOreBlock : public Block { 6 | public: 7 | GoldOreBlock(); 8 | ~GoldOreBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Block/builtin/granite_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class GraniteBlock : public Block { 6 | public: 7 | GraniteBlock(); 8 | ~GraniteBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Block/builtin/lily_pad_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class LilyPadBlock : public Block { 6 | public: 7 | LilyPadBlock(); 8 | ~LilyPadBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Block/builtin/red_sand_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class RedSandBlock : public Block { 6 | public: 7 | RedSandBlock(); 8 | ~RedSandBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Block/builtin/red_wool_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class RedWoolBlock : public Block { 6 | public: 7 | RedWoolBlock(); 8 | ~RedWoolBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Block/builtin/void_air_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class VoidAirBlock : public Block { 6 | public: 7 | VoidAirBlock(); 8 | ~VoidAirBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Entity/metadata/horse_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "horse_metadata.h" 3 | 4 | HorseMetadata::HorseMetadata() = default; 5 | HorseMetadata::~HorseMetadata() = default; 6 | 7 | void HorseMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | AbstractHorseMetadata::wrapperWrite(wrapper); 9 | wrapper.writeVarInt(19, variant); 10 | } 11 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Entity/metadata/illusioner_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "illusioner_metadata.h" 3 | 4 | IllusionerMetadata::IllusionerMetadata() = default; 5 | IllusionerMetadata::~IllusionerMetadata() = default; 6 | 7 | void IllusionerMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | SpellcasterIllagerMetadata::wrapperWrite(wrapper); 9 | } 10 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Entity/metadata/phantom_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "flying_metadata.h" 4 | 5 | class PhantomMetadata : public FlyingMetadata { 6 | public: 7 | PhantomMetadata(); 8 | ~PhantomMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | 13 | public: 14 | int size = 0; 15 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Entity/metadata/rabbit_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "rabbit_metadata.h" 3 | 4 | RabbitMetadata::RabbitMetadata() = default; 5 | RabbitMetadata::~RabbitMetadata() = default; 6 | 7 | void RabbitMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | AnimalMetadata::wrapperWrite(wrapper); 9 | wrapper.writeVarInt(17, type); 10 | } 11 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/block/builtin/barrier_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class BarrierBlock : public Block { 6 | public: 7 | BarrierBlock(); 8 | ~BarrierBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/block/builtin/blue_ice_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class BlueIceBlock : public Block { 6 | public: 7 | BlueIceBlock(); 8 | ~BlueIceBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/block/builtin/cave_air_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class CaveAirBlock : public Block { 6 | public: 7 | CaveAirBlock(); 8 | ~CaveAirBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/block/builtin/coal_ore_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class CoalOreBlock : public Block { 6 | public: 7 | CoalOreBlock(); 8 | ~CoalOreBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/block/builtin/iron_ore_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class IronOreBlock : public Block { 6 | public: 7 | IronOreBlock(); 8 | ~IronOreBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/block/builtin/pumpkin_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class PumpkinBlock : public Block { 6 | public: 7 | PumpkinBlock(); 8 | ~PumpkinBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/block/builtin/spawner_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class SpawnerBlock : public Block { 6 | public: 7 | SpawnerBlock(); 8 | ~SpawnerBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/arrow_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "arrow_metadata.h" 3 | 4 | ArrowMetadata::ArrowMetadata() = default; 5 | ArrowMetadata::~ArrowMetadata() = default; 6 | 7 | void ArrowMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | AbstractArrowMetadata::wrapperWrite(wrapper); 9 | wrapper.writeVarInt(10, color); 10 | } 11 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/blaze_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "monster_metadata.h" 4 | 5 | class BlazeMetadata : public MonsterMetadata { 6 | public: 7 | BlazeMetadata(); 8 | ~BlazeMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | 13 | public: 14 | bool isOnFire = false; 15 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/cat_variant.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | enum CatVariant { 4 | CAT_TABBY = 0, 5 | CAT_BLACK = 1, 6 | CAT_RED = 2, 7 | CAT_SIAMESE = 3, 8 | CAT_BRITISH_SHORTHAIR = 4, 9 | CAT_CALICO = 5, 10 | CAT_PERSIAN = 6, 11 | CAT_RAGDOLL = 7, 12 | CAT_WHITE = 8, 13 | CAT_JELLIE = 9, 14 | CAT_ALL_BLACK = 10 15 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/minecart_tnt_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "minecart_tnt_metadata.h" 3 | 4 | MinecraftTNTMetadata::MinecraftTNTMetadata() = default; 5 | MinecraftTNTMetadata::~MinecraftTNTMetadata() = default; 6 | 7 | void MinecraftTNTMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | AbstractMinecartMetadata::wrapperWrite(wrapper); 9 | } -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/minecart_tnt_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "abstract_minecart_metadata.h" 4 | 5 | class MinecraftTNTMetadata : public AbstractMinecartMetadata { 6 | public: 7 | MinecraftTNTMetadata(); 8 | ~MinecraftTNTMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/phantom_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "phantom_metadata.h" 3 | 4 | PhantomMetadata::PhantomMetadata() = default; 5 | PhantomMetadata::~PhantomMetadata() = default; 6 | 7 | void PhantomMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | FlyingMetadata::wrapperWrite(wrapper); 9 | wrapper.writeVarInt(16, size); 10 | } -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/piglin_brute_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "piglin_brute_metadata.h" 3 | 4 | PiglinBruteMetadata::PiglinBruteMetadata() = default; 5 | PiglinBruteMetadata::~PiglinBruteMetadata() = default; 6 | 7 | void PiglinBruteMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | BasePiglinMetadata::wrapperWrite(wrapper); 9 | } 10 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/vindicator_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "vindicator_metadata.h" 3 | 4 | VindicatorMetadata::VindicatorMetadata() = default; 5 | VindicatorMetadata::~VindicatorMetadata() = default; 6 | 7 | void VindicatorMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | AbstractIllagerMetadata::wrapperWrite(wrapper); 9 | } 10 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/warden_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "monster_metadata.h" 4 | 5 | class WardenMetadata : public MonsterMetadata { 6 | public: 7 | WardenMetadata(); 8 | ~WardenMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | 13 | public: 14 | int angerLevel = 0; 15 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/witch_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "witch_metadata.h" 3 | 4 | WitchMetadata::WitchMetadata() = default; 5 | WitchMetadata::~WitchMetadata() = default; 6 | 7 | void WitchMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | RaiderMetadata::wrapperWrite(wrapper); 9 | wrapper.writeBool(17, isDrinkingPotion); 10 | } 11 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/zombiefied_piglin_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "zombie_metadata.h" 4 | 5 | class ZombiefiedPiglinMetadata : public ZombieMetadata { 6 | public: 7 | ZombiefiedPiglinMetadata(); 8 | ~ZombiefiedPiglinMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | }; 13 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/acacia_boat_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class AcaciaBoatItem : public Item { 6 | public: 7 | AcaciaBoatItem(); 8 | ~AcaciaBoatItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/armor_stand_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class ArmorStandItem : public Item { 6 | public: 7 | ArmorStandItem(); 8 | ~ArmorStandItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/chicken_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "chicken_item.h" 3 | 4 | ChickenItem::ChickenItem() = default; 5 | ChickenItem::~ChickenItem() = default; 6 | 7 | int ChickenItem::getID() const { 8 | return 894; 9 | } 10 | 11 | std::shared_ptr ChickenItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/cocoa_beans_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class CocoaBeansItem : public Item { 6 | public: 7 | CocoaBeansItem(); 8 | ~CocoaBeansItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/compass_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "compass_item.h" 3 | 4 | CompassItem::CompassItem() = default; 5 | CompassItem::~CompassItem() = default; 6 | 7 | int CompassItem::getID() const { 8 | return 833; 9 | } 10 | 11 | std::shared_ptr CompassItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/cooked_beef_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class CookedBeefItem : public Item { 6 | public: 7 | CookedBeefItem(); 8 | ~CookedBeefItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/debug_stick_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class DebugStickItem : public Item { 6 | public: 7 | DebugStickItem(); 8 | ~DebugStickItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/diamond_axe_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class DiamondAxeItem : public Item { 6 | public: 7 | DiamondAxeItem(); 8 | ~DiamondAxeItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/diamond_hoe_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class DiamondHoeItem : public Item { 6 | public: 7 | DiamondHoeItem(); 8 | ~DiamondHoeItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/diamond_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "diamond_item.h" 3 | 4 | DiamondItem::DiamondItem() = default; 5 | DiamondItem::~DiamondItem() = default; 6 | 7 | int DiamondItem::getID() const { 8 | return 722; 9 | } 10 | 11 | std::shared_ptr DiamondItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/emerald_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "emerald_item.h" 3 | 4 | EmeraldItem::EmeraldItem() = default; 5 | EmeraldItem::~EmeraldItem() = default; 6 | 7 | int EmeraldItem::getID() const { 8 | return 723; 9 | } 10 | 11 | std::shared_ptr EmeraldItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/end_crystal_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class EndCrystalItem : public Item { 6 | public: 7 | EndCrystalItem(); 8 | ~EndCrystalItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/ender_pearl_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class EnderPearlItem : public Item { 6 | public: 7 | EnderPearlItem(); 8 | ~EnderPearlItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/feather_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "feather_item.h" 3 | 4 | FeatherItem::FeatherItem() = default; 5 | FeatherItem::~FeatherItem() = default; 6 | 7 | int FeatherItem::getID() const { 8 | return 769; 9 | } 10 | 11 | std::shared_ptr FeatherItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/fire_charge_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class FireChargeItem : public Item { 6 | public: 7 | FireChargeItem(); 8 | ~FireChargeItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/fishing_rod_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class FishingRodItem : public Item { 6 | public: 7 | FishingRodItem(); 8 | ~FishingRodItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/glow_ink_sac_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class GlowInkSacItem : public Item { 6 | public: 7 | GlowInkSacItem(); 8 | ~GlowInkSacItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/gold_nugget_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class GoldNuggetItem : public Item { 6 | public: 7 | GoldNuggetItem(); 8 | ~GoldNuggetItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/iron_helmet_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class IronHelmetItem : public Item { 6 | public: 7 | IronHelmetItem(); 8 | ~IronHelmetItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/iron_nugget_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class IronNuggetItem : public Item { 6 | public: 7 | IronNuggetItem(); 8 | ~IronNuggetItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/iron_shovel_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class IronShovelItem : public Item { 6 | public: 7 | IronShovelItem(); 8 | ~IronShovelItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include 4 | 5 | class Item { 6 | public: 7 | Item(); 8 | virtual ~Item(); 9 | 10 | public: 11 | [[nodiscard]] virtual int getID() const = 0; 12 | [[nodiscard]] virtual bool isBlockItem() const; 13 | [[nodiscard]] virtual std::shared_ptr clone() const = 0; 14 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/jungle_boat_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class JungleBoatItem : public Item { 6 | public: 7 | JungleBoatItem(); 8 | ~JungleBoatItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/lava_bucket_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class LavaBucketItem : public Item { 6 | public: 7 | LavaBucketItem(); 8 | ~LavaBucketItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/leather_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "leather_item.h" 3 | 4 | LeatherItem::LeatherItem() = default; 5 | LeatherItem::~LeatherItem() = default; 6 | 7 | int LeatherItem::getID() const { 8 | return 818; 9 | } 10 | 11 | std::shared_ptr LeatherItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/magenta_dye_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class MagentaDyeItem : public Item { 6 | public: 7 | MagentaDyeItem(); 8 | ~MagentaDyeItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/magma_cream_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class MagmaCreamItem : public Item { 6 | public: 7 | MagmaCreamItem(); 8 | ~MagmaCreamItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/melon_seeds_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class MelonSeedsItem : public Item { 6 | public: 7 | MelonSeedsItem(); 8 | ~MelonSeedsItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/melon_slice_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class MelonSliceItem : public Item { 6 | public: 7 | MelonSliceItem(); 8 | ~MelonSliceItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/milk_bucket_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class MilkBucketItem : public Item { 6 | public: 7 | MilkBucketItem(); 8 | ~MilkBucketItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/music_disc_5_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class MusicDisc5Item : public Item { 6 | public: 7 | MusicDisc5Item(); 8 | ~MusicDisc5Item() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/nether_star_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class NetherStarItem : public Item { 6 | public: 7 | NetherStarItem(); 8 | ~NetherStarItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/nether_wart_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class NetherWartItem : public Item { 6 | public: 7 | NetherWartItem(); 8 | ~NetherWartItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/pufferfish_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class PufferfishItem : public Item { 6 | public: 7 | PufferfishItem(); 8 | ~PufferfishItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/pumpkin_pie_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class PumpkinPieItem : public Item { 6 | public: 7 | PumpkinPieItem(); 8 | ~PumpkinPieItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/rabbit_foot_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class RabbitFootItem : public Item { 6 | public: 7 | RabbitFootItem(); 8 | ~RabbitFootItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/rabbit_hide_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class RabbitHideItem : public Item { 6 | public: 7 | RabbitHideItem(); 8 | ~RabbitHideItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/rabbit_stew_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class RabbitStewItem : public Item { 6 | public: 7 | RabbitStewItem(); 8 | ~RabbitStewItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/spruce_boat_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class SpruceBoatItem : public Item { 6 | public: 7 | SpruceBoatItem(); 8 | ~SpruceBoatItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/stone_sword_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class StoneSwordItem : public Item { 6 | public: 7 | StoneSwordItem(); 8 | ~StoneSwordItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/trident_item.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "trident_item.h" 3 | 4 | TridentItem::TridentItem() = default; 5 | TridentItem::~TridentItem() = default; 6 | 7 | int TridentItem::getID() const { 8 | return 1074; 9 | } 10 | 11 | std::shared_ptr TridentItem::clone() const { 12 | return std::make_shared(); 13 | } 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/item/builtin/wheat_seeds_item.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "item.h" 4 | 5 | class WheatSeedsItem : public Item { 6 | public: 7 | WheatSeedsItem(); 8 | ~WheatSeedsItem() override; 9 | 10 | public: 11 | [[nodiscard]] int getID() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/World/entity/metadata/water_animal_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "water_animal_metadata.h" 3 | 4 | WaterAnimalMetadata::WaterAnimalMetadata() = default; 5 | WaterAnimalMetadata::~WaterAnimalMetadata() = default; 6 | 7 | void WaterAnimalMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | PathfinderMobMetadata::wrapperWrite(wrapper); 9 | } 10 | -------------------------------------------------------------------------------- /Source/Runtime/Core/server/command/root_command_node.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "command_node.h" 4 | 5 | class RootCommandNode : public CommandNode { 6 | public: 7 | RootCommandNode(); 8 | ~RootCommandNode() override; 9 | 10 | public: 11 | void writeOptional(ByteBuffer&) const override; 12 | [[nodiscard]] NodeType getType() const override; 13 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Block/builtin/andesite_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class AndesiteBlock : public Block { 6 | public: 7 | AndesiteBlock(); 8 | ~AndesiteBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Block/builtin/bookshelf_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class BookshelfBlock : public Block { 6 | public: 7 | BookshelfBlock(); 8 | ~BookshelfBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Block/builtin/cyan_wool_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class CyanWoolBlock : public Block { 6 | public: 7 | CyanWoolBlock(); 8 | ~CyanWoolBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Block/builtin/gray_wool_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class GrayWoolBlock : public Block { 6 | public: 7 | GrayWoolBlock(); 8 | ~GrayWoolBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Block/builtin/lime_wool_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class LimeWoolBlock : public Block { 6 | public: 7 | LimeWoolBlock(); 8 | ~LimeWoolBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Block/builtin/obsidian_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class ObsidianBlock : public Block { 6 | public: 7 | ObsidianBlock(); 8 | ~ObsidianBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Block/builtin/soul_sand_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class SoulSandBlock : public Block { 6 | public: 7 | SoulSandBlock(); 8 | ~SoulSandBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Block/builtin/soul_soil_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class SoulSoilBlock : public Block { 6 | public: 7 | SoulSoilBlock(); 8 | ~SoulSoilBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Entity/metadata/arrow_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "abstract_arrow_metadata.h" 4 | 5 | class ArrowMetadata : public AbstractArrowMetadata { 6 | public: 7 | ArrowMetadata(); 8 | ~ArrowMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | 13 | public: 14 | int color = -1; 15 | }; -------------------------------------------------------------------------------- /Source/Runtime/Core/world/Entity/metadata/ocelot_metadata.cpp: -------------------------------------------------------------------------------- 1 | 2 | #include "ocelot_metadata.h" 3 | 4 | OcelotMetadata::OcelotMetadata() = default; 5 | OcelotMetadata::~OcelotMetadata() = default; 6 | 7 | void OcelotMetadata::wrapperWrite(MetadataBuffer& wrapper) { 8 | AnimalMetadata::wrapperWrite(wrapper); 9 | wrapper.writeBool(17, isTrusting); 10 | } 11 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/block/builtin/blue_wool_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class BlueWoolBlock : public Block { 6 | public: 7 | BlueWoolBlock(); 8 | ~BlueWoolBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/block/builtin/cauldron_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class CauldronBlock : public Block { 6 | public: 7 | CauldronBlock(); 8 | ~CauldronBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/block/builtin/dandelion_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class DandelionBlock : public Block { 6 | public: 7 | DandelionBlock(); 8 | ~DandelionBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/block/builtin/dead_bush_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class DeadBushBlock : public Block { 6 | public: 7 | DeadBushBlock(); 8 | ~DeadBushBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/block/builtin/dirt_path_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class DirtPathBlock : public Block { 6 | public: 7 | DirtPathBlock(); 8 | ~DirtPathBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/block/builtin/end_stone_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class EndStoneBlock : public Block { 6 | public: 7 | EndStoneBlock(); 8 | ~EndStoneBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/block/builtin/frogspawn_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class FrogspawnBlock : public Block { 6 | public: 7 | FrogspawnBlock(); 8 | ~FrogspawnBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/block/builtin/glowstone_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class GlowstoneBlock : public Block { 6 | public: 7 | GlowstoneBlock(); 8 | ~GlowstoneBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/block/builtin/lapis_ore_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class LapisOreBlock : public Block { 6 | public: 7 | LapisOreBlock(); 8 | ~LapisOreBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/block/builtin/lodestone_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class LodestoneBlock : public Block { 6 | public: 7 | LodestoneBlock(); 8 | ~LodestoneBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/block/builtin/pink_wool_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class PinkWoolBlock : public Block { 6 | public: 7 | PinkWoolBlock(); 8 | ~PinkWoolBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/block/builtin/red_tulip_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class RedTulipBlock : public Block { 6 | public: 7 | RedTulipBlock(); 8 | ~RedTulipBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/block/builtin/sandstone_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class SandstoneBlock : public Block { 6 | public: 7 | SandstoneBlock(); 8 | ~SandstoneBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/block/builtin/seagrass_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class SeagrassBlock : public Block { 6 | public: 7 | SeagrassBlock(); 8 | ~SeagrassBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/block/builtin/soul_fire_block.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "block.h" 4 | 5 | class SoulFireBlock : public Block { 6 | public: 7 | SoulFireBlock(); 8 | ~SoulFireBlock() override; 9 | 10 | public: 11 | [[nodiscard]] short getId() const override; 12 | [[nodiscard]] std::shared_ptr clone() const override; 13 | }; 14 | -------------------------------------------------------------------------------- /Source/Runtime/Core/world/entity/metadata/fireball_metadata.h: -------------------------------------------------------------------------------- 1 | #pragma once 2 | 3 | #include "entity_metadata.h" 4 | 5 | class FireballMetadata : public EntityMetadata { 6 | public: 7 | FireballMetadata(); 8 | ~FireballMetadata() override; 9 | 10 | public: 11 | void wrapperWrite(MetadataBuffer&) override; 12 | 13 | public: 14 | ItemStack item; 15 | }; --------------------------------------------------------------------------------