├── modules ├── blocks │ ├── build.gradle │ └── src │ │ └── main │ │ ├── resources │ │ └── porting_lib_blocks.accesswidener │ │ └── java │ │ └── io │ │ └── github │ │ └── fabricators_of_create │ │ └── porting_lib │ │ └── blocks │ │ ├── extensions │ │ ├── ChunkUnloadListeningBlockEntity.java │ │ ├── NeighborChangeListeningBlock.java │ │ ├── LightEmissiveBlock.java │ │ ├── CustomFrictionBlock.java │ │ ├── MinecartPassHandlerBlock.java │ │ ├── CustomSoundTypeBlock.java │ │ ├── CustomBurnabilityBlock.java │ │ └── CustomSlimeBlock.java │ │ ├── util │ │ └── BlockEntityDataKeys.java │ │ ├── mixin │ │ └── common │ │ │ ├── PlayerMixin.java │ │ │ ├── BlockStateMixin.java │ │ │ ├── AbstractMinecartAccessor.java │ │ │ └── FireBlockAccessor.java │ │ ├── injects │ │ ├── LevelInjection.java │ │ └── CameraInjection.java │ │ └── ClientBlockHooks.java ├── brewing │ ├── build.gradle │ └── src │ │ └── main │ │ └── resources │ │ ├── porting_lib_brewing.accesswidener │ │ ├── fabric.mod.json │ │ └── porting_lib_brewing.mixins.json ├── common │ ├── build.gradle │ └── src │ │ └── main │ │ ├── java │ │ └── io │ │ │ └── github │ │ │ └── fabricators_of_create │ │ │ └── porting_lib │ │ │ └── common │ │ │ ├── PortingLibCommon.java │ │ │ ├── mixin │ │ │ └── common │ │ │ │ └── LevelReaderMixin.java │ │ │ ├── injects │ │ │ ├── LevelReaderInjection.java │ │ │ └── LanguageManagerInjection.java │ │ │ └── util │ │ │ └── SimpleRecipeType.java │ │ └── resources │ │ ├── porting_lib_common.accesswidener │ │ └── porting_lib_common.mixins.json ├── gametest │ ├── build.gradle │ └── src │ │ └── main │ │ ├── resources │ │ ├── assets │ │ │ └── porting_lib │ │ │ │ └── models │ │ │ │ └── item │ │ │ │ └── area_selector.json │ │ ├── data │ │ │ └── porting_lib_gametest │ │ │ │ └── structures │ │ │ │ └── gametest │ │ │ │ ├── platform │ │ │ │ ├── 18x3.nbt │ │ │ │ ├── 3x3.nbt │ │ │ │ ├── 5x5.nbt │ │ │ │ ├── 7x7.nbt │ │ │ │ └── 9x9.nbt │ │ │ │ └── test_testing │ │ │ │ └── test.nbt │ │ ├── porting_lib_gametest.accesswidener │ │ └── porting_lib_gametest.mixins.json │ │ └── java │ │ └── io │ │ └── github │ │ └── fabricators_of_create │ │ └── porting_lib │ │ └── gametest │ │ └── extensions │ │ └── StructureBlockEntityExtensions.java ├── registry │ ├── build.gradle │ └── src │ │ └── main │ │ └── resources │ │ ├── porting_lib_registry.accesswidener │ │ ├── porting_lib_registry.mixins.json │ │ └── fabric.mod.json ├── render_types │ ├── build.gradle │ └── src │ │ └── main │ │ └── resources │ │ ├── fabric.mod.json │ │ └── porting_lib_render_types.accesswidener ├── chunk_loading │ ├── build.gradle │ └── src │ │ └── main │ │ ├── java │ │ └── io │ │ │ └── github │ │ │ └── fabricators_of_create │ │ │ └── porting_lib │ │ │ └── chunk │ │ │ └── loading │ │ │ ├── TicketSet.java │ │ │ └── extensions │ │ │ └── TicketExtension.java │ │ └── resources │ │ └── porting_lib_chunk_loading.mixins.json ├── mixin_extensions │ ├── build.gradle │ └── src │ │ └── main │ │ └── resources │ │ ├── META-INF │ │ └── services │ │ │ └── javax.annotation.processing.Processor │ │ ├── fabric.mod.json │ │ └── porting_lib_mixin_extensions.mixins.json ├── model_data │ ├── build.gradle │ └── src │ │ └── main │ │ └── resources │ │ └── fabric.mod.json ├── client_extensions │ ├── build.gradle │ └── src │ │ └── main │ │ ├── resources │ │ ├── fabric.mod.json │ │ └── porting_lib_client_extensions.mixins.json │ │ └── java │ │ └── io │ │ └── github │ │ └── fabricators_of_create │ │ └── porting_lib │ │ └── client_extensions │ │ └── mixin │ │ └── ItemRendererAccessor.java ├── recipe_book_categories │ ├── build.gradle │ └── src │ │ └── main │ │ └── resources │ │ ├── fabric.mod.json │ │ └── porting_lib_recipe_book_categories.mixins.json ├── fluids │ ├── build.gradle │ └── src │ │ ├── main │ │ ├── java │ │ │ └── io │ │ │ │ └── github │ │ │ │ └── fabricators_of_create │ │ │ │ └── porting_lib │ │ │ │ └── fluids │ │ │ │ ├── extensions │ │ │ │ └── FluidExtension.java │ │ │ │ └── mixin │ │ │ │ ├── FluidStateMixin.java │ │ │ │ └── FlowingFluidAccessor.java │ │ └── resources │ │ │ └── porting_lib_fluids.mixins.json │ │ └── testmod │ │ └── resources │ │ └── fabric.mod.json ├── items │ ├── build.gradle │ └── src │ │ ├── testmod │ │ └── resources │ │ │ ├── assets │ │ │ └── porting_lib │ │ │ │ ├── lang │ │ │ │ └── en_us.json │ │ │ │ └── models │ │ │ │ └── item │ │ │ │ └── no_repair_pick.json │ │ │ └── fabric.mod.json │ │ └── main │ │ └── java │ │ └── io │ │ └── github │ │ └── fabricators_of_create │ │ └── porting_lib │ │ └── item │ │ ├── extensions │ │ ├── CustomMapItem.java │ │ ├── EntitySwingListenerItem.java │ │ ├── EntityTickListenerItem.java │ │ ├── ReequipAnimationItem.java │ │ ├── CustomArrowItem.java │ │ ├── XpRepairItem.java │ │ ├── CreativeModeTabExt.java │ │ ├── CustomEnchantmentValueItem.java │ │ └── BlockUseBypassingItem.java │ │ ├── ItemHelper.java │ │ └── injects │ │ └── ItemInjection.java ├── tags │ ├── build.gradle │ └── src │ │ ├── generated │ │ └── resources │ │ │ ├── data │ │ │ └── c │ │ │ │ └── tags │ │ │ │ ├── items │ │ │ │ ├── bookshelves.json │ │ │ │ ├── bones.json │ │ │ │ ├── bows.json │ │ │ │ ├── eggs.json │ │ │ │ ├── barrels.json │ │ │ │ ├── diamonds.json │ │ │ │ ├── emeralds.json │ │ │ │ ├── enchanting_fuels.json │ │ │ │ ├── feathers.json │ │ │ │ ├── gravel.json │ │ │ │ ├── leather.json │ │ │ │ ├── quartz.json │ │ │ │ ├── red_dyes.json │ │ │ │ ├── shears.json │ │ │ │ ├── shields.json │ │ │ │ ├── string.json │ │ │ │ ├── tridents.json │ │ │ │ ├── black_dyes.json │ │ │ │ ├── blaze_rods.json │ │ │ │ ├── blue_dyes.json │ │ │ │ ├── brick_ingots.json │ │ │ │ ├── brown_dyes.json │ │ │ │ ├── coal_ores.json │ │ │ │ ├── colorless_glass.json │ │ │ │ ├── colorless_sand.json │ │ │ │ ├── crops │ │ │ │ │ ├── carrot.json │ │ │ │ │ ├── potato.json │ │ │ │ │ ├── wheat.json │ │ │ │ │ ├── beetroot.json │ │ │ │ │ └── nether_wart.json │ │ │ │ ├── crossbows.json │ │ │ │ ├── cyan_dyes.json │ │ │ │ ├── end_stones.json │ │ │ │ ├── gold_ores.json │ │ │ │ ├── gray_dyes.json │ │ │ │ ├── green_dyes.json │ │ │ │ ├── gunpowder.json │ │ │ │ ├── iron_ores.json │ │ │ │ ├── lapis.json │ │ │ │ ├── lime_dyes.json │ │ │ │ ├── netherrack.json │ │ │ │ ├── obsidian.json │ │ │ │ ├── pink_dyes.json │ │ │ │ ├── red_sand.json │ │ │ │ ├── slimeballs.json │ │ │ │ ├── white_dyes.json │ │ │ │ ├── wooden_barrels.json │ │ │ │ ├── wooden_rods.json │ │ │ │ ├── amethyst.json │ │ │ │ ├── coal_blocks.json │ │ │ │ ├── copper_blocks.json │ │ │ │ ├── copper_ingots.json │ │ │ │ ├── copper_ores.json │ │ │ │ ├── diamond_ores.json │ │ │ │ ├── dusts │ │ │ │ │ ├── redstone.json │ │ │ │ │ ├── glowstone.json │ │ │ │ │ └── prismarine.json │ │ │ │ ├── emerald_ores.json │ │ │ │ ├── ender_chests.json │ │ │ │ ├── ender_pearls.json │ │ │ │ ├── fence_gates.json │ │ │ │ ├── fishing_rods.json │ │ │ │ ├── gold_blocks.json │ │ │ │ ├── gold_ingots.json │ │ │ │ ├── gold_nuggets.json │ │ │ │ ├── iron_blocks.json │ │ │ │ ├── iron_ingots.json │ │ │ │ ├── iron_nuggets.json │ │ │ │ ├── lapis_blocks.json │ │ │ │ ├── lapis_ores.json │ │ │ │ ├── magenta_dyes.json │ │ │ │ ├── melon_seeds.json │ │ │ │ ├── nether_stars.json │ │ │ │ ├── orange_dyes.json │ │ │ │ ├── purple_dyes.json │ │ │ │ ├── quartz_blocks.json │ │ │ │ ├── tinted_glass.json │ │ │ │ ├── wheat_seeds.json │ │ │ │ ├── yellow_dyes.json │ │ │ │ ├── amethyst_blocks.json │ │ │ │ ├── beetroot_seeds.json │ │ │ │ ├── black_glass.json │ │ │ │ ├── blue_glass.json │ │ │ │ ├── brown_glass.json │ │ │ │ ├── copper_raw_materials.json │ │ │ │ ├── cyan_glass.json │ │ │ │ ├── diamond_blocks.json │ │ │ │ ├── emerald_blocks.json │ │ │ │ ├── gold_raw_materials.json │ │ │ │ ├── gray_glass.json │ │ │ │ ├── green_glass.json │ │ │ │ ├── iron_raw_materials.json │ │ │ │ ├── light_blue_dyes.json │ │ │ │ ├── light_gray_dyes.json │ │ │ │ ├── lime_glass.json │ │ │ │ ├── normal_cobblestone.json │ │ │ │ ├── ore_bearing_ground │ │ │ │ │ ├── stone.json │ │ │ │ │ ├── deepslate.json │ │ │ │ │ └── netherrack.json │ │ │ │ ├── pink_glass.json │ │ │ │ ├── prismarine.json │ │ │ │ ├── pumpkin_seeds.json │ │ │ │ ├── quartz_ores.json │ │ │ │ ├── raw_gold_blocks.json │ │ │ │ ├── raw_iron_blocks.json │ │ │ │ ├── red_glass.json │ │ │ │ ├── redstone_blocks.json │ │ │ │ ├── redstone_ores.json │ │ │ │ ├── trapped_chests.json │ │ │ │ ├── white_glass.json │ │ │ │ ├── wooden_fences.json │ │ │ │ ├── colorless_glass_panes.json │ │ │ │ ├── magenta_glass.json │ │ │ │ ├── mossy_cobblestone.json │ │ │ │ ├── nether_brick_ingots.json │ │ │ │ ├── netherite_blocks.json │ │ │ │ ├── netherite_ingots.json │ │ │ │ ├── netherite_scrap_ores.json │ │ │ │ ├── orange_glass.json │ │ │ │ ├── ore_rates │ │ │ │ │ ├── sparse.json │ │ │ │ │ ├── dense.json │ │ │ │ │ └── singular.json │ │ │ │ ├── purple_glass.json │ │ │ │ ├── raw_copper_blocks.json │ │ │ │ ├── rods.json │ │ │ │ ├── sand.json │ │ │ │ ├── yellow_glass.json │ │ │ │ ├── blue_glass_panes.json │ │ │ │ ├── cyan_glass_panes.json │ │ │ │ ├── deepslate_cobblestone.json │ │ │ │ ├── gray_glass_panes.json │ │ │ │ ├── infested_cobblestone.json │ │ │ │ ├── light_blue_glass.json │ │ │ │ ├── light_gray_glass.json │ │ │ │ ├── lime_glass_panes.json │ │ │ │ ├── nether_brick_fences.json │ │ │ │ ├── nuggets.json │ │ │ │ ├── pink_glass_panes.json │ │ │ │ ├── red_glass_panes.json │ │ │ │ ├── black_glass_panes.json │ │ │ │ ├── brown_glass_panes.json │ │ │ │ ├── green_glass_panes.json │ │ │ │ ├── magenta_glass_panes.json │ │ │ │ ├── orange_glass_panes.json │ │ │ │ ├── purple_glass_panes.json │ │ │ │ ├── white_glass_panes.json │ │ │ │ ├── yellow_glass_panes.json │ │ │ │ ├── fences.json │ │ │ │ ├── light_blue_glass_panes.json │ │ │ │ ├── light_gray_glass_panes.json │ │ │ │ ├── wooden_chests.json │ │ │ │ ├── glass_panes.json │ │ │ │ ├── mushrooms.json │ │ │ │ ├── chests.json │ │ │ │ ├── armors.json │ │ │ │ ├── dusts.json │ │ │ │ ├── glass_blocks.json │ │ │ │ ├── ores_in_ground │ │ │ │ │ ├── netherrack.json │ │ │ │ │ ├── stone.json │ │ │ │ │ └── deepslate.json │ │ │ │ ├── raw_materials.json │ │ │ │ ├── seeds.json │ │ │ │ ├── cobblestone.json │ │ │ │ ├── gems.json │ │ │ │ ├── crops.json │ │ │ │ ├── ingots.json │ │ │ │ ├── axes.json │ │ │ │ ├── hoes.json │ │ │ │ ├── swords.json │ │ │ │ ├── boots.json │ │ │ │ ├── heads.json │ │ │ │ ├── shovels.json │ │ │ │ ├── pickaxes.json │ │ │ │ ├── tools.json │ │ │ │ ├── leggings.json │ │ │ │ ├── chestplates.json │ │ │ │ ├── helmets.json │ │ │ │ ├── ores.json │ │ │ │ ├── sandstone.json │ │ │ │ ├── wooden_fence_gates.json │ │ │ │ ├── stone.json │ │ │ │ ├── dyes.json │ │ │ │ └── storage_blocks.json │ │ │ │ ├── blocks │ │ │ │ ├── enderman_place_on_blacklist.json │ │ │ │ ├── barrels.json │ │ │ │ ├── gravel.json │ │ │ │ ├── coal_ores.json │ │ │ │ ├── colorless_sand.json │ │ │ │ ├── end_stones.json │ │ │ │ ├── gold_ores.json │ │ │ │ ├── iron_ores.json │ │ │ │ ├── obsidian.json │ │ │ │ ├── red_sand.json │ │ │ │ ├── coal_blocks.json │ │ │ │ ├── colorless_glass.json │ │ │ │ ├── copper_ores.json │ │ │ │ ├── ender_chests.json │ │ │ │ ├── fence_gates.json │ │ │ │ ├── gold_blocks.json │ │ │ │ ├── iron_blocks.json │ │ │ │ ├── lapis_blocks.json │ │ │ │ ├── lapis_ores.json │ │ │ │ ├── netherrack.json │ │ │ │ ├── tinted_glass.json │ │ │ │ ├── wooden_barrels.json │ │ │ │ ├── amethyst_blocks.json │ │ │ │ ├── blue_glass.json │ │ │ │ ├── copper_blocks.json │ │ │ │ ├── cyan_glass.json │ │ │ │ ├── diamond_blocks.json │ │ │ │ ├── diamond_ores.json │ │ │ │ ├── emerald_blocks.json │ │ │ │ ├── emerald_ores.json │ │ │ │ ├── gray_glass.json │ │ │ │ ├── lime_glass.json │ │ │ │ ├── normal_cobblestone.json │ │ │ │ ├── ore_bearing_ground │ │ │ │ │ ├── stone.json │ │ │ │ │ ├── deepslate.json │ │ │ │ │ └── netherrack.json │ │ │ │ ├── pink_glass.json │ │ │ │ ├── quartz_blocks.json │ │ │ │ ├── quartz_ores.json │ │ │ │ ├── raw_gold_blocks.json │ │ │ │ ├── raw_iron_blocks.json │ │ │ │ ├── red_glass.json │ │ │ │ ├── redstone_blocks.json │ │ │ │ ├── redstone_ores.json │ │ │ │ ├── trapped_chests.json │ │ │ │ ├── wooden_fences.json │ │ │ │ ├── black_glass.json │ │ │ │ ├── brown_glass.json │ │ │ │ ├── colorless_glass_panes.json │ │ │ │ ├── green_glass.json │ │ │ │ ├── magenta_glass.json │ │ │ │ ├── mossy_cobblestone.json │ │ │ │ ├── netherite_blocks.json │ │ │ │ ├── netherite_scrap_ores.json │ │ │ │ ├── orange_glass.json │ │ │ │ ├── ore_rates │ │ │ │ │ ├── sparse.json │ │ │ │ │ ├── dense.json │ │ │ │ │ └── singular.json │ │ │ │ ├── purple_glass.json │ │ │ │ ├── raw_copper_blocks.json │ │ │ │ ├── sand.json │ │ │ │ ├── white_glass.json │ │ │ │ ├── yellow_glass.json │ │ │ │ ├── blue_glass_panes.json │ │ │ │ ├── cyan_glass_panes.json │ │ │ │ ├── deepslate_cobblestone.json │ │ │ │ ├── gray_glass_panes.json │ │ │ │ ├── lime_glass_panes.json │ │ │ │ ├── nether_brick_fences.json │ │ │ │ ├── pink_glass_panes.json │ │ │ │ ├── red_glass_panes.json │ │ │ │ ├── black_glass_panes.json │ │ │ │ ├── brown_glass_panes.json │ │ │ │ ├── green_glass_panes.json │ │ │ │ ├── infested_cobblestone.json │ │ │ │ ├── light_blue_glass.json │ │ │ │ ├── light_gray_glass.json │ │ │ │ ├── orange_glass_panes.json │ │ │ │ ├── purple_glass_panes.json │ │ │ │ ├── white_glass_panes.json │ │ │ │ ├── yellow_glass_panes.json │ │ │ │ ├── fences.json │ │ │ │ ├── magenta_glass_panes.json │ │ │ │ ├── light_blue_glass_panes.json │ │ │ │ ├── light_gray_glass_panes.json │ │ │ │ ├── wooden_chests.json │ │ │ │ ├── glass_panes.json │ │ │ │ ├── chests.json │ │ │ │ ├── glass_blocks.json │ │ │ │ ├── ores_in_ground │ │ │ │ │ ├── netherrack.json │ │ │ │ │ ├── stone.json │ │ │ │ │ └── deepslate.json │ │ │ │ ├── cobblestone.json │ │ │ │ ├── ores.json │ │ │ │ ├── sandstone.json │ │ │ │ ├── wooden_fence_gates.json │ │ │ │ ├── stone.json │ │ │ │ └── storage_blocks.json │ │ │ │ ├── worldgen │ │ │ │ └── biome │ │ │ │ │ ├── is_desert.json │ │ │ │ │ ├── is_underground.json │ │ │ │ │ ├── is_void.json │ │ │ │ │ ├── is_lush.json │ │ │ │ │ ├── is_mushroom.json │ │ │ │ │ ├── is_wasteland.json │ │ │ │ │ ├── is_mountain.json │ │ │ │ │ ├── is_spooky.json │ │ │ │ │ ├── is_swamp.json │ │ │ │ │ ├── is_water.json │ │ │ │ │ ├── is_dry.json │ │ │ │ │ ├── is_cave.json │ │ │ │ │ ├── is_peak.json │ │ │ │ │ ├── is_plateau.json │ │ │ │ │ ├── is_sandy.json │ │ │ │ │ ├── is_plains.json │ │ │ │ │ ├── is_coniferous.json │ │ │ │ │ ├── is_hot.json │ │ │ │ │ ├── is_cold.json │ │ │ │ │ ├── is_dense │ │ │ │ │ └── overworld.json │ │ │ │ │ ├── is_slope.json │ │ │ │ │ ├── is_cold │ │ │ │ │ └── end.json │ │ │ │ │ ├── is_dry │ │ │ │ │ ├── end.json │ │ │ │ │ ├── overworld.json │ │ │ │ │ └── nether.json │ │ │ │ │ ├── is_hot │ │ │ │ │ ├── nether.json │ │ │ │ │ └── overworld.json │ │ │ │ │ ├── is_wet.json │ │ │ │ │ ├── is_dense.json │ │ │ │ │ ├── is_sparse.json │ │ │ │ │ ├── is_wet │ │ │ │ │ └── overworld.json │ │ │ │ │ ├── is_snowy.json │ │ │ │ │ ├── is_sparse │ │ │ │ │ └── overworld.json │ │ │ │ │ └── is_rare.json │ │ │ │ └── entity_types │ │ │ │ └── bosses.json │ │ │ └── .cache │ │ │ ├── 6962ca521ed0f04c0af588ee702ea5e92dd92bbf │ │ │ ├── 878c0710f526c0b7873f5817de08efcf0d1534b7 │ │ │ └── adaca8b06aaaf3f4d67b9cca4cb2c5464edbdcad │ │ └── main │ │ └── resources │ │ ├── porting_lib_tags.mixins.json │ │ └── fabric.mod.json ├── gui_utils │ ├── build.gradle │ └── src │ │ ├── main │ │ ├── resources │ │ │ ├── porting_lib_gui_utils.mixins.json │ │ │ └── fabric.mod.json │ │ └── java │ │ │ └── io │ │ │ └── github │ │ │ └── fabricators_of_create │ │ │ └── porting_lib │ │ │ └── gui │ │ │ └── utils │ │ │ └── ModdedButton.java │ │ └── testmod │ │ └── resources │ │ └── fabric.mod.json ├── core │ ├── build.gradle │ └── src │ │ └── main │ │ ├── resources │ │ └── fabric.mod.json │ │ └── java │ │ └── io │ │ └── github │ │ └── fabricators_of_create │ │ └── porting_lib │ │ └── core │ │ ├── util │ │ └── TranslatableEnum.java │ │ └── client │ │ └── PortingLibClient.java ├── attributes │ ├── build.gradle │ └── src │ │ ├── main │ │ └── resources │ │ │ ├── assets │ │ │ └── porting_lib │ │ │ │ └── lang │ │ │ │ └── en_us.json │ │ │ └── fabric.mod.json │ │ └── testmod │ │ └── resources │ │ └── fabric.mod.json ├── level_events │ ├── build.gradle │ └── src │ │ └── main │ │ └── resources │ │ └── fabric.mod.json ├── transfer │ ├── build.gradle │ └── src │ │ └── main │ │ ├── resources │ │ ├── porting_lib_transfer.accesswidener │ │ ├── fabric.mod.json │ │ └── porting_lib_transfer.mixins.json │ │ └── java │ │ └── io │ │ └── github │ │ └── fabricators_of_create │ │ └── porting_lib │ │ ├── util │ │ ├── ItemStackUtil.java │ │ └── FluidUnit.java │ │ └── PortingLibTransfer.java ├── data │ ├── build.gradle │ └── src │ │ └── main │ │ ├── java │ │ └── io │ │ │ └── github │ │ │ └── fabricators_of_create │ │ │ └── porting_lib │ │ │ └── data │ │ │ ├── extensions │ │ │ └── MinecraftExtension.java │ │ │ └── mixin │ │ │ └── RecipeProviderAccessor.java │ │ └── resources │ │ ├── fabric.mod.json │ │ └── porting_lib_data.mixins.json ├── entity_data_serializers │ ├── build.gradle │ └── src │ │ └── main │ │ └── resources │ │ ├── porting_lib_entity_data_serializers.json │ │ └── fabric.mod.json ├── model_loader │ ├── build.gradle │ └── src │ │ └── main │ │ ├── java │ │ └── io │ │ │ └── github │ │ │ └── fabricators_of_create │ │ │ └── porting_lib │ │ │ └── models │ │ │ └── renderable │ │ │ └── ITextureRenderTypeLookup.java │ │ └── resources │ │ └── porting_lib_model_loader.mixins.json ├── loot │ ├── build.gradle │ └── src │ │ └── main │ │ ├── java │ │ └── io │ │ │ └── github │ │ │ └── fabricators_of_create │ │ │ └── porting_lib │ │ │ └── loot │ │ │ └── extensions │ │ │ ├── LootTableBuilderExtensions.java │ │ │ ├── LootPoolBuilderExtension.java │ │ │ ├── LootPoolExtensions.java │ │ │ ├── LootContextExtensions.java │ │ │ ├── PortingLibLootTableBuilder.java │ │ │ └── LootTableExtensions.java │ │ └── resources │ │ └── porting_lib_loot.mixins.json ├── resources │ ├── build.gradle │ └── src │ │ └── main │ │ └── java │ │ └── io │ │ └── github │ │ └── fabricators_of_create │ │ └── porting_lib │ │ └── resources │ │ ├── mixin │ │ └── common │ │ │ └── RegistryMixin.java │ │ └── injections │ │ ├── RegistryLookupInjection.java │ │ └── PackRepositoryInjection.java ├── entity │ ├── build.gradle │ └── src │ │ ├── main │ │ ├── resources │ │ │ ├── assets │ │ │ │ └── porting_lib_entity │ │ │ │ │ └── lang │ │ │ │ │ └── en_us.json │ │ │ └── porting_lib_entity.accesswidener │ │ └── java │ │ │ └── io │ │ │ └── github │ │ │ └── fabricators_of_create │ │ │ └── porting_lib │ │ │ └── entity │ │ │ ├── RemovalFromWorldListener.java │ │ │ ├── extensions │ │ │ └── VanillaIShearable.java │ │ │ ├── injects │ │ │ ├── SlimeInjection.java │ │ │ └── MobEffectInstanceInjection.java │ │ │ └── mixin │ │ │ ├── common │ │ │ ├── ItemMixin.java │ │ │ ├── ShearableMixin.java │ │ │ ├── SheepMixin.java │ │ │ ├── BoggedMixin.java │ │ │ ├── MobEffectMixin.java │ │ │ ├── SnowGolemMixin.java │ │ │ ├── MushroomCowMixin.java │ │ │ └── BlockableEventLoopAccessor.java │ │ │ └── accessor │ │ │ └── PlayerDataStorageAccessor.java │ │ └── testmod │ │ └── java │ │ └── io │ │ └── github │ │ └── fabricators_of_create │ │ └── porting_lib │ │ └── entity │ │ └── testmod │ │ └── PortingLibEntityTestmodClient.java ├── obj_loader │ ├── build.gradle │ └── src │ │ ├── testmod │ │ └── resources │ │ │ ├── assets │ │ │ └── porting_lib │ │ │ │ └── models │ │ │ │ └── item │ │ │ │ ├── ring.mtl │ │ │ │ └── ring.json │ │ │ └── fabric.mod.json │ │ └── main │ │ └── resources │ │ └── fabric.mod.json ├── client_events │ ├── build.gradle │ └── src │ │ └── main │ │ └── resources │ │ ├── porting_lib_client_events.accesswidener │ │ └── fabric.mod.json ├── item_abilities │ ├── build.gradle │ └── src │ │ ├── main │ │ └── java │ │ │ └── io │ │ │ └── github │ │ │ └── fabricators_of_create │ │ │ └── porting_lib │ │ │ └── tool │ │ │ ├── extensions │ │ │ └── VanillaItemAbilityItem.java │ │ │ ├── mixin │ │ │ ├── BlockStateMixin.java │ │ │ ├── InvertedLootItemConditionAccessor.java │ │ │ └── BuilderAccessor.java │ │ │ └── data │ │ │ └── ItemAbilitiesData.java │ │ └── generated │ │ └── resources │ │ └── data │ │ └── minecraft │ │ └── loot_tables │ │ └── blocks │ │ ├── vine.json │ │ ├── seagrass.json │ │ ├── hanging_roots.json │ │ ├── nether_sprouts.json │ │ └── small_dripleaf.json ├── models │ ├── build.gradle │ └── src │ │ ├── testmod │ │ └── resources │ │ │ └── assets │ │ │ └── porting_lib │ │ │ ├── blockstates │ │ │ └── not_glass.json │ │ │ ├── lang │ │ │ └── en_us.json │ │ │ └── models │ │ │ └── block │ │ │ └── not_glass.json │ │ └── main │ │ └── java │ │ └── io │ │ └── github │ │ └── fabricators_of_create │ │ └── porting_lib │ │ └── models │ │ ├── generators │ │ └── IGeneratedBlockState.java │ │ ├── ModelLoader.java │ │ ├── mixin │ │ └── client │ │ │ ├── ModelBakerMixin.java │ │ │ └── TextureSheetParticleAccessor.java │ │ ├── injections │ │ └── ModelManagerInjection.java │ │ └── extensions │ │ └── BlockModelExtensions.java ├── milk │ ├── build.gradle │ └── src │ │ ├── main │ │ └── resources │ │ │ ├── assets │ │ │ └── porting_lib │ │ │ │ ├── textures │ │ │ │ └── block │ │ │ │ │ ├── milk_flowing.png.mcmeta │ │ │ │ │ ├── milk_still.png.mcmeta │ │ │ │ │ ├── milk_flowing.png │ │ │ │ │ └── milk_still.png │ │ │ │ └── lang │ │ │ │ └── en_us.json │ │ │ └── fabric.mod.json │ │ ├── generated │ │ └── resources │ │ │ ├── data │ │ │ └── c │ │ │ │ └── tags │ │ │ │ └── fluid │ │ │ │ └── milk.json │ │ │ └── assets │ │ │ └── porting_lib_milk │ │ │ └── sounds.json │ │ └── testmod │ │ └── resources │ │ └── fabric.mod.json ├── config │ ├── src │ │ └── main │ │ │ └── resources │ │ │ ├── META-INF │ │ │ └── defaultportinglibconfig.toml │ │ │ ├── porting_lib_config.accesswidener │ │ │ └── porting_lib_config.mixins.json │ └── build.gradle └── base │ ├── src │ └── main │ │ ├── resources │ │ ├── data │ │ │ ├── c │ │ │ │ └── tags │ │ │ │ │ └── blocks │ │ │ │ │ └── rails │ │ │ │ │ └── activator.json │ │ │ └── forge │ │ │ │ └── loot_modifiers │ │ │ │ └── global_loot_modifiers.json │ │ └── assets │ │ │ ├── forge │ │ │ ├── icon.png │ │ │ ├── models │ │ │ │ └── item │ │ │ │ │ ├── bucket.json │ │ │ │ │ └── bucket_drip.json │ │ │ └── textures │ │ │ │ └── item │ │ │ │ └── mask │ │ │ │ ├── bucket_fluid.png │ │ │ │ ├── bucket_fluid_cover.png │ │ │ │ ├── bucket_fluid_drip.png │ │ │ │ └── bucket_fluid_cover_drip.png │ │ │ └── porting_lib │ │ │ ├── white.png │ │ │ └── lang │ │ │ └── en_us.json │ │ └── java │ │ └── io │ │ └── github │ │ └── fabricators_of_create │ │ └── porting_lib │ │ ├── extensions │ │ ├── common │ │ │ ├── GrindstoneMenuExtension.java │ │ │ ├── TiersExtension.java │ │ │ ├── ResourceLocationExtension.java │ │ │ └── TagAppenderExtension.java │ │ └── client │ │ │ └── TextureAtlasSpriteExtension.java │ │ ├── mixin │ │ ├── common │ │ │ └── BlockStateMixin.java │ │ └── client │ │ │ ├── PoseStackMixin.java │ │ │ ├── ClientLanguageAccessor.java │ │ │ └── TextureAtlasSprite$AnimatedTextureAccessor.java │ │ ├── client │ │ └── entity │ │ │ └── CustomBoatModel.java │ │ └── util │ │ ├── ScreenHelper.java │ │ └── MaterialChest.java │ └── build.gradle ├── .idea └── icon.png ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── CREDIT ├── src └── main │ └── resources │ └── assets │ └── porting_lib │ └── icon.png ├── CHANGELOG.txt └── .gitignore /modules/blocks/build.gradle: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/brewing/build.gradle: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/common/build.gradle: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/gametest/build.gradle: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/registry/build.gradle: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/render_types/build.gradle: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/chunk_loading/build.gradle: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/mixin_extensions/build.gradle: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/model_data/build.gradle: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /modules/client_extensions/build.gradle: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /modules/recipe_book_categories/build.gradle: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/fluids/build.gradle: -------------------------------------------------------------------------------- 1 | portingLib.enableTestMod() 2 | -------------------------------------------------------------------------------- /modules/items/build.gradle: -------------------------------------------------------------------------------- 1 | portingLib.enableTestMod() 2 | -------------------------------------------------------------------------------- /modules/tags/build.gradle: -------------------------------------------------------------------------------- 1 | portingLib.enableDatagen() 2 | -------------------------------------------------------------------------------- /modules/gui_utils/build.gradle: -------------------------------------------------------------------------------- 1 | portingLib.enableTestMod() 2 | -------------------------------------------------------------------------------- /modules/core/build.gradle: -------------------------------------------------------------------------------- 1 | portingLib.addModuleDependency("gametest") 2 | -------------------------------------------------------------------------------- /modules/attributes/build.gradle: -------------------------------------------------------------------------------- 1 | portingLib { 2 | enableTestMod() 3 | } 4 | -------------------------------------------------------------------------------- /modules/level_events/build.gradle: -------------------------------------------------------------------------------- 1 | portingLib.addModuleDependency("blocks") 2 | -------------------------------------------------------------------------------- /modules/transfer/build.gradle: -------------------------------------------------------------------------------- 1 | portingLib.addModuleDependency("fluids") 2 | -------------------------------------------------------------------------------- /modules/data/build.gradle: -------------------------------------------------------------------------------- 1 | portingLib.addModuleDependencies(["common", "resources"]) 2 | -------------------------------------------------------------------------------- /modules/entity_data_serializers/build.gradle: -------------------------------------------------------------------------------- 1 | portingLib { 2 | enableTestMod() 3 | } 4 | -------------------------------------------------------------------------------- /modules/model_loader/build.gradle: -------------------------------------------------------------------------------- 1 | portingLib.addModuleDependency("render_types") 2 | -------------------------------------------------------------------------------- /modules/loot/build.gradle: -------------------------------------------------------------------------------- 1 | portingLib.addModuleDependencies(["registry", "resources"]) 2 | -------------------------------------------------------------------------------- /.idea/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fabricators-of-Create/Porting-Lib/HEAD/.idea/icon.png -------------------------------------------------------------------------------- /modules/resources/build.gradle: -------------------------------------------------------------------------------- 1 | portingLib.addModuleDependencies([ 2 | "registry", 3 | "fluids" 4 | ]) 5 | -------------------------------------------------------------------------------- /modules/entity/build.gradle: -------------------------------------------------------------------------------- 1 | portingLib { 2 | addModuleDependency("mixin_extensions") 3 | enableTestMod() 4 | } 5 | -------------------------------------------------------------------------------- /modules/obj_loader/build.gradle: -------------------------------------------------------------------------------- 1 | portingLib { 2 | addModuleDependency("model_loader") 3 | enableTestMod() 4 | } 5 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/bookshelves.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [] 4 | } -------------------------------------------------------------------------------- /modules/client_events/build.gradle: -------------------------------------------------------------------------------- 1 | dependencies { 2 | modImplementation(include("com.github.Chocohead:Fabric-ASM:v2.3")) 3 | } 4 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fabricators-of-Create/Porting-Lib/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /modules/item_abilities/build.gradle: -------------------------------------------------------------------------------- 1 | portingLib.enableDatagen() 2 | 3 | portingLib.addModuleDependencies([ 4 | "level_events" 5 | ]) 6 | -------------------------------------------------------------------------------- /modules/models/build.gradle: -------------------------------------------------------------------------------- 1 | portingLib { 2 | addModuleDependencies(["model_loader", "transfer", "data"]) 3 | enableTestMod() 4 | } 5 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/enderman_place_on_blacklist.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [] 4 | } -------------------------------------------------------------------------------- /modules/items/src/testmod/resources/assets/porting_lib/lang/en_us.json: -------------------------------------------------------------------------------- 1 | { 2 | "item.porting_lib.no_repair_pick": "No Repair Pick" 3 | } 4 | -------------------------------------------------------------------------------- /CREDIT: -------------------------------------------------------------------------------- 1 | A lot of the mixins in this lib are replications of NeoForge features. 2 | Forge can be found here: https://github.com/neoforged/NeoForge 3 | -------------------------------------------------------------------------------- /modules/milk/build.gradle: -------------------------------------------------------------------------------- 1 | portingLib.addModuleDependencies(["data", "fluids"]) 2 | portingLib.enableDatagen() 3 | portingLib.enableTestMod() 4 | -------------------------------------------------------------------------------- /modules/milk/src/main/resources/assets/porting_lib/textures/block/milk_flowing.png.mcmeta: -------------------------------------------------------------------------------- 1 | { 2 | "animation": { 3 | "frametime": 2 4 | } 5 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/bones.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:bone" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/bows.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:bow" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/eggs.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:egg" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/items/src/testmod/resources/assets/porting_lib/models/item/no_repair_pick.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "minecraft:item/netherite_pickaxe" 3 | } 4 | -------------------------------------------------------------------------------- /modules/milk/src/main/resources/assets/porting_lib/textures/block/milk_still.png.mcmeta: -------------------------------------------------------------------------------- 1 | { 2 | "animation": { 3 | "frametime": 3 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/barrels.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:wooden_barrels" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/gravel.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:gravel" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/barrels.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:wooden_barrels" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/diamonds.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:diamond" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/emeralds.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:emerald" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/enchanting_fuels.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:lapis" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/feathers.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:feather" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/gravel.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:gravel" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/leather.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:leather" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/quartz.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:quartz" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/red_dyes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:red_dye" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/shears.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:shears" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/shields.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:shield" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/string.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:string" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/tridents.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:trident" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/config/src/main/resources/META-INF/defaultportinglibconfig.toml: -------------------------------------------------------------------------------- 1 | #Default config path for servers 2 | defaultConfigPath = "defaultconfigs" 3 | 4 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/coal_ores.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#minecraft:coal_ores" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/colorless_sand.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:sand" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/end_stones.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:end_stone" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/gold_ores.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#minecraft:gold_ores" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/iron_ores.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#minecraft:iron_ores" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/obsidian.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:obsidian" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/red_sand.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:red_sand" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/black_dyes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:black_dye" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/blaze_rods.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:blaze_rod" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/blue_dyes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:blue_dye" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/brick_ingots.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:brick" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/brown_dyes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:brown_dye" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/coal_ores.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#minecraft:coal_ores" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/colorless_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:glass" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/colorless_sand.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:sand" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/crops/carrot.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:carrot" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/crops/potato.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:potato" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/crops/wheat.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:wheat" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/crossbows.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:crossbow" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/cyan_dyes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:cyan_dye" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/end_stones.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:end_stone" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/gold_ores.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#minecraft:gold_ores" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/gray_dyes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:gray_dye" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/green_dyes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:green_dye" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/gunpowder.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:gunpowder" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/iron_ores.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#minecraft:iron_ores" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/lapis.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:lapis_lazuli" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/lime_dyes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:lime_dye" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/netherrack.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:netherrack" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/obsidian.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:obsidian" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/pink_dyes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:pink_dye" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/red_sand.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:red_sand" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/slimeballs.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:slime_ball" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/white_dyes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:white_dye" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/wooden_barrels.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:barrel" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/wooden_rods.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:stick" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/coal_blocks.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:coal_block" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/colorless_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:glass" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/copper_ores.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#minecraft:copper_ores" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/ender_chests.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:ender_chest" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/fence_gates.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:wooden_fence_gates" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/gold_blocks.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:gold_block" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/iron_blocks.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:iron_block" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/lapis_blocks.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:lapis_block" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/lapis_ores.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#minecraft:lapis_ores" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/netherrack.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:netherrack" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/tinted_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:tinted_glass" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/wooden_barrels.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:barrel" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/amethyst.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:amethyst_shard" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/coal_blocks.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:coal_block" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/copper_blocks.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:copper_block" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/copper_ingots.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:copper_ingot" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/copper_ores.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#minecraft:copper_ores" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/crops/beetroot.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:beetroot" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/diamond_ores.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#minecraft:diamond_ores" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/dusts/redstone.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:redstone" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/emerald_ores.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#minecraft:emerald_ores" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/ender_chests.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:ender_chest" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/ender_pearls.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:ender_pearl" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/fence_gates.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:wooden_fence_gates" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/fishing_rods.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:fishing_rod" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/gold_blocks.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:gold_block" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/gold_ingots.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:gold_ingot" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/gold_nuggets.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:gold_nugget" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/iron_blocks.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:iron_block" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/iron_ingots.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:iron_ingot" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/iron_nuggets.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:iron_nugget" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/lapis_blocks.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:lapis_block" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/lapis_ores.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#minecraft:lapis_ores" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/magenta_dyes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:magenta_dye" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/melon_seeds.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:melon_seeds" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/nether_stars.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:nether_star" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/orange_dyes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:orange_dye" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/purple_dyes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:purple_dye" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/quartz_blocks.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:quartz_block" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/tinted_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:tinted_glass" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/wheat_seeds.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:wheat_seeds" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/yellow_dyes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:yellow_dye" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/worldgen/biome/is_desert.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:desert" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/worldgen/biome/is_underground.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:is_cave" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/worldgen/biome/is_void.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:the_void" 5 | ] 6 | } -------------------------------------------------------------------------------- /src/main/resources/assets/porting_lib/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fabricators-of-Create/Porting-Lib/HEAD/src/main/resources/assets/porting_lib/icon.png -------------------------------------------------------------------------------- /modules/base/src/main/resources/data/c/tags/blocks/rails/activator.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:activator_rail" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/amethyst_blocks.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:amethyst_block" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/blue_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:blue_stained_glass" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/copper_blocks.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:copper_block" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/cyan_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:cyan_stained_glass" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/diamond_blocks.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:diamond_block" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/diamond_ores.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#minecraft:diamond_ores" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/emerald_blocks.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:emerald_block" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/emerald_ores.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#minecraft:emerald_ores" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/gray_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:gray_stained_glass" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/lime_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:lime_stained_glass" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/normal_cobblestone.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:cobblestone" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/ore_bearing_ground/stone.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:stone" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/pink_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:pink_stained_glass" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/quartz_blocks.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:quartz_block" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/quartz_ores.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:nether_quartz_ore" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/raw_gold_blocks.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:raw_gold_block" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/raw_iron_blocks.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:raw_iron_block" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/red_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:red_stained_glass" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/redstone_blocks.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:redstone_block" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/redstone_ores.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#minecraft:redstone_ores" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/trapped_chests.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:trapped_chest" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/wooden_fences.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#minecraft:wooden_fences" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/amethyst_blocks.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:amethyst_block" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/beetroot_seeds.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:beetroot_seeds" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/black_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:black_stained_glass" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/blue_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:blue_stained_glass" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/brown_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:brown_stained_glass" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/copper_raw_materials.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:raw_copper" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/crops/nether_wart.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:nether_wart" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/cyan_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:cyan_stained_glass" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/diamond_blocks.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:diamond_block" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/dusts/glowstone.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:glowstone_dust" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/emerald_blocks.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:emerald_block" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/gold_raw_materials.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:raw_gold" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/gray_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:gray_stained_glass" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/green_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:green_stained_glass" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/iron_raw_materials.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:raw_iron" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/light_blue_dyes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:light_blue_dye" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/light_gray_dyes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:light_gray_dye" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/lime_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:lime_stained_glass" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/normal_cobblestone.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:cobblestone" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/ore_bearing_ground/stone.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:stone" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/pink_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:pink_stained_glass" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/prismarine.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:prismarine_crystals" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/pumpkin_seeds.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:pumpkin_seeds" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/quartz_ores.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:nether_quartz_ore" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/raw_gold_blocks.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:raw_gold_block" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/raw_iron_blocks.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:raw_iron_block" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/red_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:red_stained_glass" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/redstone_blocks.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:redstone_block" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/redstone_ores.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#minecraft:redstone_ores" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/trapped_chests.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:trapped_chest" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/white_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:white_stained_glass" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/wooden_fences.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#minecraft:wooden_fences" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/worldgen/biome/is_lush.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:lush_caves" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/.cache/6962ca521ed0f04c0af588ee702ea5e92dd92bbf: -------------------------------------------------------------------------------- 1 | // 1.20.4 2024-02-27T17:28:32.987991429 Porting Lib Tags/Tags for minecraft:fluid 2 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/black_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:black_stained_glass" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/brown_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:brown_stained_glass" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/colorless_glass_panes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:glass_pane" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/green_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:green_stained_glass" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/magenta_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:magenta_stained_glass" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/mossy_cobblestone.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:mossy_cobblestone" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/netherite_blocks.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:netherite_block" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/netherite_scrap_ores.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:ancient_debris" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/orange_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:orange_stained_glass" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/ore_rates/sparse.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:nether_gold_ore" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/purple_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:purple_stained_glass" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/raw_copper_blocks.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:raw_copper_block" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/sand.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:colorless_sand", 5 | "#c:red_sand" 6 | ] 7 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/white_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:white_stained_glass" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/yellow_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:yellow_stained_glass" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/colorless_glass_panes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:glass_pane" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/dusts/prismarine.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:prismarine_shard" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/magenta_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:magenta_stained_glass" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/mossy_cobblestone.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:mossy_cobblestone" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/nether_brick_ingots.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:nether_brick" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/netherite_blocks.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:netherite_block" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/netherite_ingots.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:netherite_ingot" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/netherite_scrap_ores.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:ancient_debris" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/orange_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:orange_stained_glass" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/ore_rates/sparse.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:nether_gold_ore" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/purple_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:purple_stained_glass" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/raw_copper_blocks.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:raw_copper_block" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/rods.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:blaze_rods", 5 | "#c:wooden_rods" 6 | ] 7 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/sand.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:colorless_sand", 5 | "#c:red_sand" 6 | ] 7 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/yellow_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:yellow_stained_glass" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/worldgen/biome/is_mushroom.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:mushroom_fields" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/worldgen/biome/is_wasteland.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:snowy_plains" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/base/src/main/resources/assets/forge/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fabricators-of-Create/Porting-Lib/HEAD/modules/base/src/main/resources/assets/forge/icon.png -------------------------------------------------------------------------------- /modules/client_events/src/main/resources/porting_lib_client_events.accesswidener: -------------------------------------------------------------------------------- 1 | accessWidener v2 named 2 | accessible class net/minecraft/client/renderer/FogRenderer$FogData 3 | -------------------------------------------------------------------------------- /modules/milk/src/main/resources/assets/porting_lib/lang/en_us.json: -------------------------------------------------------------------------------- 1 | { 2 | "fluid_type.porting_lib.milk": "Milk", 3 | "fluid_type.porting_lib.flowing_milk": "Milk" 4 | } 5 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/blue_glass_panes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:blue_stained_glass_pane" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/cyan_glass_panes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:cyan_stained_glass_pane" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/deepslate_cobblestone.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:cobbled_deepslate" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/gray_glass_panes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:gray_stained_glass_pane" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/lime_glass_panes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:lime_stained_glass_pane" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/nether_brick_fences.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:nether_brick_fence" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/ore_bearing_ground/deepslate.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:deepslate" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/ore_bearing_ground/netherrack.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:netherrack" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/pink_glass_panes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:pink_stained_glass_pane" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/red_glass_panes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:red_stained_glass_pane" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/blue_glass_panes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:blue_stained_glass_pane" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/cyan_glass_panes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:cyan_stained_glass_pane" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/deepslate_cobblestone.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:cobbled_deepslate" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/gray_glass_panes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:gray_stained_glass_pane" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/infested_cobblestone.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:infested_cobblestone" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/light_blue_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:light_blue_stained_glass" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/light_gray_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:light_gray_stained_glass" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/lime_glass_panes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:lime_stained_glass_pane" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/nether_brick_fences.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:nether_brick_fence" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/nuggets.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:iron_nuggets", 5 | "#c:gold_nuggets" 6 | ] 7 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/ore_bearing_ground/deepslate.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:deepslate" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/ore_bearing_ground/netherrack.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:netherrack" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/pink_glass_panes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:pink_stained_glass_pane" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/red_glass_panes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:red_stained_glass_pane" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/brewing/src/main/resources/porting_lib_brewing.accesswidener: -------------------------------------------------------------------------------- 1 | accessWidener v2 named 2 | 3 | transitive-accessible class net/minecraft/world/item/alchemy/PotionBrewing$Mix 4 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/black_glass_panes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:black_stained_glass_pane" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/brown_glass_panes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:brown_stained_glass_pane" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/green_glass_panes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:green_stained_glass_pane" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/infested_cobblestone.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:infested_cobblestone" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/light_blue_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:light_blue_stained_glass" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/light_gray_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:light_gray_stained_glass" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/orange_glass_panes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:orange_stained_glass_pane" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/purple_glass_panes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:purple_stained_glass_pane" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/white_glass_panes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:white_stained_glass_pane" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/yellow_glass_panes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:yellow_stained_glass_pane" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/black_glass_panes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:black_stained_glass_pane" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/brown_glass_panes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:brown_stained_glass_pane" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/green_glass_panes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:green_stained_glass_pane" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/magenta_glass_panes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:magenta_stained_glass_pane" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/orange_glass_panes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:orange_stained_glass_pane" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/purple_glass_panes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:purple_stained_glass_pane" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/white_glass_panes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:white_stained_glass_pane" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/yellow_glass_panes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:yellow_stained_glass_pane" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/worldgen/biome/is_mountain.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:is_peak", 5 | "#c:is_slope" 6 | ] 7 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/fences.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:nether_brick_fences", 5 | "#c:wooden_fences" 6 | ] 7 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/magenta_glass_panes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:magenta_stained_glass_pane" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/fences.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:nether_brick_fences", 5 | "#c:wooden_fences" 6 | ] 7 | } -------------------------------------------------------------------------------- /modules/base/src/main/resources/assets/porting_lib/white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fabricators-of-Create/Porting-Lib/HEAD/modules/base/src/main/resources/assets/porting_lib/white.png -------------------------------------------------------------------------------- /modules/obj_loader/src/testmod/resources/assets/porting_lib/models/item/ring.mtl: -------------------------------------------------------------------------------- 1 | # Made in Blockbench 4.7.4 2 | newmtl m_2ed8a15e-639a-5f2e-c47f-20a79a4327fa 3 | map_Kd #0 4 | newmtl none 5 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/light_blue_glass_panes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:light_blue_stained_glass_pane" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/light_gray_glass_panes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:light_gray_stained_glass_pane" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/wooden_chests.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:chest", 5 | "minecraft:trapped_chest" 6 | ] 7 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/entity_types/bosses.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:ender_dragon", 5 | "minecraft:wither" 6 | ] 7 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/light_blue_glass_panes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:light_blue_stained_glass_pane" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/light_gray_glass_panes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:light_gray_stained_glass_pane" 5 | ] 6 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/wooden_chests.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:chest", 5 | "minecraft:trapped_chest" 6 | ] 7 | } -------------------------------------------------------------------------------- /CHANGELOG.txt: -------------------------------------------------------------------------------- 1 | - Updated to 1.20.4. View the migration guide here: https://github.com/Fabricators-of-Create/Porting-Lib/wiki/1.20.1-to-1.20.4 2 | - Completely refactored how releases are done 3 | -------------------------------------------------------------------------------- /modules/entity/src/main/resources/assets/porting_lib_entity/lang/en_us.json: -------------------------------------------------------------------------------- 1 | { 2 | "porting_lib.network.advanced_add_entity.failed": "Failed to process advanced entity spawn data: %s" 3 | } 4 | -------------------------------------------------------------------------------- /modules/mixin_extensions/src/main/resources/META-INF/services/javax.annotation.processing.Processor: -------------------------------------------------------------------------------- 1 | io.github.fabricators_of_create.porting_lib.mixin_extensions.init.PortingLibMixinExtensionsAP 2 | -------------------------------------------------------------------------------- /modules/models/src/testmod/resources/assets/porting_lib/blockstates/not_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "variants": { 3 | "": { 4 | "model": "porting_lib:block/not_glass" 5 | } 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/glass_panes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:colorless_glass_panes", 5 | "#c:stained_glass_panes" 6 | ] 7 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/glass_panes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:colorless_glass_panes", 5 | "#c:stained_glass_panes" 6 | ] 7 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/mushrooms.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:brown_mushroom", 5 | "minecraft:red_mushroom" 6 | ] 7 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/worldgen/biome/is_spooky.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:dark_forest", 5 | "minecraft:deep_dark" 6 | ] 7 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/worldgen/biome/is_swamp.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:swamp", 5 | "minecraft:mangrove_swamp" 6 | ] 7 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/worldgen/biome/is_water.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#minecraft:is_ocean", 5 | "#minecraft:is_river" 6 | ] 7 | } -------------------------------------------------------------------------------- /modules/gametest/src/main/resources/assets/porting_lib/models/item/area_selector.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "item/generated", 3 | "textures": { 4 | "layer0": "minecraft:item/stick" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/chests.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:ender_chests", 5 | "#c:trapped_chests", 6 | "#c:wooden_chests" 7 | ] 8 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/chests.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:ender_chests", 5 | "#c:trapped_chests", 6 | "#c:wooden_chests" 7 | ] 8 | } -------------------------------------------------------------------------------- /modules/transfer/src/main/resources/porting_lib_transfer.accesswidener: -------------------------------------------------------------------------------- 1 | accessWidener v2 named 2 | accessible field net/minecraft/world/item/BucketItem content Lnet/minecraft/world/level/material/Fluid; 3 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/armors.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:helmets", 5 | "#c:chestplates", 6 | "#c:leggings", 7 | "#c:boots" 8 | ] 9 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/dusts.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:dusts/glowstone", 5 | "#c:dusts/prismarine", 6 | "#c:dusts/redstone" 7 | ] 8 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/glass_blocks.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:colorless_glass", 5 | "#c:stained_glass", 6 | "#c:tinted_glass" 7 | ] 8 | } -------------------------------------------------------------------------------- /modules/blocks/src/main/resources/porting_lib_blocks.accesswidener: -------------------------------------------------------------------------------- 1 | accessWidener v2 named 2 | 3 | transitive-accessible class net/minecraft/world/level/lighting/BlockLightSectionStorage$BlockDataLayerStorageMap 4 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/glass_blocks.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:colorless_glass", 5 | "#c:stained_glass", 6 | "#c:tinted_glass" 7 | ] 8 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/ores_in_ground/netherrack.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:nether_gold_ore", 5 | "minecraft:nether_quartz_ore" 6 | ] 7 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/ores_in_ground/netherrack.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:nether_gold_ore", 5 | "minecraft:nether_quartz_ore" 6 | ] 7 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/worldgen/biome/is_dry.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:is_dry/overworld", 5 | "#c:is_dry/nether", 6 | "#c:is_dry/end" 7 | ] 8 | } -------------------------------------------------------------------------------- /modules/items/src/main/java/io/github/fabricators_of_create/porting_lib/item/extensions/CustomMapItem.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.item.extensions; 2 | 3 | public interface CustomMapItem {} 4 | -------------------------------------------------------------------------------- /modules/base/src/main/resources/assets/forge/models/item/bucket.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "parent": "forge:item/default", 4 | "textures": { 5 | "base": "item/bucket", 6 | "fluid": "forge:item/mask/bucket_fluid" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /modules/base/src/main/resources/assets/forge/textures/item/mask/bucket_fluid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fabricators-of-Create/Porting-Lib/HEAD/modules/base/src/main/resources/assets/forge/textures/item/mask/bucket_fluid.png -------------------------------------------------------------------------------- /modules/milk/src/main/resources/assets/porting_lib/textures/block/milk_flowing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fabricators-of-Create/Porting-Lib/HEAD/modules/milk/src/main/resources/assets/porting_lib/textures/block/milk_flowing.png -------------------------------------------------------------------------------- /modules/milk/src/main/resources/assets/porting_lib/textures/block/milk_still.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fabricators-of-Create/Porting-Lib/HEAD/modules/milk/src/main/resources/assets/porting_lib/textures/block/milk_still.png -------------------------------------------------------------------------------- /modules/models/src/testmod/resources/assets/porting_lib/lang/en_us.json: -------------------------------------------------------------------------------- 1 | { 2 | "item.porting_lib.derp_helmet": "Derpy Helmet", 3 | "item.porting_lib.stone_2": "Stone 2", 4 | "block.porting_lib.not_glass": "Not Glass" 5 | } 6 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/raw_materials.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:copper_raw_materials", 5 | "#c:gold_raw_materials", 6 | "#c:iron_raw_materials" 7 | ] 8 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/seeds.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:beetroot_seeds", 5 | "#c:melon_seeds", 6 | "#c:pumpkin_seeds", 7 | "#c:wheat_seeds" 8 | ] 9 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/worldgen/biome/is_cave.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:lush_caves", 5 | "minecraft:dripstone_caves", 6 | "minecraft:deep_dark" 7 | ] 8 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/worldgen/biome/is_peak.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:jagged_peaks", 5 | "minecraft:frozen_peaks", 6 | "minecraft:stony_peaks" 7 | ] 8 | } -------------------------------------------------------------------------------- /modules/base/build.gradle: -------------------------------------------------------------------------------- 1 | portingLib.addModuleDependencies([ 2 | "item_abilities", 3 | "gui_utils", 4 | "transfer", 5 | "registry", 6 | "entity", 7 | "common", 8 | "config", 9 | "loot", 10 | "tags" 11 | ]) 12 | -------------------------------------------------------------------------------- /modules/base/src/main/resources/assets/forge/models/item/bucket_drip.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "forge:item/default", 3 | "textures": { 4 | "base": "item/bucket", 5 | "fluid": "forge:item/mask/bucket_fluid_drip" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /modules/models/src/testmod/resources/assets/porting_lib/models/block/not_glass.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "minecraft:block/cube_all", 3 | "textures": { 4 | "all": "minecraft:block/glass" 5 | }, 6 | "render_type": "cutout" 7 | } 8 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/worldgen/biome/is_plateau.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:savanna_plateau", 5 | "minecraft:wooded_badlands", 6 | "minecraft:meadow" 7 | ] 8 | } -------------------------------------------------------------------------------- /modules/base/src/main/resources/assets/forge/textures/item/mask/bucket_fluid_cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fabricators-of-Create/Porting-Lib/HEAD/modules/base/src/main/resources/assets/forge/textures/item/mask/bucket_fluid_cover.png -------------------------------------------------------------------------------- /modules/base/src/main/resources/assets/forge/textures/item/mask/bucket_fluid_drip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fabricators-of-Create/Porting-Lib/HEAD/modules/base/src/main/resources/assets/forge/textures/item/mask/bucket_fluid_drip.png -------------------------------------------------------------------------------- /modules/entity/src/main/resources/porting_lib_entity.accesswidener: -------------------------------------------------------------------------------- 1 | accessWidener v2 named 2 | accessible class net/minecraft/server/commands/TeleportCommand$LookAt 3 | accessible class net/minecraft/world/effect/MobEffectInstance$Details 4 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/.cache/878c0710f526c0b7873f5817de08efcf0d1534b7: -------------------------------------------------------------------------------- 1 | // 1.20.4 2024-02-27T17:28:32.988129019 Porting Lib Tags/Language (en_us) 2 | 78b0ee2d54b8ba49de56c1a9feddd39c1e6bf7e9 assets/porting_lib_tags/lang/en_us.json 3 | -------------------------------------------------------------------------------- /modules/base/src/main/resources/assets/forge/textures/item/mask/bucket_fluid_cover_drip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fabricators-of-Create/Porting-Lib/HEAD/modules/base/src/main/resources/assets/forge/textures/item/mask/bucket_fluid_cover_drip.png -------------------------------------------------------------------------------- /modules/client_events/src/main/resources/fabric.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 1, 3 | "id": "porting_lib_client_events", 4 | "version": "${version}", 5 | "name": "Porting Lib Client Events", 6 | "description": "Some useful client events" 7 | } 8 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/.cache/adaca8b06aaaf3f4d67b9cca4cb2c5464edbdcad: -------------------------------------------------------------------------------- 1 | // 1.20.4 2024-02-27T17:28:32.987840089 Porting Lib Tags/Tags for minecraft:entity_type 2 | 0665996927b87d279189dd6615072cd29f4ddc63 data/c/tags/entity_types/bosses.json 3 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/worldgen/biome/is_sandy.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:desert", 5 | "minecraft:beach", 6 | "minecraft:badlands", 7 | "minecraft:wooded_badlands" 8 | ] 9 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/cobblestone.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:normal_cobblestone", 5 | "#c:infested_cobblestone", 6 | "#c:mossy_cobblestone", 7 | "#c:deepslate_cobblestone" 8 | ] 9 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/worldgen/biome/is_plains.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:plains", 5 | "minecraft:snowy_plains", 6 | "minecraft:meadow", 7 | "minecraft:sunflower_plains" 8 | ] 9 | } -------------------------------------------------------------------------------- /modules/entity/src/main/java/io/github/fabricators_of_create/porting_lib/entity/RemovalFromWorldListener.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.entity; 2 | 3 | public interface RemovalFromWorldListener { 4 | void onRemovedFromWorld(); 5 | } 6 | -------------------------------------------------------------------------------- /modules/gametest/src/main/resources/data/porting_lib_gametest/structures/gametest/platform/18x3.nbt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fabricators-of-Create/Porting-Lib/HEAD/modules/gametest/src/main/resources/data/porting_lib_gametest/structures/gametest/platform/18x3.nbt -------------------------------------------------------------------------------- /modules/gametest/src/main/resources/data/porting_lib_gametest/structures/gametest/platform/3x3.nbt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fabricators-of-Create/Porting-Lib/HEAD/modules/gametest/src/main/resources/data/porting_lib_gametest/structures/gametest/platform/3x3.nbt -------------------------------------------------------------------------------- /modules/gametest/src/main/resources/data/porting_lib_gametest/structures/gametest/platform/5x5.nbt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fabricators-of-Create/Porting-Lib/HEAD/modules/gametest/src/main/resources/data/porting_lib_gametest/structures/gametest/platform/5x5.nbt -------------------------------------------------------------------------------- /modules/gametest/src/main/resources/data/porting_lib_gametest/structures/gametest/platform/7x7.nbt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fabricators-of-Create/Porting-Lib/HEAD/modules/gametest/src/main/resources/data/porting_lib_gametest/structures/gametest/platform/7x7.nbt -------------------------------------------------------------------------------- /modules/gametest/src/main/resources/data/porting_lib_gametest/structures/gametest/platform/9x9.nbt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fabricators-of-Create/Porting-Lib/HEAD/modules/gametest/src/main/resources/data/porting_lib_gametest/structures/gametest/platform/9x9.nbt -------------------------------------------------------------------------------- /modules/level_events/src/main/resources/fabric.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 1, 3 | "id": "porting_lib_level_events", 4 | "version": "${version}", 5 | "name": "Porting Lib Level Events", 6 | "description": "Provides common level events for mods." 7 | } 8 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/cobblestone.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:normal_cobblestone", 5 | "#c:infested_cobblestone", 6 | "#c:mossy_cobblestone", 7 | "#c:deepslate_cobblestone" 8 | ] 9 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/gems.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:amethyst", 5 | "#c:diamonds", 6 | "#c:emeralds", 7 | "#c:lapis", 8 | "#c:prismarine", 9 | "#c:quartz" 10 | ] 11 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/worldgen/biome/is_coniferous.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:taiga", 5 | "minecraft:snowy_taiga", 6 | "minecraft:old_growth_pine_taiga", 7 | "minecraft:grove" 8 | ] 9 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/crops.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:crops/beetroot", 5 | "#c:crops/carrot", 6 | "#c:crops/nether_wart", 7 | "#c:crops/potato", 8 | "#c:crops/wheat" 9 | ] 10 | } -------------------------------------------------------------------------------- /modules/gametest/src/main/resources/data/porting_lib_gametest/structures/gametest/test_testing/test.nbt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Fabricators-of-Create/Porting-Lib/HEAD/modules/gametest/src/main/resources/data/porting_lib_gametest/structures/gametest/test_testing/test.nbt -------------------------------------------------------------------------------- /modules/mixin_extensions/src/main/resources/fabric.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 1, 3 | "id": "porting_lib_mixin_extensions", 4 | "version": "${version}", 5 | "name": "Porting Lib Mixin Extensions", 6 | "description": "Additional features for use in Mixins." 7 | } 8 | -------------------------------------------------------------------------------- /modules/model_data/src/main/resources/fabric.mod.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "schemaVersion": 1, 4 | "id": "porting_lib_model_data", 5 | "version": "${version}", 6 | "name": "Porting Lib Model Data", 7 | "description": "Addon to model api to make building model data easier." 8 | } 9 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/worldgen/biome/is_hot.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:is_hot/overworld", 5 | "#c:is_hot/nether", 6 | { 7 | "id": "#c:is_hot/end", 8 | "required": false 9 | } 10 | ] 11 | } -------------------------------------------------------------------------------- /modules/client_extensions/src/main/resources/fabric.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 1, 3 | "id": "porting_lib_client_extensions", 4 | "version": "${version}", 5 | "name": "Porting Lib Client Extensions", 6 | "description": "Client extensions for various things in mc" 7 | } 8 | -------------------------------------------------------------------------------- /modules/milk/src/generated/resources/data/c/tags/fluid/milk.json: -------------------------------------------------------------------------------- 1 | { 2 | "values": [ 3 | { 4 | "id": "porting_lib:milk", 5 | "required": false 6 | }, 7 | { 8 | "id": "porting_lib:flowing_milk", 9 | "required": false 10 | } 11 | ] 12 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/worldgen/biome/is_cold.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:is_cold/overworld", 5 | { 6 | "id": "#c:is_cold/nether", 7 | "required": false 8 | }, 9 | "#c:is_cold/end" 10 | ] 11 | } -------------------------------------------------------------------------------- /modules/attributes/src/main/resources/assets/porting_lib/lang/en_us.json: -------------------------------------------------------------------------------- 1 | { 2 | "porting_lib.swim_speed": "Swim Speed", 3 | "porting_lib.name_tag_distance": "Nametag Render Distance", 4 | "porting_lib.entity_gravity": "Gravity", 5 | "porting_lib.step_height": "Step Height" 6 | } 7 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/worldgen/biome/is_dense/overworld.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:jungle", 5 | "minecraft:dark_forest", 6 | "minecraft:old_growth_birch_forest", 7 | "minecraft:old_growth_spruce_taiga" 8 | ] 9 | } -------------------------------------------------------------------------------- /modules/registry/src/main/resources/porting_lib_registry.accesswidener: -------------------------------------------------------------------------------- 1 | accessWidener v2 named 2 | 3 | transitive-accessible method net/minecraft/resources/ResourceKey create (Lnet/minecraft/resources/ResourceLocation;Lnet/minecraft/resources/ResourceLocation;)Lnet/minecraft/resources/ResourceKey; 4 | -------------------------------------------------------------------------------- /modules/blocks/src/main/java/io/github/fabricators_of_create/porting_lib/blocks/extensions/ChunkUnloadListeningBlockEntity.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.blocks.extensions; 2 | 3 | public interface ChunkUnloadListeningBlockEntity { 4 | default void onChunkUnloaded() {} 5 | } 6 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/ingots.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:brick_ingots", 5 | "#c:copper_ingots", 6 | "#c:gold_ingots", 7 | "#c:iron_ingots", 8 | "#c:netherite_ingots", 9 | "#c:nether_brick_ingots" 10 | ] 11 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/worldgen/biome/is_slope.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:savanna_plateau", 5 | "minecraft:wooded_badlands", 6 | "minecraft:meadow", 7 | "minecraft:grove", 8 | "minecraft:snowy_slopes" 9 | ] 10 | } -------------------------------------------------------------------------------- /modules/obj_loader/src/testmod/resources/assets/porting_lib/models/item/ring.json: -------------------------------------------------------------------------------- 1 | { 2 | "parent": "block/block", 3 | "loader": "porting_lib:obj", 4 | "flip-v": true, 5 | "model": "porting_lib:models/item/ring.obj", 6 | "textures": { 7 | "0": "minecraft:block/gold_block" 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /modules/recipe_book_categories/src/main/resources/fabric.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 1, 3 | "id": "porting_lib_recipe_book_categories", 4 | "version": "${version}", 5 | "name": "Porting Lib Recipe Book Categories", 6 | "description": "Adds a api for adding custom recipe book categories." 7 | } 8 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/worldgen/biome/is_cold/end.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:the_end", 5 | "minecraft:small_end_islands", 6 | "minecraft:end_midlands", 7 | "minecraft:end_highlands", 8 | "minecraft:end_barrens" 9 | ] 10 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/worldgen/biome/is_dry/end.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:the_end", 5 | "minecraft:small_end_islands", 6 | "minecraft:end_midlands", 7 | "minecraft:end_highlands", 8 | "minecraft:end_barrens" 9 | ] 10 | } -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip 4 | networkTimeout=10000 5 | validateDistributionUrl=true 6 | zipStoreBase=GRADLE_USER_HOME 7 | zipStorePath=wrapper/dists 8 | -------------------------------------------------------------------------------- /modules/mixin_extensions/src/main/resources/porting_lib_mixin_extensions.mixins.json: -------------------------------------------------------------------------------- 1 | { 2 | "required": true, 3 | "minVersion": "0.8", 4 | "compatibilityLevel": "JAVA_17", 5 | "plugin": "io.github.fabricators_of_create.porting_lib.mixin_extensions.init.PortingLibMixinExtensionsPlugin", 6 | "package": "" 7 | } 8 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/worldgen/biome/is_dry/overworld.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:desert", 5 | "minecraft:badlands", 6 | "minecraft:wooded_badlands", 7 | "minecraft:windswept_savanna", 8 | "minecraft:eroded_badlands" 9 | ] 10 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/axes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:wooden_axe", 5 | "minecraft:stone_axe", 6 | "minecraft:iron_axe", 7 | "minecraft:golden_axe", 8 | "minecraft:diamond_axe", 9 | "minecraft:netherite_axe" 10 | ] 11 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/hoes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:wooden_hoe", 5 | "minecraft:stone_hoe", 6 | "minecraft:iron_hoe", 7 | "minecraft:golden_hoe", 8 | "minecraft:diamond_hoe", 9 | "minecraft:netherite_hoe" 10 | ] 11 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/worldgen/biome/is_dry/nether.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:nether_wastes", 5 | "minecraft:soul_sand_valley", 6 | "minecraft:crimson_forest", 7 | "minecraft:warped_forest", 8 | "minecraft:basalt_deltas" 9 | ] 10 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/worldgen/biome/is_hot/nether.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:nether_wastes", 5 | "minecraft:soul_sand_valley", 6 | "minecraft:crimson_forest", 7 | "minecraft:warped_forest", 8 | "minecraft:basalt_deltas" 9 | ] 10 | } -------------------------------------------------------------------------------- /modules/base/src/main/resources/assets/porting_lib/lang/en_us.json: -------------------------------------------------------------------------------- 1 | { 2 | "commands.porting_lib.arguments.enum.invalid": "Enum constant must be one of {0}, found {1}", 3 | 4 | "commands.config.getwithtype": "Config for %s of type %s found at %s", 5 | "commands.config.noconfig": "Config for %s of type %s not found" 6 | } 7 | -------------------------------------------------------------------------------- /modules/gametest/src/main/resources/porting_lib_gametest.accesswidener: -------------------------------------------------------------------------------- 1 | accessWidener v2 named 2 | 3 | transitive-accessible field net/minecraft/gametest/framework/GameTestHelper testInfo Lnet/minecraft/gametest/framework/GameTestInfo; 4 | 5 | accessible field net/minecraft/gametest/framework/GameTestHelper finalCheckAdded Z 6 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/swords.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:wooden_sword", 5 | "minecraft:stone_sword", 6 | "minecraft:iron_sword", 7 | "minecraft:golden_sword", 8 | "minecraft:diamond_sword", 9 | "minecraft:netherite_sword" 10 | ] 11 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/boots.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:leather_boots", 5 | "minecraft:chainmail_boots", 6 | "minecraft:iron_boots", 7 | "minecraft:golden_boots", 8 | "minecraft:diamond_boots", 9 | "minecraft:netherite_boots" 10 | ] 11 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/worldgen/biome/is_wet.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:is_wet/overworld", 5 | { 6 | "id": "#c:is_wet/nether", 7 | "required": false 8 | }, 9 | { 10 | "id": "#c:is_wet/end", 11 | "required": false 12 | } 13 | ] 14 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/heads.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:creeper_head", 5 | "minecraft:dragon_head", 6 | "minecraft:player_head", 7 | "minecraft:skeleton_skull", 8 | "minecraft:wither_skeleton_skull", 9 | "minecraft:zombie_head" 10 | ] 11 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/shovels.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:wooden_shovel", 5 | "minecraft:stone_shovel", 6 | "minecraft:iron_shovel", 7 | "minecraft:golden_shovel", 8 | "minecraft:diamond_shovel", 9 | "minecraft:netherite_shovel" 10 | ] 11 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/pickaxes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:wooden_pickaxe", 5 | "minecraft:stone_pickaxe", 6 | "minecraft:iron_pickaxe", 7 | "minecraft:golden_pickaxe", 8 | "minecraft:diamond_pickaxe", 9 | "minecraft:netherite_pickaxe" 10 | ] 11 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/worldgen/biome/is_dense.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:is_dense/overworld", 5 | { 6 | "id": "#c:is_dense/nether", 7 | "required": false 8 | }, 9 | { 10 | "id": "#c:is_dense/end", 11 | "required": false 12 | } 13 | ] 14 | } -------------------------------------------------------------------------------- /modules/loot/src/main/java/io/github/fabricators_of_create/porting_lib/loot/extensions/LootTableBuilderExtensions.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.loot.extensions; 2 | 3 | import net.minecraft.resources.ResourceLocation; 4 | 5 | public interface LootTableBuilderExtensions { 6 | void port_lib$setId(ResourceLocation id); 7 | } 8 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/tools.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:swords", 5 | "#c:axes", 6 | "#c:pickaxes", 7 | "#c:shovels", 8 | "#c:hoes", 9 | "#c:shields", 10 | "#c:bows", 11 | "#c:crossbows", 12 | "#c:fishing_rods", 13 | "#c:tridents" 14 | ] 15 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/worldgen/biome/is_sparse.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:is_sparse/overworld", 5 | { 6 | "id": "#c:is_sparse/nether", 7 | "required": false 8 | }, 9 | { 10 | "id": "#c:is_sparse/end", 11 | "required": false 12 | } 13 | ] 14 | } -------------------------------------------------------------------------------- /modules/tags/src/main/resources/porting_lib_tags.mixins.json: -------------------------------------------------------------------------------- 1 | { 2 | "required": true, 3 | "minVersion": "0.8", 4 | "package": "io.github.fabricators_of_create.porting_lib.tags.mixin", 5 | "compatibilityLevel": "JAVA_17", 6 | "injectors": { 7 | "defaultRequire": 1 8 | }, 9 | "mixins": [ 10 | "DyeColorMixin" 11 | ] 12 | } 13 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/leggings.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:leather_leggings", 5 | "minecraft:chainmail_leggings", 6 | "minecraft:iron_leggings", 7 | "minecraft:golden_leggings", 8 | "minecraft:diamond_leggings", 9 | "minecraft:netherite_leggings" 10 | ] 11 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # gradle 2 | 3 | .gradle/ 4 | build/ 5 | out/ 6 | classes/ 7 | 8 | # eclipse 9 | 10 | *.launch 11 | 12 | # idea 13 | 14 | .idea/ 15 | *.iml 16 | *.ipr 17 | *.iws 18 | 19 | # vscode 20 | 21 | .settings/ 22 | .vscode/ 23 | bin/ 24 | .classpath 25 | .project 26 | 27 | # macos 28 | 29 | *.DS_Store 30 | 31 | # fabric 32 | 33 | run/ 34 | -------------------------------------------------------------------------------- /modules/base/src/main/resources/data/forge/loot_modifiers/global_loot_modifiers.json: -------------------------------------------------------------------------------- 1 | { 2 | "comment": "Entries will be loaded, parsed, and executed in order, first to last. Duplicate entries will override earlier entries and missing entries will be ignored while replace:true will clear the list first.", 3 | "replace": false, 4 | "entries": [ 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /modules/blocks/src/main/java/io/github/fabricators_of_create/porting_lib/blocks/util/BlockEntityDataKeys.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.blocks.util; 2 | 3 | public class BlockEntityDataKeys { 4 | public static final String OLD_EXTRA_DATA_KEY = "PortingLibData"; 5 | public static final String EXTRA_DATA_KEY = "NeoForgeData"; 6 | } 7 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/ore_rates/dense.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:copper_ore", 5 | "minecraft:deepslate_copper_ore", 6 | "minecraft:deepslate_lapis_ore", 7 | "minecraft:deepslate_redstone_ore", 8 | "minecraft:lapis_ore", 9 | "minecraft:redstone_ore" 10 | ] 11 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/ore_rates/dense.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:copper_ore", 5 | "minecraft:deepslate_copper_ore", 6 | "minecraft:deepslate_lapis_ore", 7 | "minecraft:deepslate_redstone_ore", 8 | "minecraft:lapis_ore", 9 | "minecraft:redstone_ore" 10 | ] 11 | } -------------------------------------------------------------------------------- /modules/base/src/main/java/io/github/fabricators_of_create/porting_lib/extensions/common/GrindstoneMenuExtension.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.extensions.common; 2 | 3 | public interface GrindstoneMenuExtension { 4 | default int port_lib$getXp() { 5 | throw new RuntimeException("this should be overridden via mixin. what?"); 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/worldgen/biome/is_wet/overworld.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:swamp", 5 | "minecraft:jungle", 6 | "minecraft:sparse_jungle", 7 | "minecraft:beach", 8 | "minecraft:bamboo_jungle", 9 | "minecraft:lush_caves", 10 | "minecraft:mangrove_swamp" 11 | ] 12 | } -------------------------------------------------------------------------------- /modules/base/src/main/java/io/github/fabricators_of_create/porting_lib/mixin/common/BlockStateMixin.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.mixin.common; 2 | 3 | import net.minecraft.world.level.block.state.BlockState; 4 | 5 | import org.spongepowered.asm.mixin.Mixin; 6 | 7 | @Mixin(BlockState.class) 8 | public class BlockStateMixin { 9 | } 10 | -------------------------------------------------------------------------------- /modules/config/build.gradle: -------------------------------------------------------------------------------- 1 | dependencies { 2 | // implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-toml:2.15.2") 3 | // TODO: use https://github.com/mwanji/toml4j/tree/master instead? night config is a little bloated 4 | 5 | api(include("com.electronwill.night-config:toml:3.8.0")) 6 | api(include("com.electronwill.night-config:core:3.8.0")) 7 | } 8 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/chestplates.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:leather_chestplate", 5 | "minecraft:chainmail_chestplate", 6 | "minecraft:iron_chestplate", 7 | "minecraft:golden_chestplate", 8 | "minecraft:diamond_chestplate", 9 | "minecraft:netherite_chestplate" 10 | ] 11 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/helmets.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:leather_helmet", 5 | "minecraft:turtle_helmet", 6 | "minecraft:chainmail_helmet", 7 | "minecraft:iron_helmet", 8 | "minecraft:golden_helmet", 9 | "minecraft:diamond_helmet", 10 | "minecraft:netherite_helmet" 11 | ] 12 | } -------------------------------------------------------------------------------- /modules/items/src/main/java/io/github/fabricators_of_create/porting_lib/item/ItemHelper.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.item; 2 | 3 | /** 4 | * Helper class to provide easy access to checking item extensions 5 | */ 6 | public class ItemHelper { // Empty for now (1.21.5 possibly remove this in favor of removing extensions and use operations instead) 7 | 8 | } 9 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/ores.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:coal_ores", 5 | "#c:copper_ores", 6 | "#c:diamond_ores", 7 | "#c:emerald_ores", 8 | "#c:gold_ores", 9 | "#c:iron_ores", 10 | "#c:lapis_ores", 11 | "#c:redstone_ores", 12 | "#c:quartz_ores", 13 | "#c:netherite_scrap_ores" 14 | ] 15 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/ores_in_ground/stone.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:coal_ore", 5 | "minecraft:copper_ore", 6 | "minecraft:diamond_ore", 7 | "minecraft:emerald_ore", 8 | "minecraft:gold_ore", 9 | "minecraft:iron_ore", 10 | "minecraft:lapis_ore", 11 | "minecraft:redstone_ore" 12 | ] 13 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/ores.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:coal_ores", 5 | "#c:copper_ores", 6 | "#c:diamond_ores", 7 | "#c:emerald_ores", 8 | "#c:gold_ores", 9 | "#c:iron_ores", 10 | "#c:lapis_ores", 11 | "#c:redstone_ores", 12 | "#c:quartz_ores", 13 | "#c:netherite_scrap_ores" 14 | ] 15 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/ores_in_ground/stone.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:coal_ore", 5 | "minecraft:copper_ore", 6 | "minecraft:diamond_ore", 7 | "minecraft:emerald_ore", 8 | "minecraft:gold_ore", 9 | "minecraft:iron_ore", 10 | "minecraft:lapis_ore", 11 | "minecraft:redstone_ore" 12 | ] 13 | } -------------------------------------------------------------------------------- /modules/gametest/src/main/resources/porting_lib_gametest.mixins.json: -------------------------------------------------------------------------------- 1 | { 2 | "required": true, 3 | "minVersion": "0.8", 4 | "package": "io.github.fabricators_of_create.porting_lib.gametest.mixin", 5 | "compatibilityLevel": "JAVA_17", 6 | "injectors": { 7 | "defaultRequire": 1 8 | }, 9 | "mixins": [ 10 | "StructureBlockEntityMixin", 11 | "TestCommandMixin" 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /modules/models/src/main/java/io/github/fabricators_of_create/porting_lib/models/generators/IGeneratedBlockState.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.models.generators; 2 | 3 | import com.google.common.annotations.VisibleForTesting; 4 | import com.google.gson.JsonObject; 5 | 6 | @VisibleForTesting 7 | public interface IGeneratedBlockState { 8 | JsonObject toJson(); 9 | } 10 | -------------------------------------------------------------------------------- /modules/transfer/src/main/resources/fabric.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 1, 3 | "id": "porting_lib_transfer", 4 | "version": "${version}", 5 | "name": "Porting Lib Transfer", 6 | "description": "Utilities for transferring items and fluids.", 7 | "entrypoints": { 8 | "client": [ 9 | "io.github.fabricators_of_create.porting_lib.PortingLibTransfer" 10 | ] 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /modules/items/src/main/java/io/github/fabricators_of_create/porting_lib/item/extensions/EntitySwingListenerItem.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.item.extensions; 2 | 3 | import net.minecraft.world.entity.LivingEntity; 4 | import net.minecraft.world.item.ItemStack; 5 | 6 | public interface EntitySwingListenerItem { 7 | boolean onEntitySwing(ItemStack stack, LivingEntity entity); 8 | } 9 | -------------------------------------------------------------------------------- /modules/loot/src/main/java/io/github/fabricators_of_create/porting_lib/loot/extensions/LootPoolBuilderExtension.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.loot.extensions; 2 | 3 | import net.minecraft.world.level.storage.loot.LootPool; 4 | 5 | public interface LootPoolBuilderExtension { 6 | default LootPool.Builder name(String name) { 7 | throw new RuntimeException(); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /modules/data/src/main/java/io/github/fabricators_of_create/porting_lib/data/extensions/MinecraftExtension.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.data.extensions; 2 | 3 | import net.minecraft.client.main.GameConfig; 4 | 5 | import org.jetbrains.annotations.ApiStatus; 6 | 7 | @ApiStatus.Internal 8 | public interface MinecraftExtension { 9 | GameConfig port_lib$getGameConfig(); 10 | } 11 | -------------------------------------------------------------------------------- /modules/items/src/main/java/io/github/fabricators_of_create/porting_lib/item/extensions/EntityTickListenerItem.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.item.extensions; 2 | 3 | import net.minecraft.world.entity.item.ItemEntity; 4 | import net.minecraft.world.item.ItemStack; 5 | 6 | public interface EntityTickListenerItem { 7 | boolean onEntityItemUpdate(ItemStack stack, ItemEntity entity); 8 | } 9 | -------------------------------------------------------------------------------- /modules/milk/src/main/resources/fabric.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 1, 3 | "id": "porting_lib_milk", 4 | "version": "${version}", 5 | "name": "Porting Lib Milk", 6 | "description": "A small library that adds milk as an actual fluid", 7 | "entrypoints": { 8 | "fabric-datagen": [ 9 | "io.github.fabricators_of_create.porting_lib.milk.data.PortingLibMilkData" 10 | ] 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /modules/entity/src/main/java/io/github/fabricators_of_create/porting_lib/entity/extensions/VanillaIShearable.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.entity.extensions; 2 | 3 | import org.jetbrains.annotations.ApiStatus; 4 | 5 | /** 6 | * Used on vanilla classes to avoid overwriting vanilla behavior 7 | */ 8 | @ApiStatus.Internal 9 | public interface VanillaIShearable extends IShearable { 10 | } 11 | -------------------------------------------------------------------------------- /modules/items/src/main/java/io/github/fabricators_of_create/porting_lib/item/injects/ItemInjection.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.item.injects; 2 | 3 | import io.github.fabricators_of_create.porting_lib.core.PortingLib; 4 | 5 | public interface ItemInjection { 6 | default boolean port_lib$canRepair() { 7 | throw PortingLib.createMixinException("ItemInjection#canRepair"); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/sandstone.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:sandstone", 5 | "minecraft:cut_sandstone", 6 | "minecraft:chiseled_sandstone", 7 | "minecraft:smooth_sandstone", 8 | "minecraft:red_sandstone", 9 | "minecraft:cut_red_sandstone", 10 | "minecraft:chiseled_red_sandstone", 11 | "minecraft:smooth_red_sandstone" 12 | ] 13 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/sandstone.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:sandstone", 5 | "minecraft:cut_sandstone", 6 | "minecraft:chiseled_sandstone", 7 | "minecraft:smooth_sandstone", 8 | "minecraft:red_sandstone", 9 | "minecraft:cut_red_sandstone", 10 | "minecraft:chiseled_red_sandstone", 11 | "minecraft:smooth_red_sandstone" 12 | ] 13 | } -------------------------------------------------------------------------------- /modules/render_types/src/main/resources/fabric.mod.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "schemaVersion": 1, 4 | "id": "porting_lib_render_types", 5 | "version": "${version}", 6 | "name": "Porting Lib Render Types", 7 | "description": "Custom render types for models and entities.", 8 | "entrypoints": { 9 | "client": [ 10 | "io.github.fabricators_of_create.porting_lib.render_types.PortingLibRenderTypes::init" 11 | ] 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /modules/item_abilities/src/main/java/io/github/fabricators_of_create/porting_lib/tool/extensions/VanillaItemAbilityItem.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.tool.extensions; 2 | 3 | import io.github.fabricators_of_create.porting_lib.tool.ItemAbility; 4 | import net.minecraft.world.item.ItemStack; 5 | 6 | public interface VanillaItemAbilityItem { 7 | boolean port_lib$canPerformAction(ItemStack stack, ItemAbility ability); 8 | } 9 | -------------------------------------------------------------------------------- /modules/recipe_book_categories/src/main/resources/porting_lib_recipe_book_categories.mixins.json: -------------------------------------------------------------------------------- 1 | { 2 | "required": true, 3 | "minVersion": "0.8", 4 | "package": "io.github.fabricators_of_create.porting_lib.recipe_book_categories.mixin", 5 | "compatibilityLevel": "JAVA_17", 6 | "client": [ 7 | "ClientRecipeBookMixin", 8 | "RecipeBookCategoriesMixin" 9 | ], 10 | "injectors": { 11 | "defaultRequire": 1 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/wooden_fence_gates.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:oak_fence_gate", 5 | "minecraft:spruce_fence_gate", 6 | "minecraft:birch_fence_gate", 7 | "minecraft:jungle_fence_gate", 8 | "minecraft:acacia_fence_gate", 9 | "minecraft:dark_oak_fence_gate", 10 | "minecraft:crimson_fence_gate", 11 | "minecraft:warped_fence_gate" 12 | ] 13 | } -------------------------------------------------------------------------------- /modules/data/src/main/resources/fabric.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 1, 3 | "id": "porting_lib_data", 4 | "version": "${version}", 5 | "name": "Porting Lib Data", 6 | "description": "Adds additional data generation providers.", 7 | "custom": { 8 | "loom:injected_interfaces": { 9 | "net/minecraft/class_8790": ["io/github/fabricators_of_create/porting_lib/data/extensions/RecipeOutputExtension"] 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /modules/entity/src/main/java/io/github/fabricators_of_create/porting_lib/entity/injects/SlimeInjection.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.entity.injects; 2 | 3 | public interface SlimeInjection { 4 | /** 5 | * Called when the slime spawns particles on landing, see onUpdate. 6 | * Return true to prevent the spawning of the default particles. 7 | */ 8 | default boolean spawnCustomParticles() { return false; } 9 | } 10 | -------------------------------------------------------------------------------- /modules/items/src/main/java/io/github/fabricators_of_create/porting_lib/item/extensions/ReequipAnimationItem.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.item.extensions; 2 | 3 | import net.minecraft.world.item.ItemStack; 4 | 5 | public interface ReequipAnimationItem { 6 | default boolean shouldCauseReequipAnimation(ItemStack oldStack, ItemStack newStack, boolean slotChanged) { 7 | return !oldStack.equals(newStack); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /modules/obj_loader/src/main/resources/fabric.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 1, 3 | "id": "porting_lib_obj_loader", 4 | "version": "${version}", 5 | "name": "Porting Lib Obj Loader", 6 | "description": "Loads .obj models.", 7 | "entrypoints": { 8 | "client": [ 9 | "io.github.fabricators_of_create.porting_lib.PortingLibObjLoader" 10 | ] 11 | }, 12 | "custom": { 13 | "loom:injected_interfaces": {} 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/wooden_fence_gates.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:oak_fence_gate", 5 | "minecraft:spruce_fence_gate", 6 | "minecraft:birch_fence_gate", 7 | "minecraft:jungle_fence_gate", 8 | "minecraft:acacia_fence_gate", 9 | "minecraft:dark_oak_fence_gate", 10 | "minecraft:crimson_fence_gate", 11 | "minecraft:warped_fence_gate" 12 | ] 13 | } -------------------------------------------------------------------------------- /modules/common/src/main/java/io/github/fabricators_of_create/porting_lib/common/PortingLibCommon.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.common; 2 | 3 | import io.github.fabricators_of_create.porting_lib.common.util.TrueCondition; 4 | import net.fabricmc.api.ModInitializer; 5 | 6 | public class PortingLibCommon implements ModInitializer { 7 | @Override 8 | public void onInitialize() { 9 | TrueCondition.init(); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /modules/config/src/main/resources/porting_lib_config.accesswidener: -------------------------------------------------------------------------------- 1 | accessWidener v2 named 2 | 3 | accessible method net/minecraft/world/level/storage/LevelResource (Ljava/lang/String;)V 4 | 5 | accessible field net/minecraft/client/OptionInstance toString Ljava/util/function/Function; 6 | accessible field net/minecraft/client/OptionInstance caption Lnet/minecraft/network/chat/Component; 7 | accessible class net/minecraft/client/OptionInstance$ValueSet 8 | -------------------------------------------------------------------------------- /modules/entity/src/main/java/io/github/fabricators_of_create/porting_lib/entity/mixin/common/ItemMixin.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.entity.mixin.common; 2 | 3 | import io.github.fabricators_of_create.porting_lib.entity.injects.ItemInjection; 4 | import net.minecraft.world.item.Item; 5 | 6 | import org.spongepowered.asm.mixin.Mixin; 7 | 8 | @Mixin(Item.class) 9 | public class ItemMixin implements ItemInjection { 10 | } 11 | -------------------------------------------------------------------------------- /modules/models/src/main/java/io/github/fabricators_of_create/porting_lib/models/ModelLoader.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.models; 2 | 3 | import com.google.gson.JsonObject; 4 | 5 | import net.minecraft.client.renderer.block.model.BlockModel; 6 | import net.minecraft.client.resources.model.UnbakedModel; 7 | 8 | public interface ModelLoader { 9 | UnbakedModel readModel(BlockModel parent, JsonObject jsonObject); 10 | } 11 | -------------------------------------------------------------------------------- /modules/base/src/main/java/io/github/fabricators_of_create/porting_lib/extensions/common/TiersExtension.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.extensions.common; 2 | 3 | import net.minecraft.tags.TagKey; 4 | import net.minecraft.world.level.block.Block; 5 | 6 | import org.jetbrains.annotations.Nullable; 7 | 8 | public interface TiersExtension { 9 | @Nullable 10 | default TagKey getTag() { 11 | return null; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /modules/fluids/src/main/java/io/github/fabricators_of_create/porting_lib/fluids/extensions/FluidExtension.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.fluids.extensions; 2 | 3 | import io.github.fabricators_of_create.porting_lib.fluids.FluidType; 4 | import org.jetbrains.annotations.Nullable; 5 | 6 | public interface FluidExtension { 7 | @Nullable 8 | default FluidType getFluidType() { 9 | throw new RuntimeException(); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /modules/base/src/main/java/io/github/fabricators_of_create/porting_lib/extensions/common/ResourceLocationExtension.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.extensions.common; 2 | 3 | import net.minecraft.resources.ResourceLocation; 4 | 5 | public interface ResourceLocationExtension { 6 | default int port_lib$compareNamespaced(ResourceLocation o) { 7 | throw new RuntimeException("this should be overridden via mixin. what?"); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/worldgen/biome/is_snowy.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:frozen_ocean", 5 | "minecraft:frozen_river", 6 | "minecraft:snowy_plains", 7 | "minecraft:snowy_beach", 8 | "minecraft:snowy_taiga", 9 | "minecraft:grove", 10 | "minecraft:snowy_slopes", 11 | "minecraft:jagged_peaks", 12 | "minecraft:frozen_peaks", 13 | "minecraft:ice_spikes" 14 | ] 15 | } -------------------------------------------------------------------------------- /modules/transfer/src/main/resources/porting_lib_transfer.mixins.json: -------------------------------------------------------------------------------- 1 | { 2 | "required": true, 3 | "minVersion": "0.8", 4 | "package": "io.github.fabricators_of_create.porting_lib.transfer.mixin", 5 | "compatibilityLevel": "JAVA_17", 6 | "mixins": [ 7 | "common.LevelMixin", 8 | "common.ServerLevelMixin" 9 | ], 10 | "client": [ 11 | "client.ClientLevelMixin" 12 | ], 13 | "injectors": { 14 | "defaultRequire": 1 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /modules/config/src/main/resources/porting_lib_config.mixins.json: -------------------------------------------------------------------------------- 1 | { 2 | "required": true, 3 | "minVersion": "0.8", 4 | "priority": 951, 5 | "package": "io.github.fabricators_of_create.porting_lib.config.mixin", 6 | "compatibilityLevel": "JAVA_17", 7 | "injectors": { 8 | "defaultRequire": 1, 9 | "maxShiftBy": 5 10 | }, 11 | "client": [ 12 | "client.MinecraftMixin" 13 | ], 14 | "mixins": [ 15 | "server.MainMixin" 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /modules/blocks/src/main/java/io/github/fabricators_of_create/porting_lib/blocks/mixin/common/PlayerMixin.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.blocks.mixin.common; 2 | 3 | import io.github.fabricators_of_create.porting_lib.blocks.injects.PlayerInjection; 4 | import net.minecraft.world.entity.player.Player; 5 | 6 | import org.spongepowered.asm.mixin.Mixin; 7 | 8 | @Mixin(Player.class) 9 | public class PlayerMixin implements PlayerInjection { 10 | } 11 | -------------------------------------------------------------------------------- /modules/entity/src/main/java/io/github/fabricators_of_create/porting_lib/entity/mixin/common/ShearableMixin.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.entity.mixin.common; 2 | 3 | import io.github.fabricators_of_create.porting_lib.entity.extensions.IShearable; 4 | import net.minecraft.world.entity.Shearable; 5 | 6 | import org.spongepowered.asm.mixin.Mixin; 7 | 8 | @Mixin(Shearable.class) 9 | public interface ShearableMixin extends IShearable { 10 | } 11 | -------------------------------------------------------------------------------- /modules/render_types/src/main/resources/porting_lib_render_types.accesswidener: -------------------------------------------------------------------------------- 1 | accessWidener v2 named 2 | 3 | mutable field net/minecraft/client/renderer/RenderStateShard$TextureStateShard blur Z 4 | mutable field net/minecraft/client/renderer/RenderStateShard$TextureStateShard mipmap Z 5 | 6 | accessible field net/minecraft/client/renderer/RenderStateShard$TextureStateShard blur Z 7 | accessible field net/minecraft/client/renderer/RenderStateShard$TextureStateShard mipmap Z 8 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/ores_in_ground/deepslate.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:deepslate_coal_ore", 5 | "minecraft:deepslate_copper_ore", 6 | "minecraft:deepslate_diamond_ore", 7 | "minecraft:deepslate_emerald_ore", 8 | "minecraft:deepslate_gold_ore", 9 | "minecraft:deepslate_iron_ore", 10 | "minecraft:deepslate_lapis_ore", 11 | "minecraft:deepslate_redstone_ore" 12 | ] 13 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/ores_in_ground/deepslate.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:deepslate_coal_ore", 5 | "minecraft:deepslate_copper_ore", 6 | "minecraft:deepslate_diamond_ore", 7 | "minecraft:deepslate_emerald_ore", 8 | "minecraft:deepslate_gold_ore", 9 | "minecraft:deepslate_iron_ore", 10 | "minecraft:deepslate_lapis_ore", 11 | "minecraft:deepslate_redstone_ore" 12 | ] 13 | } -------------------------------------------------------------------------------- /modules/base/src/main/java/io/github/fabricators_of_create/porting_lib/mixin/client/PoseStackMixin.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.mixin.client; 2 | 3 | import com.mojang.blaze3d.vertex.PoseStack; 4 | 5 | import io.github.fabricators_of_create.porting_lib.extensions.client.PoseStackExtension; 6 | 7 | import org.spongepowered.asm.mixin.Mixin; 8 | 9 | @Mixin(PoseStack.class) 10 | public class PoseStackMixin implements PoseStackExtension { 11 | } 12 | -------------------------------------------------------------------------------- /modules/common/src/main/resources/porting_lib_common.accesswidener: -------------------------------------------------------------------------------- 1 | accessWidener v2 named 2 | 3 | transitive-accessible class net/minecraft/world/item/crafting/Ingredient$Value 4 | 5 | transitive-accessible method net/minecraft/world/item/crafting/Ingredient fromValues (Ljava/util/stream/Stream;)Lnet/minecraft/world/item/crafting/Ingredient; 6 | 7 | transitive-accessible field net/minecraft/world/item/crafting/Ingredient values [Lnet/minecraft/world/item/crafting/Ingredient$Value; 8 | -------------------------------------------------------------------------------- /modules/entity/src/main/java/io/github/fabricators_of_create/porting_lib/entity/mixin/common/SheepMixin.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.entity.mixin.common; 2 | 3 | import io.github.fabricators_of_create.porting_lib.entity.extensions.VanillaIShearable; 4 | import net.minecraft.world.entity.animal.Sheep; 5 | 6 | import org.spongepowered.asm.mixin.Mixin; 7 | 8 | @Mixin(Sheep.class) 9 | public class SheepMixin implements VanillaIShearable { 10 | } 11 | -------------------------------------------------------------------------------- /modules/gametest/src/main/java/io/github/fabricators_of_create/porting_lib/gametest/extensions/StructureBlockEntityExtensions.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.gametest.extensions; 2 | 3 | public interface StructureBlockEntityExtensions { 4 | default void setQualifiedTestName(String qualifiedTestName) { 5 | throw new AbstractMethodError(); 6 | } 7 | 8 | default String getQualifiedTestName() { 9 | throw new AbstractMethodError(); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /modules/gui_utils/src/main/resources/porting_lib_gui_utils.mixins.json: -------------------------------------------------------------------------------- 1 | { 2 | "required": true, 3 | "minVersion": "0.8", 4 | "package": "io.github.fabricators_of_create.porting_lib.gui.mixin", 5 | "compatibilityLevel": "JAVA_17", 6 | "injectors": { 7 | "defaultRequire": 1 8 | }, 9 | "client": [ 10 | "GuiAccessor", 11 | "GuiGraphicsMixin", 12 | "GuiMixin", 13 | "MapRendererMapInstanceMixin" 14 | ] 15 | } 16 | -------------------------------------------------------------------------------- /modules/loot/src/main/java/io/github/fabricators_of_create/porting_lib/loot/extensions/LootPoolExtensions.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.loot.extensions; 2 | 3 | import org.jetbrains.annotations.ApiStatus; 4 | 5 | public interface LootPoolExtensions { 6 | default String getName() { 7 | throw new RuntimeException(); 8 | } 9 | 10 | @ApiStatus.Internal 11 | default void setName(String name) { 12 | throw new RuntimeException(); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /modules/transfer/src/main/java/io/github/fabricators_of_create/porting_lib/util/ItemStackUtil.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.util; 2 | 3 | import java.util.Arrays; 4 | 5 | import net.minecraft.world.item.ItemStack; 6 | 7 | public class ItemStackUtil { 8 | public static ItemStack[] createEmptyStackArray(int size) { 9 | ItemStack[] stacks = new ItemStack[size]; 10 | Arrays.fill(stacks, ItemStack.EMPTY); 11 | return stacks; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /modules/entity/src/main/java/io/github/fabricators_of_create/porting_lib/entity/mixin/common/BoggedMixin.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.entity.mixin.common; 2 | 3 | import io.github.fabricators_of_create.porting_lib.entity.extensions.VanillaIShearable; 4 | import net.minecraft.world.entity.monster.Bogged; 5 | 6 | import org.spongepowered.asm.mixin.Mixin; 7 | 8 | @Mixin(Bogged.class) 9 | public class BoggedMixin implements VanillaIShearable { 10 | } 11 | -------------------------------------------------------------------------------- /modules/entity/src/main/java/io/github/fabricators_of_create/porting_lib/entity/mixin/common/MobEffectMixin.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.entity.mixin.common; 2 | 3 | import io.github.fabricators_of_create.porting_lib.entity.injects.MobEffectInjection; 4 | import net.minecraft.world.effect.MobEffect; 5 | 6 | import org.spongepowered.asm.mixin.Mixin; 7 | 8 | @Mixin(MobEffect.class) 9 | public class MobEffectMixin implements MobEffectInjection { 10 | } 11 | -------------------------------------------------------------------------------- /modules/items/src/main/java/io/github/fabricators_of_create/porting_lib/item/extensions/CustomArrowItem.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.item.extensions; 2 | 3 | import net.minecraft.world.entity.projectile.AbstractArrow; 4 | import net.minecraft.world.item.ItemStack; 5 | 6 | public interface CustomArrowItem { 7 | default AbstractArrow customArrow(AbstractArrow arrow, ItemStack projectileStack, ItemStack weaponStack) { 8 | return arrow; 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /modules/chunk_loading/src/main/java/io/github/fabricators_of_create/porting_lib/chunk/loading/TicketSet.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.chunk.loading; 2 | 3 | import it.unimi.dsi.fastutil.longs.LongSet; 4 | 5 | /** 6 | * Represents a pair of chunk-loaded ticket sets. 7 | * 8 | * @param nonTicking the non-fully ticking tickets 9 | * @param ticking the fully ticking tickets 10 | */ 11 | public record TicketSet(LongSet nonTicking, LongSet ticking) {} 12 | -------------------------------------------------------------------------------- /modules/fluids/src/main/java/io/github/fabricators_of_create/porting_lib/fluids/mixin/FluidStateMixin.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.fluids.mixin; 2 | 3 | import io.github.fabricators_of_create.porting_lib.fluids.extensions.FluidStateExtension; 4 | import net.minecraft.world.level.material.FluidState; 5 | 6 | import org.spongepowered.asm.mixin.Mixin; 7 | 8 | @Mixin(FluidState.class) 9 | public class FluidStateMixin implements FluidStateExtension { 10 | } 11 | -------------------------------------------------------------------------------- /modules/transfer/src/main/java/io/github/fabricators_of_create/porting_lib/PortingLibTransfer.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib; 2 | 3 | import io.github.fabricators_of_create.porting_lib.transfer.internal.cache.ClientBlockApiCache; 4 | import net.fabricmc.api.ClientModInitializer; 5 | 6 | public class PortingLibTransfer implements ClientModInitializer { 7 | @Override 8 | public void onInitializeClient() { 9 | ClientBlockApiCache.init(); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /modules/item_abilities/src/main/java/io/github/fabricators_of_create/porting_lib/tool/mixin/BlockStateMixin.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.tool.mixin; 2 | 3 | import io.github.fabricators_of_create.porting_lib.tool.extensions.BlockStateExtensions; 4 | import net.minecraft.world.level.block.state.BlockState; 5 | 6 | import org.spongepowered.asm.mixin.Mixin; 7 | 8 | @Mixin(BlockState.class) 9 | public class BlockStateMixin implements BlockStateExtensions { 10 | } 11 | -------------------------------------------------------------------------------- /modules/resources/src/main/java/io/github/fabricators_of_create/porting_lib/resources/mixin/common/RegistryMixin.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.resources.mixin.common; 2 | 3 | import io.github.fabricators_of_create.porting_lib.resources.injections.RegistryInjection; 4 | import net.minecraft.core.Registry; 5 | 6 | import org.spongepowered.asm.mixin.Mixin; 7 | 8 | @Mixin(Registry.class) 9 | public interface RegistryMixin extends RegistryInjection { 10 | } 11 | -------------------------------------------------------------------------------- /modules/client_extensions/src/main/resources/porting_lib_client_extensions.mixins.json: -------------------------------------------------------------------------------- 1 | { 2 | "required": true, 3 | "minVersion": "0.8", 4 | "priority": 951, 5 | "package": "io.github.fabricators_of_create.porting_lib.client_extensions.mixin", 6 | "compatibilityLevel": "JAVA_17", 7 | "client": [ 8 | "ItemRendererAccessor", 9 | "MinecraftMixin", 10 | "ParticleEngineMixin" 11 | ], 12 | "injectors": { 13 | "defaultRequire": 1, 14 | "maxShiftBy": 5 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /modules/common/src/main/java/io/github/fabricators_of_create/porting_lib/common/mixin/common/LevelReaderMixin.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.common.mixin.common; 2 | 3 | import io.github.fabricators_of_create.porting_lib.common.injects.LevelReaderInjection; 4 | import net.minecraft.world.level.LevelReader; 5 | 6 | import org.spongepowered.asm.mixin.Mixin; 7 | 8 | @Mixin(LevelReader.class) 9 | public interface LevelReaderMixin extends LevelReaderInjection { 10 | } 11 | -------------------------------------------------------------------------------- /modules/blocks/src/main/java/io/github/fabricators_of_create/porting_lib/blocks/injects/LevelInjection.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.blocks.injects; 2 | 3 | import net.minecraft.world.level.block.entity.BlockEntity; 4 | 5 | import java.util.Collection; 6 | 7 | public interface LevelInjection { 8 | default void port_lib$addFreshBlockEntities(Collection beList) { 9 | throw new RuntimeException("this should be overridden via mixin. what?"); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /modules/blocks/src/main/java/io/github/fabricators_of_create/porting_lib/blocks/mixin/common/BlockStateMixin.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.blocks.mixin.common; 2 | 3 | import io.github.fabricators_of_create.porting_lib.blocks.injects.BlockStateInjection; 4 | import net.minecraft.world.level.block.state.BlockState; 5 | 6 | import org.spongepowered.asm.mixin.Mixin; 7 | 8 | @Mixin(BlockState.class) 9 | public class BlockStateMixin implements BlockStateInjection { 10 | } 11 | -------------------------------------------------------------------------------- /modules/items/src/main/java/io/github/fabricators_of_create/porting_lib/item/extensions/XpRepairItem.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.item.extensions; 2 | 3 | import net.minecraft.world.item.ItemStack; 4 | 5 | public interface XpRepairItem { 6 | /** 7 | * Determines the amount of durability the mending enchantment 8 | * will repair, on average, per point of experience. 9 | */ 10 | default float getXpRepairRatio(ItemStack stack) { 11 | return 2f; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /modules/models/src/main/java/io/github/fabricators_of_create/porting_lib/models/mixin/client/ModelBakerMixin.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.models.mixin.client; 2 | 3 | import io.github.fabricators_of_create.porting_lib.models.injections.ModelBakerInjection; 4 | import net.minecraft.client.resources.model.ModelBaker; 5 | 6 | import org.spongepowered.asm.mixin.Mixin; 7 | 8 | @Mixin(ModelBaker.class) 9 | public interface ModelBakerMixin extends ModelBakerInjection { 10 | } 11 | -------------------------------------------------------------------------------- /modules/entity/src/main/java/io/github/fabricators_of_create/porting_lib/entity/mixin/common/SnowGolemMixin.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.entity.mixin.common; 2 | 3 | import io.github.fabricators_of_create.porting_lib.entity.extensions.VanillaIShearable; 4 | 5 | import org.spongepowered.asm.mixin.Mixin; 6 | 7 | import net.minecraft.world.entity.animal.SnowGolem; 8 | 9 | @Mixin(SnowGolem.class) 10 | public abstract class SnowGolemMixin implements VanillaIShearable { 11 | } 12 | -------------------------------------------------------------------------------- /modules/gui_utils/src/main/resources/fabric.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 1, 3 | "id": "porting_lib_gui_utils", 4 | "version": "${version}", 5 | "name": "Porting Lib Gui Utils", 6 | "description": "Adds additional utility classes and methods for screens and guis.", 7 | "custom": { 8 | "loom:injected_interfaces": { 9 | "net/minecraft/class_332": [ 10 | "io/github/fabricators_of_create/porting_lib/gui/extensions/GuiGraphicsExtension" 11 | ] 12 | } 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /modules/milk/src/testmod/resources/fabric.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 1, 3 | "id": "porting_lib_milk_testmod", 4 | "version": "1.0.0", 5 | "name": "Porting Lib Milk Testmod", 6 | "description": "Tests the milk module", 7 | "authors": [ 8 | "The Create Fabric Team" 9 | ], 10 | "license": "LGPL", 11 | "environment": "*", 12 | "entrypoints": { 13 | "main": [ 14 | "io.github.fabricators_of_create.porting_lib.milk.testmod.PortingLibMilkTest" 15 | ] 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /modules/base/src/main/java/io/github/fabricators_of_create/porting_lib/client/entity/CustomBoatModel.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.client.entity; 2 | 3 | import com.mojang.datafixers.util.Pair; 4 | 5 | import net.minecraft.client.model.ListModel; 6 | import net.minecraft.resources.ResourceLocation; 7 | import net.minecraft.world.entity.vehicle.Boat; 8 | 9 | public interface CustomBoatModel { 10 | Pair> getModelWithLocation(Boat boat); 11 | } 12 | -------------------------------------------------------------------------------- /modules/blocks/src/main/java/io/github/fabricators_of_create/porting_lib/blocks/extensions/NeighborChangeListeningBlock.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.blocks.extensions; 2 | 3 | import net.minecraft.core.BlockPos; 4 | import net.minecraft.world.level.LevelReader; 5 | import net.minecraft.world.level.block.state.BlockState; 6 | 7 | public interface NeighborChangeListeningBlock { 8 | void onNeighborChange(BlockState state, LevelReader world, BlockPos pos, BlockPos neighbor); 9 | } 10 | -------------------------------------------------------------------------------- /modules/fluids/src/main/resources/porting_lib_fluids.mixins.json: -------------------------------------------------------------------------------- 1 | { 2 | "required": true, 3 | "minVersion": "0.8", 4 | "package": "io.github.fabricators_of_create.porting_lib.fluids.mixin", 5 | "compatibilityLevel": "JAVA_17", 6 | "injectors": { 7 | "defaultRequire": 1 8 | }, 9 | "mixins": [ 10 | "FlowingFluidAccessor", 11 | "FlowingFluidMixin", 12 | "FluidMixin", 13 | "FluidStateMixin", 14 | "LiquidBlockMixin", 15 | "PatchedDataComponentMapAccessor" 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/worldgen/biome/is_hot/overworld.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:desert", 5 | "minecraft:jungle", 6 | "minecraft:sparse_jungle", 7 | "minecraft:savanna", 8 | "minecraft:savanna_plateau", 9 | "minecraft:stony_peaks", 10 | "minecraft:warm_ocean", 11 | "minecraft:windswept_savanna", 12 | "minecraft:eroded_badlands", 13 | "minecraft:bamboo_jungle", 14 | "minecraft:mangrove_swamp" 15 | ] 16 | } -------------------------------------------------------------------------------- /modules/blocks/src/main/java/io/github/fabricators_of_create/porting_lib/blocks/injects/CameraInjection.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.blocks.injects; 2 | 3 | import io.github.fabricators_of_create.porting_lib.core.PortingLib; 4 | import net.minecraft.world.level.block.state.BlockState; 5 | 6 | public interface CameraInjection { 7 | default BlockState port_lib$getBlockAtCamera() { 8 | throw PortingLib.createMixinException("CameraInjection.port_lib$getBlockAtCamera()"); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /modules/chunk_loading/src/main/java/io/github/fabricators_of_create/porting_lib/chunk/loading/extensions/TicketExtension.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.chunk.loading.extensions; 2 | 3 | import org.jetbrains.annotations.ApiStatus; 4 | 5 | public interface TicketExtension { 6 | @ApiStatus.Internal 7 | default void setForceTicks(boolean forceTicks) { 8 | throw new RuntimeException(); 9 | } 10 | 11 | default boolean isForceTicks() { 12 | throw new RuntimeException(); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /modules/entity/src/main/java/io/github/fabricators_of_create/porting_lib/entity/mixin/common/MushroomCowMixin.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.entity.mixin.common; 2 | 3 | import io.github.fabricators_of_create.porting_lib.entity.extensions.VanillaIShearable; 4 | 5 | import org.spongepowered.asm.mixin.Mixin; 6 | 7 | import net.minecraft.world.entity.animal.MushroomCow; 8 | 9 | @Mixin(MushroomCow.class) 10 | public abstract class MushroomCowMixin implements VanillaIShearable { 11 | } 12 | -------------------------------------------------------------------------------- /modules/items/src/main/java/io/github/fabricators_of_create/porting_lib/item/extensions/CreativeModeTabExt.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.item.extensions; 2 | 3 | import io.github.fabricators_of_create.porting_lib.item.itemgroup.PortingLibCreativeTab; 4 | 5 | import javax.annotation.Nullable; 6 | 7 | public interface CreativeModeTabExt { 8 | void setPortingData(PortingLibCreativeTab.TabData data); 9 | 10 | @Nullable 11 | PortingLibCreativeTab.TabData getPortingTabData(); 12 | } 13 | -------------------------------------------------------------------------------- /modules/items/src/testmod/resources/fabric.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 1, 3 | "id": "porting_lib_items_testmod", 4 | "version": "${version}", 5 | "name": "Porting Lib Items Testmod", 6 | "description": "Tests the items module", 7 | "authors": [ 8 | "The Create Fabric Team" 9 | ], 10 | "license": "LGPL", 11 | "environment": "*", 12 | "entrypoints": { 13 | "main": [ 14 | "io.github.fabricators_of_create.porting_lib.item.testmod.PortingLibItemsTestmod" 15 | ] 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /modules/loot/src/main/resources/porting_lib_loot.mixins.json: -------------------------------------------------------------------------------- 1 | { 2 | "required": true, 3 | "minVersion": "0.8", 4 | "package": "io.github.fabricators_of_create.porting_lib.loot.mixin", 5 | "compatibilityLevel": "JAVA_17", 6 | "injectors": { 7 | "defaultRequire": 1 8 | }, 9 | "mixins": [ 10 | "LootContextMixin", 11 | "LootDataTypeMixin", 12 | "LootPoolMixin", 13 | "LootPoolMixin$LootPoolBuilderMixin", 14 | "LootTableMixin", 15 | "LootTableMixin$BuilderMixin" 16 | ] 17 | } 18 | -------------------------------------------------------------------------------- /modules/common/src/main/java/io/github/fabricators_of_create/porting_lib/common/injects/LevelReaderInjection.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.common.injects; 2 | 3 | import net.minecraft.core.BlockPos; 4 | import net.minecraft.world.level.LevelReader; 5 | 6 | public interface LevelReaderInjection { 7 | default boolean isAreaLoaded(BlockPos center, int range) { 8 | return ((LevelReader)this).hasChunksAt(center.offset(-range, -range, -range), center.offset(range, range, range)); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /modules/common/src/main/resources/porting_lib_common.mixins.json: -------------------------------------------------------------------------------- 1 | { 2 | "required": true, 3 | "minVersion": "0.8", 4 | "priority": 951, 5 | "package": "io.github.fabricators_of_create.porting_lib.common.mixin", 6 | "compatibilityLevel": "JAVA_17", 7 | "injectors": { 8 | "defaultRequire": 1, 9 | "maxShiftBy": 5 10 | }, 11 | "mixins": [ 12 | "common.LevelReaderMixin", 13 | "common.MobEffectInstanceMixin" 14 | ], 15 | "client": [ 16 | "client.LanguageManagerMixin" 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /modules/core/src/main/resources/fabric.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 1, 3 | "id": "porting_lib_core", 4 | "version": "${version}", 5 | "name": "Porting Lib Core", 6 | "description": "Core functionality used across other modules.", 7 | "entrypoints": { 8 | "main": [ 9 | "io.github.fabricators_of_create.porting_lib.core.util.ServerLifecycleHooks::init" 10 | ], 11 | "client": [ 12 | "io.github.fabricators_of_create.porting_lib.core.client.PortingLibClient" 13 | ] 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /modules/entity_data_serializers/src/main/resources/porting_lib_entity_data_serializers.json: -------------------------------------------------------------------------------- 1 | { 2 | "required": true, 3 | "minVersion": "0.8", 4 | "package": "io.github.fabricators_of_create.porting_lib.entity.data.mixin", 5 | "compatibilityLevel": "JAVA_17", 6 | "mixins": [ 7 | "EntityDataSerializersMixin" 8 | ], 9 | "client": [ 10 | ], 11 | "injectors": { 12 | "defaultRequire": 1, 13 | "maxShiftBy": 5 14 | }, 15 | "mixinextras": { 16 | "minVersion": "0.5.0-rc.2" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /modules/base/src/main/java/io/github/fabricators_of_create/porting_lib/util/ScreenHelper.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.util; 2 | 3 | import io.github.fabricators_of_create.porting_lib.event.client.RenderTooltipBorderColorCallback; 4 | 5 | public final class ScreenHelper { 6 | public static final int DEFAULT_BORDER_COLOR_START = 1347420415; 7 | public static final int DEFAULT_BORDER_COLOR_END = 1344798847; 8 | public static RenderTooltipBorderColorCallback.BorderColorEntry CURRENT_COLOR; 9 | } 10 | -------------------------------------------------------------------------------- /modules/blocks/src/main/java/io/github/fabricators_of_create/porting_lib/blocks/extensions/LightEmissiveBlock.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.blocks.extensions; 2 | 3 | import net.minecraft.core.BlockPos; 4 | import net.minecraft.world.level.BlockGetter; 5 | import net.minecraft.world.level.block.state.BlockState; 6 | 7 | public interface LightEmissiveBlock { 8 | default int getLightEmission(BlockState state, BlockGetter world, BlockPos pos) { 9 | return state.getLightEmission(); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /modules/blocks/src/main/java/io/github/fabricators_of_create/porting_lib/blocks/mixin/common/AbstractMinecartAccessor.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.blocks.mixin.common; 2 | 3 | import org.spongepowered.asm.mixin.Mixin; 4 | import org.spongepowered.asm.mixin.gen.Invoker; 5 | 6 | import net.minecraft.world.entity.vehicle.AbstractMinecart; 7 | 8 | @Mixin(AbstractMinecart.class) 9 | public interface AbstractMinecartAccessor { 10 | @Invoker("getMaxSpeed") 11 | double port_lib$getMaxSpeed(); 12 | } 13 | -------------------------------------------------------------------------------- /modules/fluids/src/testmod/resources/fabric.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 1, 3 | "id": "porting_lib_fluids_testmod", 4 | "version": "${version}", 5 | "name": "Porting Lib Fluids Testmod", 6 | "description": "Tests the fluids module", 7 | "authors": [ 8 | "The Create Fabric Team" 9 | ], 10 | "license": "LGPL", 11 | "environment": "*", 12 | "entrypoints": { 13 | "main": [ 14 | "io.github.fabricators_of_create.porting_lib.fluids.testmod.PortingLibFluidsTestmod" 15 | ] 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /modules/models/src/main/java/io/github/fabricators_of_create/porting_lib/models/injections/ModelManagerInjection.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.models.injections; 2 | 3 | import io.github.fabricators_of_create.porting_lib.core.PortingLib; 4 | import net.minecraft.client.resources.model.ModelBakery; 5 | 6 | public interface ModelManagerInjection { 7 | default ModelBakery port_lib$getModelBakery() { 8 | throw PortingLib.createMixinException("ModelManagerInjection#getModelBakery"); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/stone.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:andesite", 5 | "minecraft:diorite", 6 | "minecraft:granite", 7 | "minecraft:infested_stone", 8 | "minecraft:stone", 9 | "minecraft:polished_andesite", 10 | "minecraft:polished_diorite", 11 | "minecraft:polished_granite", 12 | "minecraft:deepslate", 13 | "minecraft:polished_deepslate", 14 | "minecraft:infested_deepslate", 15 | "minecraft:tuff" 16 | ] 17 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/stone.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:andesite", 5 | "minecraft:diorite", 6 | "minecraft:granite", 7 | "minecraft:infested_stone", 8 | "minecraft:stone", 9 | "minecraft:polished_andesite", 10 | "minecraft:polished_diorite", 11 | "minecraft:polished_granite", 12 | "minecraft:deepslate", 13 | "minecraft:polished_deepslate", 14 | "minecraft:infested_deepslate", 15 | "minecraft:tuff" 16 | ] 17 | } -------------------------------------------------------------------------------- /modules/base/src/main/java/io/github/fabricators_of_create/porting_lib/extensions/client/TextureAtlasSpriteExtension.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.extensions.client; 2 | 3 | import net.fabricmc.api.EnvType; 4 | import net.fabricmc.api.Environment; 5 | 6 | @Environment(EnvType.CLIENT) 7 | public interface TextureAtlasSpriteExtension { 8 | default int port_lib$getPixelRGBA(int frameIndex, int x, int y) { 9 | throw new RuntimeException("this should be overridden via mixin. what?"); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /modules/base/src/main/java/io/github/fabricators_of_create/porting_lib/extensions/common/TagAppenderExtension.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.extensions.common; 2 | 3 | import net.minecraft.data.tags.TagsProvider; 4 | import net.minecraft.tags.TagKey; 5 | 6 | public interface TagAppenderExtension { 7 | @SuppressWarnings("unchecked") 8 | default TagsProvider.TagAppender addTags(TagKey... values) { 9 | throw new RuntimeException("this should be overridden via mixin. what?"); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /modules/blocks/src/main/java/io/github/fabricators_of_create/porting_lib/blocks/extensions/CustomFrictionBlock.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.blocks.extensions; 2 | 3 | import net.minecraft.core.BlockPos; 4 | import net.minecraft.world.entity.Entity; 5 | import net.minecraft.world.level.LevelReader; 6 | import net.minecraft.world.level.block.state.BlockState; 7 | 8 | public interface CustomFrictionBlock { 9 | float getFriction(BlockState state, LevelReader world, BlockPos pos, Entity entity); 10 | } 11 | -------------------------------------------------------------------------------- /modules/gui_utils/src/testmod/resources/fabric.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 1, 3 | "id": "porting_lib_gui_utils_testmod", 4 | "version": "1.0.0", 5 | "name": "Porting Lib GUI Utils Testmod", 6 | "description": "Tests the GUI utils module", 7 | "authors": [ 8 | "The Create Fabric Team" 9 | ], 10 | "license": "LGPL", 11 | "environment": "*", 12 | "entrypoints": { 13 | "client": [ 14 | "io.github.fabricators_of_create.porting_lib.gui.testmod.PortingLibGuiUtilsTest" 15 | ] 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /modules/registry/src/main/resources/porting_lib_registry.mixins.json: -------------------------------------------------------------------------------- 1 | { 2 | "required": true, 3 | "minVersion": "0.8", 4 | "package": "io.github.fabricators_of_create.porting_lib.registry.mixin", 5 | "compatibilityLevel": "JAVA_17", 6 | "injectors": { 7 | "defaultRequire": 1 8 | }, 9 | "mixins": [ 10 | "DefaultedMappedRegistryMixin", 11 | "HolderMixin", 12 | "HolderMixin$ReferenceMixin", 13 | "RegistryMixin" 14 | ], 15 | "mixinextras": { 16 | "minVersion": "0.5.0-rc.2" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/storage_blocks.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:amethyst_blocks", 5 | "#c:coal_blocks", 6 | "#c:copper_blocks", 7 | "#c:diamond_blocks", 8 | "#c:emerald_blocks", 9 | "#c:gold_blocks", 10 | "#c:iron_blocks", 11 | "#c:lapis_blocks", 12 | "#c:quartz_blocks", 13 | "#c:raw_copper_blocks", 14 | "#c:raw_gold_blocks", 15 | "#c:raw_iron_blocks", 16 | "#c:redstone_blocks", 17 | "#c:netherite_blocks" 18 | ] 19 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/dyes.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:white_dyes", 5 | "#c:orange_dyes", 6 | "#c:magenta_dyes", 7 | "#c:light_blue_dyes", 8 | "#c:yellow_dyes", 9 | "#c:lime_dyes", 10 | "#c:pink_dyes", 11 | "#c:gray_dyes", 12 | "#c:light_gray_dyes", 13 | "#c:cyan_dyes", 14 | "#c:purple_dyes", 15 | "#c:blue_dyes", 16 | "#c:brown_dyes", 17 | "#c:green_dyes", 18 | "#c:red_dyes", 19 | "#c:black_dyes" 20 | ] 21 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/storage_blocks.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "#c:amethyst_blocks", 5 | "#c:coal_blocks", 6 | "#c:copper_blocks", 7 | "#c:diamond_blocks", 8 | "#c:emerald_blocks", 9 | "#c:gold_blocks", 10 | "#c:iron_blocks", 11 | "#c:lapis_blocks", 12 | "#c:quartz_blocks", 13 | "#c:raw_copper_blocks", 14 | "#c:raw_gold_blocks", 15 | "#c:raw_iron_blocks", 16 | "#c:redstone_blocks", 17 | "#c:netherite_blocks" 18 | ] 19 | } -------------------------------------------------------------------------------- /modules/attributes/src/testmod/resources/fabric.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 1, 3 | "id": "porting_lib_attributes_testmod", 4 | "version": "1.0.0", 5 | "name": "Porting Lib Attributes Testmod", 6 | "description": "Tests the attributes module", 7 | "authors": [ 8 | "The Create Fabric Team" 9 | ], 10 | "license": "LGPL", 11 | "environment": "*", 12 | "entrypoints": { 13 | "main": [ 14 | "io.github.fabricators_of_create.porting_lib.attributes.testmod.MayFlyAttributeTest::init" 15 | ] 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /modules/common/src/main/java/io/github/fabricators_of_create/porting_lib/common/util/SimpleRecipeType.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.common.util; 2 | 3 | import net.minecraft.resources.ResourceLocation; 4 | import net.minecraft.world.item.crafting.Recipe; 5 | import net.minecraft.world.item.crafting.RecipeType; 6 | 7 | public record SimpleRecipeType>(ResourceLocation name) implements RecipeType { 8 | @Override 9 | public String toString() { 10 | return name.toString(); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /modules/fluids/src/main/java/io/github/fabricators_of_create/porting_lib/fluids/mixin/FlowingFluidAccessor.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.fluids.mixin; 2 | 3 | import net.minecraft.world.level.Level; 4 | import net.minecraft.world.level.material.FlowingFluid; 5 | 6 | import org.spongepowered.asm.mixin.Mixin; 7 | import org.spongepowered.asm.mixin.gen.Invoker; 8 | 9 | @Mixin(FlowingFluid.class) 10 | public interface FlowingFluidAccessor { 11 | @Invoker 12 | boolean callCanConvertToSource(Level level); 13 | } 14 | -------------------------------------------------------------------------------- /modules/gui_utils/src/main/java/io/github/fabricators_of_create/porting_lib/gui/utils/ModdedButton.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.gui.utils; 2 | 3 | import net.minecraft.client.gui.components.Button; 4 | 5 | public class ModdedButton extends Button { 6 | protected ModdedButton(Builder builder) { 7 | super(builder.x, builder.y, builder.width, builder.height, builder.message, builder.onPress, builder.createNarration); 8 | setTooltip(builder.tooltip); // Forge: Make use of the Builder tooltip 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /modules/obj_loader/src/testmod/resources/fabric.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 1, 3 | "id": "porting_lib_obj_loader_testmod", 4 | "version": "1.0.0", 5 | "name": "Porting Lib Obj Loader Testmod", 6 | "description": "Tests the Obj Loader module", 7 | "authors": [ 8 | "The Create Fabric Team" 9 | ], 10 | "license": "LGPL", 11 | "environment": "*", 12 | "entrypoints": { 13 | "main": [ 14 | "io.github.fabricators_of_create.porting_lib.obj_loader.testmod.PortingLibObjLoaderTestmod" 15 | ] 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /modules/blocks/src/main/java/io/github/fabricators_of_create/porting_lib/blocks/ClientBlockHooks.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.blocks; 2 | 3 | import net.minecraft.client.renderer.ItemBlockRenderTypes; 4 | import net.minecraft.client.renderer.RenderType; 5 | import net.minecraft.world.level.block.state.BlockState; 6 | 7 | public class ClientBlockHooks { 8 | public static boolean isBlockInSolidLayer(BlockState state) { 9 | return ItemBlockRenderTypes.getChunkRenderType(state) != RenderType.solid(); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /modules/entity/src/main/java/io/github/fabricators_of_create/porting_lib/entity/mixin/accessor/PlayerDataStorageAccessor.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.entity.mixin.accessor; 2 | 3 | import net.minecraft.world.level.storage.PlayerDataStorage; 4 | 5 | import org.spongepowered.asm.mixin.Mixin; 6 | import org.spongepowered.asm.mixin.gen.Accessor; 7 | 8 | import java.io.File; 9 | 10 | @Mixin(PlayerDataStorage.class) 11 | public interface PlayerDataStorageAccessor { 12 | @Accessor 13 | File getPlayerDir(); 14 | } 15 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/worldgen/biome/is_sparse/overworld.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:windswept_forest", 5 | "minecraft:savanna", 6 | "minecraft:savanna_plateau", 7 | "minecraft:wooded_badlands", 8 | "minecraft:snowy_slopes", 9 | "minecraft:jagged_peaks", 10 | "minecraft:frozen_peaks", 11 | "minecraft:windswept_gravelly_hills", 12 | "minecraft:windswept_savanna", 13 | "minecraft:eroded_badlands", 14 | "minecraft:dripstone_caves" 15 | ] 16 | } -------------------------------------------------------------------------------- /modules/base/src/main/java/io/github/fabricators_of_create/porting_lib/mixin/client/ClientLanguageAccessor.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.mixin.client; 2 | 3 | import net.minecraft.client.resources.language.ClientLanguage; 4 | 5 | import org.spongepowered.asm.mixin.Mixin; 6 | import org.spongepowered.asm.mixin.gen.Accessor; 7 | 8 | import java.util.Map; 9 | 10 | @Mixin(ClientLanguage.class) 11 | public interface ClientLanguageAccessor { 12 | @Accessor("storage") 13 | Map port_lib$getStorage(); 14 | } 15 | -------------------------------------------------------------------------------- /modules/model_loader/src/main/java/io/github/fabricators_of_create/porting_lib/models/renderable/ITextureRenderTypeLookup.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.models.renderable; 2 | 3 | import net.minecraft.client.renderer.RenderType; 4 | import net.minecraft.resources.ResourceLocation; 5 | 6 | /** 7 | * A generic lookup for {@link RenderType} implementations that use the specified texture. 8 | */ 9 | @FunctionalInterface 10 | public interface ITextureRenderTypeLookup { 11 | RenderType get(ResourceLocation name); 12 | } 13 | -------------------------------------------------------------------------------- /modules/blocks/src/main/java/io/github/fabricators_of_create/porting_lib/blocks/extensions/MinecartPassHandlerBlock.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.blocks.extensions; 2 | 3 | import net.minecraft.core.BlockPos; 4 | import net.minecraft.world.entity.vehicle.AbstractMinecart; 5 | import net.minecraft.world.level.Level; 6 | import net.minecraft.world.level.block.state.BlockState; 7 | 8 | public interface MinecartPassHandlerBlock { 9 | void onMinecartPass(BlockState state, Level world, BlockPos pos, AbstractMinecart cart); 10 | } 11 | -------------------------------------------------------------------------------- /modules/base/src/main/java/io/github/fabricators_of_create/porting_lib/util/MaterialChest.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.util; 2 | 3 | import net.minecraft.client.resources.model.Material; 4 | import net.minecraft.world.level.block.entity.BlockEntity; 5 | import net.minecraft.world.level.block.entity.LidBlockEntity; 6 | import net.minecraft.world.level.block.state.properties.ChestType; 7 | 8 | public interface MaterialChest { 9 | Material getMaterial(T blockEntity, ChestType chestType); 10 | } 11 | -------------------------------------------------------------------------------- /modules/items/src/main/java/io/github/fabricators_of_create/porting_lib/item/extensions/CustomEnchantmentValueItem.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.item.extensions; 2 | 3 | import net.minecraft.world.item.Item; 4 | import net.minecraft.world.item.ItemStack; 5 | 6 | public interface CustomEnchantmentValueItem { 7 | /** 8 | * ItemStack sensitive version of {@link Item#getEnchantmentValue()}. 9 | * 10 | * @param stack The ItemStack 11 | * @return the enchantment value 12 | */ 13 | int getEnchantmentValue(ItemStack stack); 14 | } 15 | -------------------------------------------------------------------------------- /modules/entity_data_serializers/src/main/resources/fabric.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 1, 3 | "id": "porting_lib_entity_data_serializers", 4 | "version": "${version}", 5 | "name": "Porting Lib Entity Data Serializers", 6 | "description": "Adds a API for safely registering entity data serializers.", 7 | "entrypoints": { 8 | "main": [ 9 | "io.github.fabricators_of_create.porting_lib.entity.data.PortingLibEntityDataSerializers::init" 10 | ] 11 | }, 12 | "custom": { 13 | "loom:injected_interfaces": { 14 | 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/items/ore_rates/singular.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:ancient_debris", 5 | "minecraft:coal_ore", 6 | "minecraft:deepslate_coal_ore", 7 | "minecraft:deepslate_diamond_ore", 8 | "minecraft:deepslate_emerald_ore", 9 | "minecraft:deepslate_gold_ore", 10 | "minecraft:deepslate_iron_ore", 11 | "minecraft:diamond_ore", 12 | "minecraft:emerald_ore", 13 | "minecraft:gold_ore", 14 | "minecraft:iron_ore", 15 | "minecraft:nether_quartz_ore" 16 | ] 17 | } -------------------------------------------------------------------------------- /modules/brewing/src/main/resources/fabric.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 1, 3 | "id": "porting_lib_brewing", 4 | "version": "${version}", 5 | "name": "Porting Lib Brewing", 6 | "description": "Small library for adding brewing recipes", 7 | "custom": { 8 | "loom:injected_interfaces": { 9 | "net/minecraft/class_1845": ["io/github/fabricators_of_create/porting_lib/brewing/ext/PotionBrewingExt"], 10 | "net/minecraft/class_1845$class_9665": ["io/github/fabricators_of_create/porting_lib/brewing/ext/PotionBrewingBuilderExt"] 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /modules/resources/src/main/java/io/github/fabricators_of_create/porting_lib/resources/injections/RegistryLookupInjection.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.resources.injections; 2 | 3 | import io.github.fabricators_of_create.porting_lib.resources.data_maps.DataMapType; 4 | import net.minecraft.resources.ResourceKey; 5 | 6 | import org.jetbrains.annotations.Nullable; 7 | 8 | public interface RegistryLookupInjection { 9 | @Nullable 10 | default A getData(DataMapType attachment, ResourceKey key) { 11 | return null; 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/blocks/ore_rates/singular.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:ancient_debris", 5 | "minecraft:coal_ore", 6 | "minecraft:deepslate_coal_ore", 7 | "minecraft:deepslate_diamond_ore", 8 | "minecraft:deepslate_emerald_ore", 9 | "minecraft:deepslate_gold_ore", 10 | "minecraft:deepslate_iron_ore", 11 | "minecraft:diamond_ore", 12 | "minecraft:emerald_ore", 13 | "minecraft:gold_ore", 14 | "minecraft:iron_ore", 15 | "minecraft:nether_quartz_ore" 16 | ] 17 | } -------------------------------------------------------------------------------- /modules/brewing/src/main/resources/porting_lib_brewing.mixins.json: -------------------------------------------------------------------------------- 1 | { 2 | "required": true, 3 | "minVersion": "0.8", 4 | "priority": 951, 5 | "package": "io.github.fabricators_of_create.porting_lib.brewing.mixin", 6 | "compatibilityLevel": "JAVA_17", 7 | "injectors": { 8 | "defaultRequire": 1, 9 | "maxShiftBy": 5 10 | }, 11 | "mixins": [ 12 | "BrewingStandBlockEntityMixin", 13 | "BrewingStandMenu$IngredientsSlotMixin", 14 | "BrewingStandMenu$PotionSlotMixin", 15 | "PotionBrewingMixin", 16 | "PotionBrewingMixin$BuilderMixin" 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /modules/chunk_loading/src/main/resources/porting_lib_chunk_loading.mixins.json: -------------------------------------------------------------------------------- 1 | { 2 | "required": true, 3 | "minVersion": "0.8", 4 | "priority": 951, 5 | "package": "io.github.fabricators_of_create.porting_lib.chunk.loading.mixin", 6 | "compatibilityLevel": "JAVA_17", 7 | "mixins": [ 8 | "DistanceManagerMixin", 9 | "ForcedChunksSavedDataMixin", 10 | "MinecraftServerMixin", 11 | "ServerChunkCacheMixin", 12 | "ServerLevelMixin", 13 | "TicketMixin" 14 | ], 15 | "injectors": { 16 | "defaultRequire": 1, 17 | "maxShiftBy": 5 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /modules/entity/src/testmod/java/io/github/fabricators_of_create/porting_lib/entity/testmod/PortingLibEntityTestmodClient.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.entity.testmod; 2 | 3 | import net.fabricmc.api.ClientModInitializer; 4 | import net.fabricmc.fabric.api.client.rendering.v1.EntityRendererRegistry; 5 | 6 | public class PortingLibEntityTestmodClient implements ClientModInitializer { 7 | @Override 8 | public void onInitializeClient() { 9 | EntityRendererRegistry.register(PortingLibEntityTestmod.CUSTOM_SLIME, CustomSlimeRenderer::new); 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /modules/models/src/main/java/io/github/fabricators_of_create/porting_lib/models/extensions/BlockModelExtensions.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.models.extensions; 2 | 3 | import net.fabricmc.fabric.api.renderer.v1.material.BlendMode; 4 | 5 | import org.jetbrains.annotations.ApiStatus; 6 | 7 | import net.fabricmc.fabric.api.renderer.v1.material.RenderMaterial; 8 | 9 | @ApiStatus.Internal 10 | public interface BlockModelExtensions { 11 | void port_lib$setRenderMaterial(RenderMaterial material); 12 | void port_lib$setBlendMode(BlendMode blendMode); 13 | } 14 | -------------------------------------------------------------------------------- /modules/registry/src/main/resources/fabric.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 1, 3 | "id": "porting_lib_registry", 4 | "version": "${version}", 5 | "name": "Porting Lib Registry", 6 | "description": "A lazier way of registering things.", 7 | "custom": { 8 | "loom:injected_interfaces": { 9 | "net/minecraft/class_2378": ["io/github/fabricators_of_create/porting_lib/registry/injections/RegistryInjection"], 10 | "net/minecraft/class_6880": ["io/github/fabricators_of_create/porting_lib/registry/injections/HolderInjection"] 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /modules/resources/src/main/java/io/github/fabricators_of_create/porting_lib/resources/injections/PackRepositoryInjection.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.resources.injections; 2 | 3 | import io.github.fabricators_of_create.porting_lib.core.PortingLib; 4 | import net.minecraft.server.packs.repository.RepositorySource; 5 | 6 | public interface PackRepositoryInjection { 7 | default void port_lib$addPackFinder(RepositorySource packFinder) { 8 | throw PortingLib.createMixinException("PackRepositoryExtension.addPackFinder(RepositorySource)"); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /modules/data/src/main/resources/porting_lib_data.mixins.json: -------------------------------------------------------------------------------- 1 | { 2 | "required": true, 3 | "minVersion": "0.8", 4 | "package": "io.github.fabricators_of_create.porting_lib.data.mixin", 5 | "compatibilityLevel": "JAVA_17", 6 | "client": [ 7 | "MinecraftMixin" 8 | ], 9 | "injectors": { 10 | "defaultRequire": 1 11 | }, 12 | "mixins": [ 13 | "DynamicRegistriesMixin", 14 | "RecipeOutputMixin", 15 | "RecipeProvider$RecipeOutputMixin", 16 | "RecipeProviderAccessor", 17 | "RegistryPatchGeneratorMixin", 18 | "RegistrySetBuilderMixin" 19 | ] 20 | } 21 | -------------------------------------------------------------------------------- /modules/entity/src/main/java/io/github/fabricators_of_create/porting_lib/entity/injects/MobEffectInstanceInjection.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.entity.injects; 2 | 3 | import io.github.fabricators_of_create.porting_lib.core.PortingLib; 4 | import io.github.fabricators_of_create.porting_lib.entity.EffectCure; 5 | 6 | import java.util.Set; 7 | 8 | public interface MobEffectInstanceInjection { 9 | default Set getCures() { 10 | throw PortingLib.createMixinException(this.getClass().getSimpleName() + " does not support getCures()"); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /modules/blocks/src/main/java/io/github/fabricators_of_create/porting_lib/blocks/extensions/CustomSoundTypeBlock.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.blocks.extensions; 2 | 3 | import net.minecraft.core.BlockPos; 4 | import net.minecraft.world.entity.Entity; 5 | import net.minecraft.world.level.LevelReader; 6 | import net.minecraft.world.level.block.SoundType; 7 | import net.minecraft.world.level.block.state.BlockState; 8 | 9 | public interface CustomSoundTypeBlock { 10 | SoundType getSoundType(BlockState state, LevelReader world, BlockPos pos, Entity entity); 11 | } 12 | -------------------------------------------------------------------------------- /modules/entity/src/main/java/io/github/fabricators_of_create/porting_lib/entity/mixin/common/BlockableEventLoopAccessor.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.entity.mixin.common; 2 | 3 | import java.util.concurrent.CompletableFuture; 4 | 5 | import org.spongepowered.asm.mixin.Mixin; 6 | import org.spongepowered.asm.mixin.gen.Invoker; 7 | 8 | import net.minecraft.util.thread.BlockableEventLoop; 9 | 10 | @Mixin(BlockableEventLoop.class) 11 | public interface BlockableEventLoopAccessor { 12 | @Invoker 13 | CompletableFuture callSubmitAsync(Runnable task); 14 | } 15 | -------------------------------------------------------------------------------- /modules/item_abilities/src/generated/resources/data/minecraft/loot_tables/blocks/vine.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "minecraft:block", 3 | "pools": [ 4 | { 5 | "bonus_rolls": 0.0, 6 | "conditions": [ 7 | { 8 | "condition": "porting_lib:can_tool_perform_action", 9 | "value": "shears_dig" 10 | } 11 | ], 12 | "entries": [ 13 | { 14 | "type": "minecraft:item", 15 | "name": "minecraft:vine" 16 | } 17 | ], 18 | "rolls": 1.0 19 | } 20 | ], 21 | "random_sequence": "minecraft:blocks/vine" 22 | } -------------------------------------------------------------------------------- /modules/items/src/main/java/io/github/fabricators_of_create/porting_lib/item/extensions/BlockUseBypassingItem.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.item.extensions; 2 | 3 | import net.minecraft.core.BlockPos; 4 | import net.minecraft.world.InteractionHand; 5 | import net.minecraft.world.entity.player.Player; 6 | import net.minecraft.world.level.Level; 7 | import net.minecraft.world.level.block.state.BlockState; 8 | 9 | public interface BlockUseBypassingItem { 10 | boolean shouldBypass(BlockState state, BlockPos pos, Level level, Player player, InteractionHand hand); 11 | } 12 | -------------------------------------------------------------------------------- /modules/loot/src/main/java/io/github/fabricators_of_create/porting_lib/loot/extensions/LootContextExtensions.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.loot.extensions; 2 | 3 | import net.minecraft.resources.ResourceLocation; 4 | 5 | public interface LootContextExtensions { 6 | default void setQueriedLootTableId(ResourceLocation queriedLootTableId) { 7 | throw new RuntimeException("this should be overridden via mixin. what?"); 8 | } 9 | default ResourceLocation getQueriedLootTableId() { 10 | throw new RuntimeException("this should be overridden via mixin. what?"); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /modules/item_abilities/src/generated/resources/data/minecraft/loot_tables/blocks/seagrass.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "minecraft:block", 3 | "pools": [ 4 | { 5 | "bonus_rolls": 0.0, 6 | "conditions": [ 7 | { 8 | "condition": "porting_lib:can_tool_perform_action", 9 | "value": "shears_dig" 10 | } 11 | ], 12 | "entries": [ 13 | { 14 | "type": "minecraft:item", 15 | "name": "minecraft:seagrass" 16 | } 17 | ], 18 | "rolls": 1.0 19 | } 20 | ], 21 | "random_sequence": "minecraft:blocks/seagrass" 22 | } -------------------------------------------------------------------------------- /modules/item_abilities/src/main/java/io/github/fabricators_of_create/porting_lib/tool/data/ItemAbilitiesData.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.tool.data; 2 | 3 | import net.fabricmc.fabric.api.datagen.v1.DataGeneratorEntrypoint; 4 | import net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator; 5 | 6 | public class ItemAbilitiesData implements DataGeneratorEntrypoint { 7 | @Override 8 | public void onInitializeDataGenerator(FabricDataGenerator dataGenerator) { 9 | var pack = dataGenerator.createPack(); 10 | pack.addProvider(ItemAbilityLootTableProvider::new); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /modules/loot/src/main/java/io/github/fabricators_of_create/porting_lib/loot/extensions/PortingLibLootTableBuilder.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.loot.extensions; 2 | 3 | import net.minecraft.resources.ResourceLocation; 4 | 5 | public interface PortingLibLootTableBuilder { 6 | default ResourceLocation getPortingLibLootTableId() { 7 | throw new RuntimeException("this should be overridden via mixin. what?"); 8 | } 9 | 10 | default void setPortingLibLootTableId(ResourceLocation id) { 11 | throw new RuntimeException("this should be overridden via mixin. what?"); 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /modules/milk/src/generated/resources/assets/porting_lib_milk/sounds.json: -------------------------------------------------------------------------------- 1 | { 2 | "item.bucket.empty_milk": { 3 | "sounds": [ 4 | "item/bucket/empty1", 5 | { 6 | "name": "item/bucket/empty1", 7 | "pitch": 0.9 8 | }, 9 | "item/bucket/empty2", 10 | "item/bucket/empty3" 11 | ], 12 | "subtitle": "subtitles.item.bucket.empty" 13 | }, 14 | "item.bucket.fill_milk": { 15 | "sounds": [ 16 | "item/bucket/fill1", 17 | "item/bucket/fill2", 18 | "item/bucket/fill3" 19 | ], 20 | "subtitle": "subtitles.item.bucket.fill" 21 | } 22 | } -------------------------------------------------------------------------------- /modules/blocks/src/main/java/io/github/fabricators_of_create/porting_lib/blocks/extensions/CustomBurnabilityBlock.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.blocks.extensions; 2 | 3 | import net.minecraft.world.level.block.FireBlock; 4 | import net.minecraft.world.level.block.state.BlockState; 5 | 6 | /** 7 | * Allows blocks to control their burnability based on their state 8 | * @see FireBlock#canBurn(BlockState) 9 | */ 10 | public interface CustomBurnabilityBlock { 11 | /** 12 | * @return true if the provided state is burnable by fire 13 | */ 14 | boolean canBurn(BlockState state); 15 | } 16 | -------------------------------------------------------------------------------- /modules/client_extensions/src/main/java/io/github/fabricators_of_create/porting_lib/client_extensions/mixin/ItemRendererAccessor.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.client_extensions.mixin; 2 | 3 | import net.minecraft.client.renderer.BlockEntityWithoutLevelRenderer; 4 | import net.minecraft.client.renderer.entity.ItemRenderer; 5 | 6 | import org.spongepowered.asm.mixin.Mixin; 7 | import org.spongepowered.asm.mixin.gen.Accessor; 8 | 9 | @Mixin(ItemRenderer.class) 10 | public interface ItemRendererAccessor { 11 | @Accessor 12 | BlockEntityWithoutLevelRenderer getBlockEntityRenderer(); 13 | } 14 | -------------------------------------------------------------------------------- /modules/data/src/main/java/io/github/fabricators_of_create/porting_lib/data/mixin/RecipeProviderAccessor.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.data.mixin; 2 | 3 | import net.minecraft.data.PackOutput; 4 | import net.minecraft.data.recipes.RecipeProvider; 5 | 6 | import org.spongepowered.asm.mixin.Mixin; 7 | import org.spongepowered.asm.mixin.gen.Accessor; 8 | 9 | @Mixin(RecipeProvider.class) 10 | public interface RecipeProviderAccessor { 11 | @Accessor 12 | PackOutput.PathProvider getRecipePathProvider(); 13 | 14 | @Accessor 15 | PackOutput.PathProvider getAdvancementPathProvider(); 16 | } 17 | -------------------------------------------------------------------------------- /modules/models/src/main/java/io/github/fabricators_of_create/porting_lib/models/mixin/client/TextureSheetParticleAccessor.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.models.mixin.client; 2 | 3 | import net.minecraft.client.particle.TextureSheetParticle; 4 | import net.minecraft.client.renderer.texture.TextureAtlasSprite; 5 | 6 | import org.spongepowered.asm.mixin.Mixin; 7 | import org.spongepowered.asm.mixin.gen.Invoker; 8 | 9 | @Mixin(TextureSheetParticle.class) 10 | public interface TextureSheetParticleAccessor { 11 | @Invoker("setSprite") 12 | void callSetSprite(TextureAtlasSprite sprite); 13 | } 14 | -------------------------------------------------------------------------------- /modules/blocks/src/main/java/io/github/fabricators_of_create/porting_lib/blocks/extensions/CustomSlimeBlock.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.blocks.extensions; 2 | 3 | import net.minecraft.world.level.block.Blocks; 4 | import net.minecraft.world.level.block.state.BlockState; 5 | 6 | public interface CustomSlimeBlock { 7 | /** 8 | * @param state The state 9 | * @return true if the block is sticky block which used for pull or push adjacent blocks (use by piston) 10 | */ 11 | default boolean isSlimeBlock(BlockState state) { 12 | return state.getBlock() == Blocks.SLIME_BLOCK; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /modules/blocks/src/main/java/io/github/fabricators_of_create/porting_lib/blocks/mixin/common/FireBlockAccessor.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.blocks.mixin.common; 2 | 3 | import net.minecraft.world.level.block.FireBlock; 4 | 5 | import net.minecraft.world.level.block.state.BlockState; 6 | 7 | import org.spongepowered.asm.mixin.Mixin; 8 | import org.spongepowered.asm.mixin.gen.Invoker; 9 | 10 | @Mixin(FireBlock.class) 11 | public interface FireBlockAccessor { 12 | @Invoker 13 | int callGetIgniteOdds(BlockState state); 14 | 15 | @Invoker 16 | int callGetBurnOdds(BlockState state); 17 | } 18 | -------------------------------------------------------------------------------- /modules/item_abilities/src/generated/resources/data/minecraft/loot_tables/blocks/hanging_roots.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "minecraft:block", 3 | "pools": [ 4 | { 5 | "bonus_rolls": 0.0, 6 | "conditions": [ 7 | { 8 | "condition": "porting_lib:can_tool_perform_action", 9 | "value": "shears_dig" 10 | } 11 | ], 12 | "entries": [ 13 | { 14 | "type": "minecraft:item", 15 | "name": "minecraft:hanging_roots" 16 | } 17 | ], 18 | "rolls": 1.0 19 | } 20 | ], 21 | "random_sequence": "minecraft:blocks/hanging_roots" 22 | } -------------------------------------------------------------------------------- /modules/item_abilities/src/generated/resources/data/minecraft/loot_tables/blocks/nether_sprouts.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "minecraft:block", 3 | "pools": [ 4 | { 5 | "bonus_rolls": 0.0, 6 | "conditions": [ 7 | { 8 | "condition": "porting_lib:can_tool_perform_action", 9 | "value": "shears_dig" 10 | } 11 | ], 12 | "entries": [ 13 | { 14 | "type": "minecraft:item", 15 | "name": "minecraft:nether_sprouts" 16 | } 17 | ], 18 | "rolls": 1.0 19 | } 20 | ], 21 | "random_sequence": "minecraft:blocks/nether_sprouts" 22 | } -------------------------------------------------------------------------------- /modules/item_abilities/src/generated/resources/data/minecraft/loot_tables/blocks/small_dripleaf.json: -------------------------------------------------------------------------------- 1 | { 2 | "type": "minecraft:block", 3 | "pools": [ 4 | { 5 | "bonus_rolls": 0.0, 6 | "conditions": [ 7 | { 8 | "condition": "porting_lib:can_tool_perform_action", 9 | "value": "shears_dig" 10 | } 11 | ], 12 | "entries": [ 13 | { 14 | "type": "minecraft:item", 15 | "name": "minecraft:small_dripleaf" 16 | } 17 | ], 18 | "rolls": 1.0 19 | } 20 | ], 21 | "random_sequence": "minecraft:blocks/small_dripleaf" 22 | } -------------------------------------------------------------------------------- /modules/tags/src/generated/resources/data/c/tags/worldgen/biome/is_rare.json: -------------------------------------------------------------------------------- 1 | { 2 | "replace": false, 3 | "values": [ 4 | "minecraft:mushroom_fields", 5 | "minecraft:sparse_jungle", 6 | "minecraft:savanna_plateau", 7 | "minecraft:sunflower_plains", 8 | "minecraft:windswept_gravelly_hills", 9 | "minecraft:flower_forest", 10 | "minecraft:ice_spikes", 11 | "minecraft:old_growth_birch_forest", 12 | "minecraft:old_growth_spruce_taiga", 13 | "minecraft:windswept_savanna", 14 | "minecraft:eroded_badlands", 15 | "minecraft:bamboo_jungle", 16 | "minecraft:deep_dark" 17 | ] 18 | } -------------------------------------------------------------------------------- /modules/model_loader/src/main/resources/porting_lib_model_loader.mixins.json: -------------------------------------------------------------------------------- 1 | { 2 | "required": true, 3 | "minVersion": "0.8", 4 | "package": "io.github.fabricators_of_create.porting_lib.models.geometry.mixin", 5 | "compatibilityLevel": "JAVA_17", 6 | "client": [ 7 | "client.BlockElementFaceMixin", 8 | "client.BlockElementFaceMixin$DeserializerMixin", 9 | "client.BlockElementMixin", 10 | "client.BlockModelDeserializerMixin", 11 | "client.BlockModelMixin" 12 | ], 13 | "injectors": { 14 | "defaultRequire": 1 15 | }, 16 | "mixins": [ 17 | "common.TransformationMixin" 18 | ] 19 | } 20 | -------------------------------------------------------------------------------- /modules/core/src/main/java/io/github/fabricators_of_create/porting_lib/core/util/TranslatableEnum.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.core.util; 2 | 3 | import net.minecraft.network.chat.Component; 4 | 5 | /** 6 | * An enum value that can be be translated. 7 | */ 8 | public interface TranslatableEnum { 9 | /** 10 | * {@return the translated name of this value} 11 | * Defaults to a {@linkplain Component#literal(String) literal component} with the {@link Enum#name() enum name}; 12 | */ 13 | default Component getTranslatedName() { 14 | return Component.literal(((Enum) this).name()); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /modules/item_abilities/src/main/java/io/github/fabricators_of_create/porting_lib/tool/mixin/InvertedLootItemConditionAccessor.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.tool.mixin; 2 | 3 | import net.minecraft.world.level.storage.loot.predicates.InvertedLootItemCondition; 4 | import net.minecraft.world.level.storage.loot.predicates.LootItemCondition; 5 | 6 | import org.spongepowered.asm.mixin.Mixin; 7 | import org.spongepowered.asm.mixin.gen.Accessor; 8 | 9 | @Mixin(InvertedLootItemCondition.class) 10 | public interface InvertedLootItemConditionAccessor { 11 | @Accessor 12 | LootItemCondition getTerm(); 13 | } 14 | -------------------------------------------------------------------------------- /modules/tags/src/main/resources/fabric.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 1, 3 | "id": "porting_lib_tags", 4 | "version": "3.0", 5 | "name": "Porting Lib Tags", 6 | "description": "Adds tags from Forge that Fabric is missing.", 7 | "authors": [ 8 | "AlphaMode" 9 | ], 10 | "entrypoints": { 11 | "fabric-datagen": [ 12 | "io.github.fabricators_of_create.porting_lib.tags.data.DataGenerators" 13 | ] 14 | }, 15 | "custom": { 16 | "loom:injected_interfaces": { 17 | "net/minecraft/class_1767": ["io/github/fabricators_of_create/porting_lib/tags/extensions/DyeExtension"] 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /modules/common/src/main/java/io/github/fabricators_of_create/porting_lib/common/injects/LanguageManagerInjection.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.common.injects; 2 | 3 | import io.github.fabricators_of_create.porting_lib.core.PortingLib; 4 | import net.fabricmc.api.EnvType; 5 | import net.fabricmc.api.Environment; 6 | 7 | import java.util.Locale; 8 | 9 | @Environment(EnvType.CLIENT) 10 | public interface LanguageManagerInjection { 11 | default Locale port_lib$getJavaLocale() { 12 | throw PortingLib.createMixinException(this.getClass().getSimpleName() + " does not support getJavaLocale()"); 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /modules/core/src/main/java/io/github/fabricators_of_create/porting_lib/core/client/PortingLibClient.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.core.client; 2 | 3 | import io.github.fabricators_of_create.porting_lib.core.util.LogicalSidedProvider; 4 | import net.fabricmc.api.ClientModInitializer; 5 | import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientLifecycleEvents; 6 | 7 | public class PortingLibClient implements ClientModInitializer { 8 | @Override 9 | public void onInitializeClient() { 10 | ClientLifecycleEvents.CLIENT_STARTED.register(client -> LogicalSidedProvider.setClient(() -> client)); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /modules/transfer/src/main/java/io/github/fabricators_of_create/porting_lib/util/FluidUnit.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.util; 2 | 3 | public enum FluidUnit { 4 | DROPLETS(1, "generic.unit.droplets"), 5 | MILLIBUCKETS(81, "generic.unit.millibuckets"); 6 | 7 | private final int oneBucket; 8 | private final String langKey; 9 | 10 | FluidUnit(int bucketAmount, String lang) { 11 | this.oneBucket = bucketAmount; 12 | this.langKey = lang; 13 | } 14 | 15 | public int getOneBucketAmount() { 16 | return oneBucket; 17 | } 18 | 19 | public String getTranslationKey() { 20 | return langKey; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /modules/attributes/src/main/resources/fabric.mod.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 1, 3 | "id": "porting_lib_attributes", 4 | "version": "${version}", 5 | "name": "Porting Lib Attributes", 6 | "description": "Adds entity attributes missing from Fabric.", 7 | "entrypoints": { 8 | "main": [ 9 | "io.github.fabricators_of_create.porting_lib.attributes.PortingLibAttributes" 10 | ] 11 | }, 12 | "custom": { 13 | "loom:injected_interfaces": { 14 | "net/minecraft/class_1657": [ 15 | "io/github/fabricators_of_create/porting_lib/attributes/injections/PlayerAttributesInjection" 16 | ] 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /modules/base/src/main/java/io/github/fabricators_of_create/porting_lib/mixin/client/TextureAtlasSprite$AnimatedTextureAccessor.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.mixin.client; 2 | 3 | import org.spongepowered.asm.mixin.Mixin; 4 | import org.spongepowered.asm.mixin.gen.Invoker; 5 | 6 | import net.minecraft.client.renderer.texture.SpriteContents; 7 | 8 | @Mixin(SpriteContents.AnimatedTexture.class) 9 | public interface TextureAtlasSprite$AnimatedTextureAccessor { 10 | @Invoker("getFrameX") 11 | int port_lib$getFrameX(int frameIndex); 12 | 13 | @Invoker("getFrameY") 14 | int port_lib$getFrameY(int frameIndex); 15 | } 16 | -------------------------------------------------------------------------------- /modules/item_abilities/src/main/java/io/github/fabricators_of_create/porting_lib/tool/mixin/BuilderAccessor.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.tool.mixin; 2 | 3 | import com.google.common.collect.ImmutableList; 4 | 5 | import net.minecraft.world.level.storage.loot.LootPool; 6 | import net.minecraft.world.level.storage.loot.LootTable; 7 | 8 | import org.spongepowered.asm.mixin.Mixin; 9 | import org.spongepowered.asm.mixin.gen.Accessor; 10 | 11 | import java.util.List; 12 | 13 | @Mixin(LootTable.Builder.class) 14 | public interface BuilderAccessor { 15 | @Accessor 16 | ImmutableList.Builder getPools(); 17 | } 18 | -------------------------------------------------------------------------------- /modules/loot/src/main/java/io/github/fabricators_of_create/porting_lib/loot/extensions/LootTableExtensions.java: -------------------------------------------------------------------------------- 1 | package io.github.fabricators_of_create.porting_lib.loot.extensions; 2 | 3 | import net.minecraft.resources.ResourceLocation; 4 | 5 | public interface LootTableExtensions { 6 | // hack to access a field defined in one mixin in another. 7 | default void setLootTableId(final ResourceLocation id) { 8 | throw new RuntimeException("this should be overridden via mixin. what?"); 9 | } 10 | 11 | default ResourceLocation getLootTableId() { 12 | throw new RuntimeException("this should be overridden via mixin. what?"); 13 | } 14 | } 15 | --------------------------------------------------------------------------------