Showing preview only (2,500K chars total). Download the full file or copy to clipboard to get everything.
Repository: GabrielOlvH/Industrial-Revolution
Branch: master
Commit: 012a1b83f39a
Files: 1883
Total size: 1.9 MB
Directory structure:
gitextract_2rmcmr4g/
├── .github/
│ └── ISSUE_TEMPLATE/
│ ├── bugs.md
│ └── requests.md
├── .gitignore
├── LICENSE.txt
├── README.md
├── build.gradle
├── gradle/
│ └── wrapper/
│ ├── gradle-wrapper.jar
│ └── gradle-wrapper.properties
├── gradle.properties
├── gradlew
├── gradlew.bat
├── settings.gradle
└── src/
└── main/
├── java/
│ └── me/
│ └── steven/
│ └── indrev/
│ ├── AprilFools.java
│ ├── FabricRecipeRemainder.java
│ ├── IREnergyStorage.java
│ ├── WCustomTabPanel.java
│ └── mixin/
│ ├── aprilfools/
│ │ ├── AprilFoolsMixinConfigPlugin.java
│ │ └── MixinTranslatableText.java
│ ├── client/
│ │ ├── MixinBuiltChunk.java
│ │ ├── MixinClientPlayerInteractionManager.java
│ │ ├── MixinGameRenderer.java
│ │ ├── MixinItemRenderer.java
│ │ ├── MixinLivingEntityClient.java
│ │ ├── MixinMinecraftClient.java
│ │ └── MixinWItemSlot.java
│ └── common/
│ ├── MixinAbstractCookingRecipe.java
│ ├── MixinEnchantmentHelper.java
│ ├── MixinEntity.java
│ ├── MixinItemPredicate.java
│ ├── MixinItemStack.java
│ ├── MixinLivingEntity.java
│ ├── MixinPiglinBrain.java
│ ├── MixinPlayerEntity.java
│ ├── MixinPlayerInventory.java
│ ├── MixinServerPlayerEntity.java
│ └── MixinServerWorld.java
├── kotlin/
│ └── me/
│ └── steven/
│ └── indrev/
│ ├── IndustrialRevolution.kt
│ ├── IndustrialRevolutionClient.kt
│ ├── api/
│ │ ├── AttributeModifierProvider.kt
│ │ ├── CustomEnchantmentProvider.kt
│ │ ├── IREntityExtension.kt
│ │ ├── IRPlayerEntityExtension.kt
│ │ ├── IRServerPlayerEntityExtension.kt
│ │ ├── OreDataCards.kt
│ │ ├── ServerWorldExtension.kt
│ │ ├── machines/
│ │ │ ├── Tier.kt
│ │ │ └── TransferMode.kt
│ │ └── sideconfigs/
│ │ ├── Configurable.kt
│ │ ├── ConfigurationType.kt
│ │ └── SideConfiguration.kt
│ ├── armor/
│ │ ├── IRArmorMaterial.kt
│ │ ├── ModuleFeatureRenderer.kt
│ │ └── ReinforcedElytraFeatureRenderer.kt
│ ├── blockentities/
│ │ ├── BaseBlockEntity.kt
│ │ ├── BaseMachineBlockEntity.kt
│ │ ├── GlobalStateController.kt
│ │ ├── MachineBlockEntity.kt
│ │ ├── Syncable.kt
│ │ ├── cables/
│ │ │ └── BasePipeBlockEntity.kt
│ │ ├── crafters/
│ │ │ ├── CompressorBlockEntity.kt
│ │ │ ├── CompressorFactoryBlockEntity.kt
│ │ │ ├── CondenserBlockEntity.kt
│ │ │ ├── CondenserBlockEntityRenderer.kt
│ │ │ ├── CraftingMachineBlockEntity.kt
│ │ │ ├── ElectricFurnaceBlockEntity.kt
│ │ │ ├── ElectricFurnaceFactoryBlockEntity.kt
│ │ │ ├── ElectrolyticSeparatorBlockEntity.kt
│ │ │ ├── FluidInfuserBlockEntity.kt
│ │ │ ├── FluidInfuserBlockEntityRenderer.kt
│ │ │ ├── PulverizerBlockEntity.kt
│ │ │ ├── PulverizerFactoryBlockEntity.kt
│ │ │ ├── RecyclerBlockEntity.kt
│ │ │ ├── SawmillBlockEntity.kt
│ │ │ ├── SmelterBlockEntity.kt
│ │ │ ├── SolidInfuserBlockEntity.kt
│ │ │ └── SolidInfuserFactoryBlockEntity.kt
│ │ ├── farms/
│ │ │ ├── AOEMachineBlockEntity.kt
│ │ │ ├── AOEMachineBlockEntityRenderer.kt
│ │ │ ├── BiomassComposterBlockEntity.kt
│ │ │ ├── BiomassComposterBlockEntityRenderer.kt
│ │ │ ├── ChopperBlockEntity.kt
│ │ │ ├── ChopperBlockEntityRenderer.kt
│ │ │ ├── DirtOxygenatorBlockEntity.kt
│ │ │ ├── DrainBlockEntity.kt
│ │ │ ├── FarmerBlockEntity.kt
│ │ │ ├── FisherBlockEntity.kt
│ │ │ ├── PumpBlockEntity.kt
│ │ │ ├── PumpBlockEntityRenderer.kt
│ │ │ ├── RancherBlockEntity.kt
│ │ │ └── SlaughterBlockEntity.kt
│ │ ├── generators/
│ │ │ ├── BiomassGeneratorBlockEntity.kt
│ │ │ ├── CoalGeneratorBlockEntity.kt
│ │ │ ├── GasBurningGeneratorBlockEntity.kt
│ │ │ ├── GeneratorBlockEntity.kt
│ │ │ ├── HeatGeneratorBlockEntity.kt
│ │ │ ├── HeatGeneratorBlockEntityRenderer.kt
│ │ │ ├── SolarGeneratorBlockEntity.kt
│ │ │ ├── SolidFuelGeneratorBlockEntity.kt
│ │ │ ├── SteamTurbineBlockEntity.kt
│ │ │ └── SteamTurbineSteamInputValveBlockEntity.kt
│ │ ├── laser/
│ │ │ ├── CapsuleBlockEntity.kt
│ │ │ ├── CapsuleBlockEntityRenderer.kt
│ │ │ ├── LaserBlockEntity.kt
│ │ │ └── LaserBlockEntityRenderer.kt
│ │ ├── miningrig/
│ │ │ ├── DataCardWriterBlockEntity.kt
│ │ │ ├── DrillBlockEntity.kt
│ │ │ ├── DrillBlockEntityRenderer.kt
│ │ │ ├── MiningRigBlockEntity.kt
│ │ │ └── MiningRigBlockEntityRenderer.kt
│ │ ├── modularworkbench/
│ │ │ ├── ModularWorkbenchBlockEntity.kt
│ │ │ └── ModularWorkbenchBlockEntityRenderer.kt
│ │ ├── solarpowerplant/
│ │ │ ├── HeliostatBlockEntity.kt
│ │ │ ├── HeliostatBlockEntityRenderer.kt
│ │ │ ├── SolarPowerPlantTowerBlockEntity.kt
│ │ │ └── SolarReceiverBlockEntity.kt
│ │ └── storage/
│ │ ├── CabinetBlockEntity.kt
│ │ ├── ChargePadBlockEntity.kt
│ │ ├── ChargePadBlockEntityRenderer.kt
│ │ ├── LazuliFluxContainerBlockEntity.kt
│ │ ├── LazuliFluxContainerBlockEntityRenderer.kt
│ │ ├── TankBlockEntity.kt
│ │ └── TankBlockEntityRenderer.kt
│ ├── blocks/
│ │ ├── HeliostatBlock.kt
│ │ ├── machine/
│ │ │ ├── CapsuleBlock.kt
│ │ │ ├── ChargePadBlock.kt
│ │ │ ├── DirtOxygenatorBlock.kt
│ │ │ ├── DrillBlock.kt
│ │ │ ├── DrillHeadModel.kt
│ │ │ ├── ElectrolyticSeparatorBlock.kt
│ │ │ ├── FacingMachineBlock.kt
│ │ │ ├── HorizontalFacingMachineBlock.kt
│ │ │ ├── LaserBlock.kt
│ │ │ ├── LazuliFluxContainerBlock.kt
│ │ │ ├── MachineBlock.kt
│ │ │ ├── MiningRigBlock.kt
│ │ │ ├── PumpBlock.kt
│ │ │ ├── pipes/
│ │ │ │ ├── BasePipeBlock.kt
│ │ │ │ ├── CableBlock.kt
│ │ │ │ ├── FluidPipeBlock.kt
│ │ │ │ └── ItemPipeBlock.kt
│ │ │ └── solarpowerplant/
│ │ │ ├── FluidValveBlock.kt
│ │ │ ├── SolarPowerPlantFluidOutputBlock.kt
│ │ │ ├── SolarPowerPlantTowerBlock.kt
│ │ │ ├── SolarReceiverBlock.kt
│ │ │ ├── SteamTurbineBlock.kt
│ │ │ └── SteamTurbineSteamInputValveBlock.kt
│ │ ├── misc/
│ │ │ ├── AcidFluidBlock.kt
│ │ │ ├── BiomassComposterBlock.kt
│ │ │ ├── CabinetBlock.kt
│ │ │ ├── DuctBlock.kt
│ │ │ ├── HorizontalFacingBlock.kt
│ │ │ ├── NikoliteOreBlock.kt
│ │ │ ├── PlankBlock.kt
│ │ │ ├── SulfurCrystalBlock.kt
│ │ │ ├── TankBlock.kt
│ │ │ ├── VerticalFacingBlock.kt
│ │ │ └── WarningStrobeBlock.kt
│ │ └── models/
│ │ ├── LazuliFluxContainerBakedModel.kt
│ │ ├── MachineBakedModel.kt
│ │ ├── MinerBakedModel.kt
│ │ ├── PumpPipeBakedModel.kt
│ │ └── pipes/
│ │ ├── BasePipeModel.kt
│ │ ├── CableModel.kt
│ │ ├── FluidPipeModel.kt
│ │ └── ItemPipeModel.kt
│ ├── compat/
│ │ ├── dashloader/
│ │ │ └── models/
│ │ │ ├── DashCableModel.kt
│ │ │ ├── DashFluidPipeModel.kt
│ │ │ ├── DashItemPipeModel.kt
│ │ │ ├── DashLazuliFluxContainerModel.kt
│ │ │ ├── DashMachineModel.kt
│ │ │ ├── DashMinerModel.kt
│ │ │ └── DashTankModel.kt
│ │ └── rei/
│ │ ├── REIPlugin.kt
│ │ ├── categories/
│ │ │ ├── IRMachineRecipeCategory.kt
│ │ │ ├── IRModuleCraftingRecipeCategory.kt
│ │ │ └── IRSawmillRecipeCategory.kt
│ │ └── plugins/
│ │ └── IRMachinePlugin.kt
│ ├── components/
│ │ ├── CraftingComponent.kt
│ │ ├── EnhancerComponent.kt
│ │ ├── FluidComponent.kt
│ │ ├── GuiSyncableComponent.kt
│ │ ├── InventoryComponent.kt
│ │ ├── TemperatureComponent.kt
│ │ └── multiblock/
│ │ ├── BlockStateFilter.kt
│ │ ├── MultiBlockComponent.kt
│ │ ├── MultiblockBlockEntityRenderer.kt
│ │ ├── MultiblockMatcher.kt
│ │ ├── StructureDefinition.kt
│ │ ├── StructureHolder.kt
│ │ ├── StructureIdentifier.kt
│ │ └── definitions/
│ │ ├── FactoryStructureDefinition.kt
│ │ ├── SolarPowerPlantTowerStructureDefinition.kt
│ │ └── SteamTurbineStructureDefinition.kt
│ ├── config/
│ │ └── IRConfig.kt
│ ├── datagen/
│ │ ├── DataFactory.kt
│ │ ├── DataGenerator.kt
│ │ ├── DataGeneratorManager.kt
│ │ ├── ImageFactory.kt
│ │ ├── IndustrialRevolutionDatagen.kt
│ │ ├── JsonFactory.kt
│ │ ├── generators/
│ │ │ ├── BlockModelGenerator.kt
│ │ │ ├── ItemModelGenerator.kt
│ │ │ ├── LootTableGenerator.kt
│ │ │ ├── MaterialRecipeGenerator.kt
│ │ │ ├── MaterialTagGenerator.kt
│ │ │ └── MetalSpriteGenerator.kt
│ │ └── utils/
│ │ ├── MaterialColors.kt
│ │ ├── MetalModel.kt
│ │ ├── MetalSpriteRegistry.kt
│ │ └── SpriteColorHolder.kt
│ ├── events/
│ │ ├── client/
│ │ │ ├── IRClientTickEvents.kt
│ │ │ ├── IRHudRenderCallback.kt
│ │ │ ├── IRLivingEntityFeatureRendererCallback.kt
│ │ │ ├── IRTooltipComponentsCallback.kt
│ │ │ ├── IRWorldRenderer.kt
│ │ │ ├── MatterProjectorPreviewRenderer.kt
│ │ │ └── MiningRigInfoTooltipCallback.kt
│ │ └── common/
│ │ └── IRLootTableCallback.kt
│ ├── fluids/
│ │ ├── BaseFluid.kt
│ │ └── FluidType.kt
│ ├── gui/
│ │ ├── IRInventoryScreen.kt
│ │ ├── IRModularControllerScreen.kt
│ │ ├── IRScreenHandlerFactory.kt
│ │ ├── ScrewdriverScreenHandlerFactory.kt
│ │ ├── guiutils.kt
│ │ ├── properties/
│ │ │ └── SyncableProperty.kt
│ │ ├── screenhandlers/
│ │ │ ├── IRGuiScreenHandler.kt
│ │ │ ├── blockblacklister/
│ │ │ │ └── BlockBlacklisterScreenHandler.kt
│ │ │ ├── machines/
│ │ │ │ ├── BiomassGeneratorScreenHandler.kt
│ │ │ │ ├── ChopperScreenHandler.kt
│ │ │ │ ├── CoalGeneratorScreenHandler.kt
│ │ │ │ ├── CompressorFactoryScreenHandler.kt
│ │ │ │ ├── CompressorScreenHandler.kt
│ │ │ │ ├── CondenserScreenHandler.kt
│ │ │ │ ├── DataCardWriterScreenHandler.kt
│ │ │ │ ├── ElectricFurnaceFactoryScreenHandler.kt
│ │ │ │ ├── ElectricFurnaceScreenHandler.kt
│ │ │ │ ├── ElectrolyticSeparatorScreenHandler.kt
│ │ │ │ ├── FarmerScreenHandler.kt
│ │ │ │ ├── FisherScreenHandler.kt
│ │ │ │ ├── FluidInfuserScreenHandler.kt
│ │ │ │ ├── GasBurningGeneratorScreenHandler.kt
│ │ │ │ ├── HeatGeneratorScreenHandler.kt
│ │ │ │ ├── LaserEmitterScreenHandler.kt
│ │ │ │ ├── LazuliFluxContainerScreenHandler.kt
│ │ │ │ ├── MiningRigComputerScreenHandler.kt
│ │ │ │ ├── MiningRigDrillScreenHandler.kt
│ │ │ │ ├── ModularWorkbenchScreenHandler.kt
│ │ │ │ ├── PulverizerFactoryScreenHandler.kt
│ │ │ │ ├── PulverizerScreenHandler.kt
│ │ │ │ ├── PumpScreenHandler.kt
│ │ │ │ ├── RancherScreenHandler.kt
│ │ │ │ ├── RecyclerScreenHandler.kt
│ │ │ │ ├── SawmillScreenHandler.kt
│ │ │ │ ├── SlaughterScreenHandler.kt
│ │ │ │ ├── SmelterScreenHandler.kt
│ │ │ │ ├── SolarGeneratorScreenHandler.kt
│ │ │ │ ├── SolarPowerPlantTowerScreenHandler.kt
│ │ │ │ ├── SolidInfuserFactoryScreenHandler.kt
│ │ │ │ ├── SolidInfuserScreenHandler.kt
│ │ │ │ └── SteamTurbineScreenHandler.kt
│ │ │ ├── modular/
│ │ │ │ └── ModularItemConfigurationScreenHandler.kt
│ │ │ ├── pipes/
│ │ │ │ ├── PipeFilterScreen.kt
│ │ │ │ ├── PipeFilterScreenFactory.kt
│ │ │ │ └── PipeFilterScreenHandler.kt
│ │ │ ├── screenhandlers.kt
│ │ │ ├── storage/
│ │ │ │ └── CabinetScreenHandler.kt
│ │ │ └── wrench/
│ │ │ └── ScrewdriverScreenHandler.kt
│ │ ├── tooltip/
│ │ │ ├── energy/
│ │ │ │ ├── EnergyTooltipComponent.kt
│ │ │ │ └── EnergyTooltipData.kt
│ │ │ ├── modular/
│ │ │ │ ├── ModularTooltipComponent.kt
│ │ │ │ └── ModularTooltipData.kt
│ │ │ └── oredatacards/
│ │ │ ├── OreDataCardTooltipComponent.kt
│ │ │ └── OreDataCardTooltipData.kt
│ │ └── widgets/
│ │ ├── machines/
│ │ │ ├── WCustomBar.kt
│ │ │ └── WMachineSideDisplay.kt
│ │ └── misc/
│ │ ├── WBookEntryShortcut.kt
│ │ ├── WCircleProgressBar.kt
│ │ ├── WDynamicSprite.kt
│ │ ├── WKnob.kt
│ │ ├── WPlayerRender.kt
│ │ ├── WStaticTooltip.kt
│ │ ├── WText.kt
│ │ └── WTooltipedItemSlot.kt
│ ├── inventories/
│ │ ├── IRInventory.kt
│ │ └── IRInventoryDSL.kt
│ ├── items/
│ │ ├── armor/
│ │ │ ├── IRColorModuleItem.kt
│ │ │ ├── IRModularArmorItem.kt
│ │ │ ├── IRModuleItem.kt
│ │ │ ├── JetpackHandler.kt
│ │ │ ├── JetpackItem.kt
│ │ │ └── ReinforcedElytraItem.kt
│ │ ├── energy/
│ │ │ ├── IRBatteryItem.kt
│ │ │ ├── IREnergyItem.kt
│ │ │ ├── IRGamerAxeItem.kt
│ │ │ ├── IRMiningDrillItem.kt
│ │ │ ├── IRModularDrillItem.kt
│ │ │ ├── IRPortableChargerItem.kt
│ │ │ └── MachineBlockItem.kt
│ │ ├── misc/
│ │ │ ├── IRCraftingToolItem.kt
│ │ │ ├── IREnergyReaderItem.kt
│ │ │ ├── IRGuideBookItem.kt
│ │ │ ├── IRMachineUpgradeItem.kt
│ │ │ ├── IRServoItem.kt
│ │ │ ├── OreDataCardItem.kt
│ │ │ └── Tools.kt
│ │ ├── models/
│ │ │ └── TankItemBakedModel.kt
│ │ └── upgrade/
│ │ ├── Enhancer.kt
│ │ └── IREnhancerItem.kt
│ ├── networks/
│ │ ├── EndpointData.kt
│ │ ├── Network.kt
│ │ ├── NetworkEvents.kt
│ │ ├── NetworkState.kt
│ │ ├── Node.kt
│ │ ├── ServoNetworkState.kt
│ │ ├── client/
│ │ │ ├── ClientNetworkInfo.kt
│ │ │ ├── ClientNetworkState.kt
│ │ │ ├── ClientServoNetworkInfo.kt
│ │ │ └── node/
│ │ │ ├── ClientNodeInfo.kt
│ │ │ └── ClientServoNodeInfo.kt
│ │ ├── energy/
│ │ │ ├── CableEnergyIo.kt
│ │ │ ├── EnergyNetwork.kt
│ │ │ └── EnergyNetworkState.kt
│ │ ├── factory/
│ │ │ ├── NetworkFactory.kt
│ │ │ └── factories.kt
│ │ ├── fluid/
│ │ │ ├── FluidNetwork.kt
│ │ │ └── FluidNetworkState.kt
│ │ └── item/
│ │ ├── ItemFilterData.kt
│ │ ├── ItemNetwork.kt
│ │ └── ItemNetworkState.kt
│ ├── packets/
│ │ ├── PacketRegistry.kt
│ │ ├── client/
│ │ │ ├── ClientItemPipePackets.kt
│ │ │ ├── GuiPropertySyncPacket.kt
│ │ │ ├── MachineStateUpdatePacket.kt
│ │ │ ├── MiningRigSpawnBlockParticlesPacket.kt
│ │ │ ├── SyncAppliedModulesPacket.kt
│ │ │ ├── SyncConfigPacket.kt
│ │ │ └── SyncNetworkServosPacket.kt
│ │ └── common/
│ │ ├── ConfigureIOPackets.kt
│ │ ├── DataCardWriteStartPacket.kt
│ │ ├── FluidGuiHandInteractionPacket.kt
│ │ ├── ItemPipePackets.kt
│ │ ├── SelectModuleOnWorkbenchPacket.kt
│ │ ├── ToggleFactoryStackSplittingPacket.kt
│ │ ├── ToggleGamerAxePacket.kt
│ │ ├── UpdateAOEMachineRangePacket.kt
│ │ ├── UpdateKnobValue.kt
│ │ ├── UpdateMiningDrillBlockBlacklistPacket.kt
│ │ ├── UpdateModularToolLevelPacket.kt
│ │ └── UpdateRancherConfigPacket.kt
│ ├── recipes/
│ │ ├── IRecipeGetter.kt
│ │ ├── SelfRemainderRecipe.kt
│ │ └── machines/
│ │ ├── CompressorRecipe.kt
│ │ ├── CondenserRecipe.kt
│ │ ├── DistillerRecipe.kt
│ │ ├── ElectrolysisRecipe.kt
│ │ ├── FluidInfuserRecipe.kt
│ │ ├── IRFluidRecipe.kt
│ │ ├── IRRecipe.kt
│ │ ├── IRRecipeType.kt
│ │ ├── InfuserRecipe.kt
│ │ ├── LaserRecipe.kt
│ │ ├── ModuleRecipe.kt
│ │ ├── PulverizerRecipe.kt
│ │ ├── RecyclerRecipe.kt
│ │ ├── SawmillRecipe.kt
│ │ ├── SmelterRecipe.kt
│ │ ├── VanillaCookingRecipeCachedGetter.kt
│ │ └── entries/
│ │ ├── InputEntry.kt
│ │ └── OutputEntry.kt
│ ├── registry/
│ │ ├── IRBlockRegistry.kt
│ │ ├── IRFluidFuelRegistry.kt
│ │ ├── IRFluidRegistry.kt
│ │ ├── IRItemRegistry.kt
│ │ ├── IRModelManagers.kt
│ │ ├── MachineRegistry.kt
│ │ ├── MaterialHelper.kt
│ │ └── WorldGeneration.kt
│ ├── tools/
│ │ ├── IRToolMaterial.kt
│ │ └── modular/
│ │ ├── ArmorModule.kt
│ │ ├── DrillModule.kt
│ │ ├── GamerAxeModule.kt
│ │ ├── IRModularItem.kt
│ │ ├── MiningToolModule.kt
│ │ └── Module.kt
│ ├── utils/
│ │ ├── EmptyModel.kt
│ │ ├── EnergyDamageHandler.kt
│ │ ├── IRFluidTank.kt
│ │ ├── ReusableArrayDeque.kt
│ │ ├── accessorextensions.kt
│ │ ├── clientutils.kt
│ │ ├── energyutils.kt
│ │ ├── fluidutils.kt
│ │ ├── helperextensions.kt
│ │ ├── hiddenitems.kt
│ │ ├── interactions.kt
│ │ ├── itemutils.kt
│ │ ├── machineinteractions.kt
│ │ └── utils.kt
│ └── world/
│ └── features/
│ ├── IRConfiguredFeature.kt
│ └── SulfurCrystalFeature.kt
└── resources/
├── assets/
│ └── indrev/
│ ├── blockstates/
│ │ ├── biomass_composter.json
│ │ ├── block_base.json
│ │ ├── block_highlight.json
│ │ ├── block_shadow.json
│ │ ├── bronze_block.json
│ │ ├── cabinet.json
│ │ ├── capsule.json
│ │ ├── charge_pad_mk4.json
│ │ ├── composting.json
│ │ ├── controller.json
│ │ ├── coolant.json
│ │ ├── deepslate_lead_ore.json
│ │ ├── deepslate_nikolite_ore.json
│ │ ├── deepslate_silver_ore.json
│ │ ├── deepslate_tin_ore.json
│ │ ├── deepslate_tungsten_ore.json
│ │ ├── drain_mk1.json
│ │ ├── drill_bottom.json
│ │ ├── drill_middle.json
│ │ ├── drill_top.json
│ │ ├── duct.json
│ │ ├── electrum_block.json
│ │ ├── fisher_mk2.json
│ │ ├── fisher_mk3.json
│ │ ├── fisher_mk4.json
│ │ ├── frame.json
│ │ ├── heat_generator_mk4.json
│ │ ├── hydrogen.json
│ │ ├── intake.json
│ │ ├── laser_emitter_mk4.json
│ │ ├── lead_block.json
│ │ ├── lead_ore.json
│ │ ├── machine_block.json
│ │ ├── methane.json
│ │ ├── modular_workbench_mk4.json
│ │ ├── molten_copper.json
│ │ ├── molten_gold.json
│ │ ├── molten_iron.json
│ │ ├── molten_lead.json
│ │ ├── molten_netherite.json
│ │ ├── molten_silver.json
│ │ ├── molten_tin.json
│ │ ├── nikolite_ore.json
│ │ ├── ore_base.json
│ │ ├── ore_highlight.json
│ │ ├── oxygen.json
│ │ ├── plank_block.json
│ │ ├── planks.json
│ │ ├── pump_mk1.json
│ │ ├── raw_lead_block.json
│ │ ├── raw_silver_block.json
│ │ ├── raw_tin_block.json
│ │ ├── raw_tungsten_block.json
│ │ ├── silo.json
│ │ ├── silver_block.json
│ │ ├── silver_ore.json
│ │ ├── steel_block.json
│ │ ├── sulfur_crystal.json
│ │ ├── sulfuric_acid.json
│ │ ├── tank.json
│ │ ├── tin_block.json
│ │ ├── tin_ore.json
│ │ ├── toxic_mud.json
│ │ ├── tungsten_block.json
│ │ ├── tungsten_ore.json
│ │ ├── warning_strobe.json
│ │ └── wither_proof_obsidian.json
│ ├── lang/
│ │ ├── en_us.json
│ │ ├── pt_br.json
│ │ ├── ru_ru.json
│ │ ├── tr_tr.json
│ │ └── zh_cn.json
│ ├── models/
│ │ ├── block/
│ │ │ ├── block_base.json
│ │ │ ├── block_highlight.json
│ │ │ ├── block_shadow.json
│ │ │ ├── bronze_block.json
│ │ │ ├── cabinet.json
│ │ │ ├── cable_center_mk1.json
│ │ │ ├── cable_center_mk2.json
│ │ │ ├── cable_center_mk3.json
│ │ │ ├── cable_center_mk4.json
│ │ │ ├── cable_side_mk1.json
│ │ │ ├── cable_side_mk2.json
│ │ │ ├── cable_side_mk3.json
│ │ │ ├── cable_side_mk4.json
│ │ │ ├── capsule.json
│ │ │ ├── charge_pad_mk4.json
│ │ │ ├── controller.json
│ │ │ ├── deepslate_lead_ore.json
│ │ │ ├── deepslate_nikolite_ore.json
│ │ │ ├── deepslate_silver_ore.json
│ │ │ ├── deepslate_tin_ore.json
│ │ │ ├── deepslate_tungsten_ore.json
│ │ │ ├── diamond_drill_head.json
│ │ │ ├── drain_mk1.json
│ │ │ ├── drill.json
│ │ │ ├── drill_bottom.json
│ │ │ ├── drill_middle.json
│ │ │ ├── drill_top.json
│ │ │ ├── drill_top_on.json
│ │ │ ├── duct.json
│ │ │ ├── electrum_block.json
│ │ │ ├── fishing_farm_mk2.json
│ │ │ ├── fishing_farm_mk3.json
│ │ │ ├── fishing_farm_mk4.json
│ │ │ ├── fluid_pipe_center_mk1.json
│ │ │ ├── fluid_pipe_center_mk2.json
│ │ │ ├── fluid_pipe_center_mk3.json
│ │ │ ├── fluid_pipe_center_mk4.json
│ │ │ ├── fluid_pipe_side_mk1.json
│ │ │ ├── fluid_pipe_side_mk2.json
│ │ │ ├── fluid_pipe_side_mk3.json
│ │ │ ├── fluid_pipe_side_mk4.json
│ │ │ ├── frame.json
│ │ │ ├── gray_lava.json
│ │ │ ├── heat_generator_mk4.json
│ │ │ ├── intake.json
│ │ │ ├── iron_drill_head.json
│ │ │ ├── item_pipe_center_mk1.json
│ │ │ ├── item_pipe_center_mk2.json
│ │ │ ├── item_pipe_center_mk3.json
│ │ │ ├── item_pipe_center_mk4.json
│ │ │ ├── item_pipe_side_mk1.json
│ │ │ ├── item_pipe_side_mk2.json
│ │ │ ├── item_pipe_side_mk3.json
│ │ │ ├── item_pipe_side_mk4.json
│ │ │ ├── laser.json
│ │ │ ├── laser_on.json
│ │ │ ├── lazuli_flux_container.json
│ │ │ ├── lazuli_flux_container_input.json
│ │ │ ├── lazuli_flux_container_item_lf_level.json
│ │ │ ├── lazuli_flux_container_mk1_overlay.json
│ │ │ ├── lazuli_flux_container_mk2_overlay.json
│ │ │ ├── lazuli_flux_container_mk3_overlay.json
│ │ │ ├── lazuli_flux_container_mk4_overlay.json
│ │ │ ├── lazuli_flux_container_output.json
│ │ │ ├── lead_block.json
│ │ │ ├── lead_ore.json
│ │ │ ├── machine.json
│ │ │ ├── machine_block.json
│ │ │ ├── modular_workbench_mk4.json
│ │ │ ├── netherite_drill_head.json
│ │ │ ├── nikolite_ore.json
│ │ │ ├── ore_base.json
│ │ │ ├── ore_highlight.json
│ │ │ ├── plank_block.json
│ │ │ ├── planks_height10.json
│ │ │ ├── planks_height12.json
│ │ │ ├── planks_height14.json
│ │ │ ├── planks_height2.json
│ │ │ ├── planks_height4.json
│ │ │ ├── planks_height6.json
│ │ │ ├── planks_height8.json
│ │ │ ├── pump_mk1.json
│ │ │ ├── pump_pipe.json
│ │ │ ├── raw_lead_block.json
│ │ │ ├── raw_silver_block.json
│ │ │ ├── raw_tin_block.json
│ │ │ ├── raw_tungsten_block.json
│ │ │ ├── servo_output.json
│ │ │ ├── servo_output_item.json
│ │ │ ├── servo_retriever.json
│ │ │ ├── servo_retriever_item.json
│ │ │ ├── silo.json
│ │ │ ├── silver_block.json
│ │ │ ├── silver_ore.json
│ │ │ ├── smelter_mk4.json
│ │ │ ├── solar_generator_mk1.json
│ │ │ ├── solar_generator_mk1_on.json
│ │ │ ├── solar_generator_mk3.json
│ │ │ ├── solar_generator_mk3_on.json
│ │ │ ├── steel_block.json
│ │ │ ├── stone_drill_head.json
│ │ │ ├── sulfur_crystal.json
│ │ │ ├── tank.json
│ │ │ ├── tank_both.json
│ │ │ ├── tank_down.json
│ │ │ ├── tank_up.json
│ │ │ ├── tin_block.json
│ │ │ ├── tin_ore.json
│ │ │ ├── tungsten_block.json
│ │ │ ├── tungsten_ore.json
│ │ │ ├── warning_strobe.json
│ │ │ └── wither_proof_obsidian.json
│ │ └── item/
│ │ ├── axe_base.json
│ │ ├── axe_highlight.json
│ │ ├── axe_outline.json
│ │ ├── battery.json
│ │ ├── biomass.json
│ │ ├── blast_furnace_enhancer.json
│ │ ├── block_base.json
│ │ ├── block_highlight.json
│ │ ├── boots_base.json
│ │ ├── boots_highlight.json
│ │ ├── boots_outline.json
│ │ ├── broken_reinforced_elytra.json
│ │ ├── bronze_axe.json
│ │ ├── bronze_block.json
│ │ ├── bronze_boots.json
│ │ ├── bronze_chestplate.json
│ │ ├── bronze_dust.json
│ │ ├── bronze_helmet.json
│ │ ├── bronze_hoe.json
│ │ ├── bronze_ingot.json
│ │ ├── bronze_leggings.json
│ │ ├── bronze_nugget.json
│ │ ├── bronze_pickaxe.json
│ │ ├── bronze_plate.json
│ │ ├── bronze_shovel.json
│ │ ├── bronze_sword.json
│ │ ├── buffer_enhancer.json
│ │ ├── cabinet.json
│ │ ├── cable_mk1.json
│ │ ├── cable_mk2.json
│ │ ├── cable_mk3.json
│ │ ├── cable_mk4.json
│ │ ├── capsule.json
│ │ ├── charge_pad_mk4.json
│ │ ├── chestplate_base.json
│ │ ├── chestplate_highlight.json
│ │ ├── chestplate_outline.json
│ │ ├── chunk_base.json
│ │ ├── chunk_highlight.json
│ │ ├── chunk_outline.json
│ │ ├── chunk_scanner.json
│ │ ├── circuit_mk1.json
│ │ ├── circuit_mk2.json
│ │ ├── circuit_mk3.json
│ │ ├── circuit_mk4.json
│ │ ├── coal_dust.json
│ │ ├── controller.json
│ │ ├── coolant_bucket.json
│ │ ├── cooler_cell.json
│ │ ├── copper_axe.json
│ │ ├── copper_block.json
│ │ ├── copper_boots.json
│ │ ├── copper_chestplate.json
│ │ ├── copper_chunk.json
│ │ ├── copper_dust.json
│ │ ├── copper_gear.json
│ │ ├── copper_helmet.json
│ │ ├── copper_hoe.json
│ │ ├── copper_leggings.json
│ │ ├── copper_nether_ore.json
│ │ ├── copper_nugget.json
│ │ ├── copper_ore.json
│ │ ├── copper_pickaxe.json
│ │ ├── copper_plate.json
│ │ ├── copper_purified_ore.json
│ │ ├── copper_shovel.json
│ │ ├── copper_sword.json
│ │ ├── damage_enhancer.json
│ │ ├── deepslate_lead_ore.json
│ │ ├── deepslate_nikolite_ore.json
│ │ ├── deepslate_silver_ore.json
│ │ ├── deepslate_tin_ore.json
│ │ ├── deepslate_tungsten_ore.json
│ │ ├── diamond_drill_head.json
│ │ ├── diamond_dust.json
│ │ ├── drain_mk1.json
│ │ ├── drill_bottom.json
│ │ ├── duct.json
│ │ ├── dust_base.json
│ │ ├── dust_highlight.json
│ │ ├── dust_outline.json
│ │ ├── electrum_block.json
│ │ ├── electrum_dust.json
│ │ ├── electrum_ingot.json
│ │ ├── electrum_nugget.json
│ │ ├── electrum_plate.json
│ │ ├── empty_enhancer.json
│ │ ├── energy_enhancer.json
│ │ ├── energy_reader.json
│ │ ├── enriched_nikolite_dust.json
│ │ ├── enriched_nikolite_ingot.json
│ │ ├── fan.json
│ │ ├── fisher_mk2.json
│ │ ├── fisher_mk3.json
│ │ ├── fisher_mk4.json
│ │ ├── fluid_pipe_mk1.json
│ │ ├── fluid_pipe_mk2.json
│ │ ├── fluid_pipe_mk3.json
│ │ ├── fluid_pipe_mk4.json
│ │ ├── frame.json
│ │ ├── gamer_axe.json
│ │ ├── gamer_axe1.json
│ │ ├── gamer_axe10.json
│ │ ├── gamer_axe2.json
│ │ ├── gamer_axe3.json
│ │ ├── gamer_axe4.json
│ │ ├── gamer_axe5.json
│ │ ├── gamer_axe6.json
│ │ ├── gamer_axe7.json
│ │ ├── gamer_axe8.json
│ │ ├── gamer_axe9.json
│ │ ├── gold_chunk.json
│ │ ├── gold_dust.json
│ │ ├── gold_plate.json
│ │ ├── gold_purified_ore.json
│ │ ├── guide_book.json
│ │ ├── hammer.json
│ │ ├── heat_coil.json
│ │ ├── heat_generator_mk4.json
│ │ ├── heatsink.json
│ │ ├── helmet_base.json
│ │ ├── helmet_highlight.json
│ │ ├── helmet_outline.json
│ │ ├── hoe_base.json
│ │ ├── hoe_highlight.json
│ │ ├── hoe_outline.json
│ │ ├── ingot_base.json
│ │ ├── ingot_highlight.json
│ │ ├── ingot_outline.json
│ │ ├── intake.json
│ │ ├── iron_chunk.json
│ │ ├── iron_drill_head.json
│ │ ├── iron_dust.json
│ │ ├── iron_gear.json
│ │ ├── iron_plate.json
│ │ ├── iron_purified_ore.json
│ │ ├── jetpack_mk1.json
│ │ ├── jetpack_mk2.json
│ │ ├── jetpack_mk3.json
│ │ ├── jetpack_mk4.json
│ │ ├── laser_emitter_mk4.json
│ │ ├── lazuli_flux_container_creative.json
│ │ ├── lazuli_flux_container_mk1.json
│ │ ├── lazuli_flux_container_mk2.json
│ │ ├── lazuli_flux_container_mk3.json
│ │ ├── lazuli_flux_container_mk4.json
│ │ ├── lead_axe.json
│ │ ├── lead_block.json
│ │ ├── lead_boots.json
│ │ ├── lead_chestplate.json
│ │ ├── lead_chunk.json
│ │ ├── lead_dust.json
│ │ ├── lead_helmet.json
│ │ ├── lead_hoe.json
│ │ ├── lead_ingot.json
│ │ ├── lead_leggings.json
│ │ ├── lead_nugget.json
│ │ ├── lead_ore.json
│ │ ├── lead_pickaxe.json
│ │ ├── lead_plate.json
│ │ ├── lead_purified_ore.json
│ │ ├── lead_shovel.json
│ │ ├── lead_sword.json
│ │ ├── leggings_base.json
│ │ ├── leggings_highlight.json
│ │ ├── leggings_outline.json
│ │ ├── machine_block.json
│ │ ├── miner_mk4.json
│ │ ├── mining_drill_mk1.json
│ │ ├── mining_drill_mk2.json
│ │ ├── mining_drill_mk3.json
│ │ ├── mining_drill_mk4.json
│ │ ├── modular_armor_boots.json
│ │ ├── modular_armor_chest.json
│ │ ├── modular_armor_helmet.json
│ │ ├── modular_armor_legs.json
│ │ ├── modular_core.json
│ │ ├── modular_core_activated.json
│ │ ├── modular_workbench_mk4.json
│ │ ├── module_auto_feeder.json
│ │ ├── module_breathing.json
│ │ ├── module_charger.json
│ │ ├── module_color_black.json
│ │ ├── module_color_blue.json
│ │ ├── module_color_brown.json
│ │ ├── module_color_cyan.json
│ │ ├── module_color_green.json
│ │ ├── module_color_orange.json
│ │ ├── module_color_pink.json
│ │ ├── module_color_purple.json
│ │ ├── module_color_red.json
│ │ ├── module_color_yellow.json
│ │ ├── module_efficiency.json
│ │ ├── module_elytra.json
│ │ ├── module_feather_falling.json
│ │ ├── module_fire_aspect.json
│ │ ├── module_fire_resistance.json
│ │ ├── module_fortune.json
│ │ ├── module_jetpack.json
│ │ ├── module_jump_boost.json
│ │ ├── module_looting.json
│ │ ├── module_magnet.json
│ │ ├── module_night_vision.json
│ │ ├── module_piglin_tricker.json
│ │ ├── module_protection.json
│ │ ├── module_range.json
│ │ ├── module_reach.json
│ │ ├── module_sharpness.json
│ │ ├── module_silk_touch.json
│ │ ├── module_solar_panel.json
│ │ ├── module_speed.json
│ │ ├── module_water_affinity.json
│ │ ├── molten_bucket_base.json
│ │ ├── molten_bucket_highlight.json
│ │ ├── molten_bucket_outline.json
│ │ ├── molten_copper_bucket.json
│ │ ├── molten_gold_bucket.json
│ │ ├── molten_iron_bucket.json
│ │ ├── molten_lead_bucket.json
│ │ ├── molten_netherite_bucket.json
│ │ ├── molten_silver_bucket.json
│ │ ├── molten_tin_bucket.json
│ │ ├── netherite_drill_head.json
│ │ ├── netherite_scrap_chunk.json
│ │ ├── netherite_scrap_dust.json
│ │ ├── netherite_scrap_purified_ore.json
│ │ ├── nikolite_dust.json
│ │ ├── nikolite_ingot.json
│ │ ├── nikolite_nether_ore.json
│ │ ├── nikolite_ore.json
│ │ ├── nugget_base.json
│ │ ├── nugget_highlight.json
│ │ ├── nugget_outline.json
│ │ ├── ore_base.json
│ │ ├── ore_data_card.json
│ │ ├── ore_data_card_not_empty.json
│ │ ├── ore_highlight.json
│ │ ├── pickaxe_base.json
│ │ ├── pickaxe_highlight.json
│ │ ├── pickaxe_outline.json
│ │ ├── plank_block.json
│ │ ├── planks.json
│ │ ├── plate_base.json
│ │ ├── plate_highlight.json
│ │ ├── plate_outline.json
│ │ ├── portable_charger.json
│ │ ├── pump_mk1.json
│ │ ├── purified_ore_base.json
│ │ ├── purified_ore_highlight.json
│ │ ├── purified_ore_outline.json
│ │ ├── raw_lead.json
│ │ ├── raw_lead_block.json
│ │ ├── raw_silver.json
│ │ ├── raw_silver_block.json
│ │ ├── raw_tin.json
│ │ ├── raw_tin_block.json
│ │ ├── raw_tungsten.json
│ │ ├── raw_tungsten_block.json
│ │ ├── reinforced_elytra.json
│ │ ├── sawdust.json
│ │ ├── scan_output.json
│ │ ├── screwdriver.json
│ │ ├── servo_output.json
│ │ ├── servo_retriever.json
│ │ ├── shovel_base.json
│ │ ├── shovel_highlight.json
│ │ ├── shovel_outline.json
│ │ ├── silo.json
│ │ ├── silver_axe.json
│ │ ├── silver_block.json
│ │ ├── silver_boots.json
│ │ ├── silver_chestplate.json
│ │ ├── silver_chunk.json
│ │ ├── silver_dust.json
│ │ ├── silver_helmet.json
│ │ ├── silver_hoe.json
│ │ ├── silver_ingot.json
│ │ ├── silver_leggings.json
│ │ ├── silver_nugget.json
│ │ ├── silver_ore.json
│ │ ├── silver_pickaxe.json
│ │ ├── silver_plate.json
│ │ ├── silver_purified_ore.json
│ │ ├── silver_shovel.json
│ │ ├── silver_sword.json
│ │ ├── smelter_mk4.json
│ │ ├── smoker_enhancer.json
│ │ ├── soot.json
│ │ ├── speed_enhancer.json
│ │ ├── steel_axe.json
│ │ ├── steel_block.json
│ │ ├── steel_boots.json
│ │ ├── steel_chestplate.json
│ │ ├── steel_dust.json
│ │ ├── steel_gear.json
│ │ ├── steel_helmet.json
│ │ ├── steel_hoe.json
│ │ ├── steel_ingot.json
│ │ ├── steel_leggings.json
│ │ ├── steel_nugget.json
│ │ ├── steel_pickaxe.json
│ │ ├── steel_plate.json
│ │ ├── steel_shovel.json
│ │ ├── steel_sword.json
│ │ ├── stone_drill_head.json
│ │ ├── sulfur_crystal.json
│ │ ├── sulfur_dust.json
│ │ ├── sulfuric_acid_bucket.json
│ │ ├── sword_base.json
│ │ ├── sword_highlight.json
│ │ ├── sword_outline.json
│ │ ├── tank.json
│ │ ├── tech_soup.json
│ │ ├── tier_upgrade_mk2.json
│ │ ├── tier_upgrade_mk3.json
│ │ ├── tier_upgrade_mk4.json
│ │ ├── tin_axe.json
│ │ ├── tin_block.json
│ │ ├── tin_boots.json
│ │ ├── tin_chestplate.json
│ │ ├── tin_chunk.json
│ │ ├── tin_dust.json
│ │ ├── tin_gear.json
│ │ ├── tin_helmet.json
│ │ ├── tin_hoe.json
│ │ ├── tin_ingot.json
│ │ ├── tin_leggings.json
│ │ ├── tin_nugget.json
│ │ ├── tin_ore.json
│ │ ├── tin_pickaxe.json
│ │ ├── tin_plate.json
│ │ ├── tin_purified_ore.json
│ │ ├── tin_shovel.json
│ │ ├── tin_sword.json
│ │ ├── tool_stick.json
│ │ ├── toxic_mud_bucket.json
│ │ ├── tungsten_block.json
│ │ ├── tungsten_chunk.json
│ │ ├── tungsten_dust.json
│ │ ├── tungsten_ingot.json
│ │ ├── tungsten_nugget.json
│ │ ├── tungsten_ore.json
│ │ ├── tungsten_plate.json
│ │ ├── tungsten_purified_ore.json
│ │ ├── untanned_leather.json
│ │ ├── warning_strobe.json
│ │ ├── wither_proof_obsidian.json
│ │ └── wrench.json
│ ├── particles/
│ │ └── laser_particle.json
│ ├── sounds/
│ │ └── laser.ogg
│ ├── sounds.json
│ └── textures/
│ ├── block/
│ │ ├── biomass_generator_on.png.mcmeta
│ │ ├── cable_center_emissive_mk1.png.mcmeta
│ │ ├── cable_center_emissive_mk2.png.mcmeta
│ │ ├── cable_center_emissive_mk3.png.mcmeta
│ │ ├── cable_center_emissive_mk4.png.mcmeta
│ │ ├── cable_wire_emissive_mk1.png.mcmeta
│ │ ├── cable_wire_emissive_mk2.png.mcmeta
│ │ ├── cable_wire_emissive_mk3.png.mcmeta
│ │ ├── cable_wire_emissive_mk4.png.mcmeta
│ │ ├── chopper_on.png.mcmeta
│ │ ├── coal_generator_on.png.mcmeta
│ │ ├── compressor_on.png.mcmeta
│ │ ├── condenser_on.png.mcmeta
│ │ ├── data_card_writer_on.png.mcmeta
│ │ ├── drill_top_emissive_on.png.mcmeta
│ │ ├── drill_top_tracer_emissive_on.png.mcmeta
│ │ ├── electric_furnace_emissive_on.png.mcmeta
│ │ ├── fluid_infuser_on.png.mcmeta
│ │ ├── gray_lava_flow.png.mcmeta
│ │ ├── gray_lava_still.png.mcmeta
│ │ ├── mining_rig_screen_emissive.png.mcmeta
│ │ ├── pulverizer_on.png.mcmeta
│ │ ├── rancher_on.png.mcmeta
│ │ ├── recycler_on.png.mcmeta
│ │ ├── sawmill_on.png.mcmeta
│ │ └── solid_infuser_emissive_on.png.mcmeta
│ ├── entity/
│ │ └── laser.png.mcmeta
│ ├── gui/
│ │ ├── hud_damaged.png.mcmeta
│ │ ├── hud_regenerating.png.mcmeta
│ │ └── hud_warning.png.mcmeta
│ └── item/
│ ├── enriched_nikolite_dust.png.mcmeta
│ ├── enriched_nikolite_ingot.png.mcmeta
│ └── gamer_axe.png.mcmeta
├── data/
│ ├── c/
│ │ └── tags/
│ │ ├── blocks/
│ │ │ ├── bronze_blocks.json
│ │ │ ├── copper_blocks.json
│ │ │ ├── electrum_blocks.json
│ │ │ ├── lead_blocks.json
│ │ │ ├── lead_ores.json
│ │ │ ├── silver_blocks.json
│ │ │ ├── silver_ores.json
│ │ │ ├── tin_blocks.json
│ │ │ ├── tin_ores.json
│ │ │ ├── tungsten_blocks.json
│ │ │ └── tungsten_ores.json
│ │ └── items/
│ │ ├── ancient_debris_ores.json
│ │ ├── bronze_blocks.json
│ │ ├── bronze_dusts.json
│ │ ├── bronze_ingots.json
│ │ ├── bronze_nuggets.json
│ │ ├── bronze_plates.json
│ │ ├── coal_dusts.json
│ │ ├── coal_ores.json
│ │ ├── copper_blocks.json
│ │ ├── copper_dusts.json
│ │ ├── copper_ingots.json
│ │ ├── copper_nuggets.json
│ │ ├── copper_ores.json
│ │ ├── copper_plates.json
│ │ ├── diamond_dusts.json
│ │ ├── diamond_ores.json
│ │ ├── electrum_blocks.json
│ │ ├── electrum_dusts.json
│ │ ├── electrum_ingots.json
│ │ ├── electrum_nuggets.json
│ │ ├── electrum_plates.json
│ │ ├── emerald_ores.json
│ │ ├── gold_dusts.json
│ │ ├── gold_ingots.json
│ │ ├── gold_ores.json
│ │ ├── gold_plates.json
│ │ ├── iron_dusts.json
│ │ ├── iron_ingots.json
│ │ ├── iron_ores.json
│ │ ├── iron_plates.json
│ │ ├── lead_blocks.json
│ │ ├── lead_dusts.json
│ │ ├── lead_ingots.json
│ │ ├── lead_nuggets.json
│ │ ├── lead_ores.json
│ │ ├── lead_plates.json
│ │ ├── netherite_scrap_dusts.json
│ │ ├── nikolite_ores.json
│ │ ├── raw_copper_ores.json
│ │ ├── raw_gold_ores.json
│ │ ├── raw_iron_ores.json
│ │ ├── raw_lead_ores.json
│ │ ├── raw_silver_ores.json
│ │ ├── raw_tin_ores.json
│ │ ├── raw_tungsten_ores.json
│ │ ├── redstone_ores.json
│ │ ├── screwdrivers.json
│ │ ├── silver_blocks.json
│ │ ├── silver_dusts.json
│ │ ├── silver_ingots.json
│ │ ├── silver_nuggets.json
│ │ ├── silver_ores.json
│ │ ├── silver_plates.json
│ │ ├── steel_blocks.json
│ │ ├── steel_boots.json
│ │ ├── steel_chestplates.json
│ │ ├── steel_dusts.json
│ │ ├── steel_helmets.json
│ │ ├── steel_ingots.json
│ │ ├── steel_leggings.json
│ │ ├── steel_nuggets.json
│ │ ├── steel_plates.json
│ │ ├── sulfur_dusts.json
│ │ ├── sulfurs.json
│ │ ├── tin_blocks.json
│ │ ├── tin_dusts.json
│ │ ├── tin_ingots.json
│ │ ├── tin_nuggets.json
│ │ ├── tin_ores.json
│ │ ├── tin_plates.json
│ │ ├── tungsten_blocks.json
│ │ ├── tungsten_dusts.json
│ │ ├── tungsten_ingots.json
│ │ ├── tungsten_nuggets.json
│ │ ├── tungsten_ores.json
│ │ ├── tungsten_plates.json
│ │ └── wrenches.json
│ ├── fabric/
│ │ └── tags/
│ │ └── items/
│ │ ├── axes.json
│ │ ├── hoes.json
│ │ ├── pickaxes.json
│ │ ├── shovels.json
│ │ └── swords.json
│ ├── indrev/
│ │ ├── advancements/
│ │ │ ├── advanced_solar_generator.json
│ │ │ ├── basic_solar_generator.json
│ │ │ ├── biomass.json
│ │ │ ├── biomass_generator.json
│ │ │ ├── blast_furnace_enhancer.json
│ │ │ ├── buffer_enhancer.json
│ │ │ ├── cable_mk1.json
│ │ │ ├── cable_mk2.json
│ │ │ ├── cable_mk3.json
│ │ │ ├── cable_mk4.json
│ │ │ ├── chopper_mk4.json
│ │ │ ├── circuit_mk1.json
│ │ │ ├── circuit_mk2.json
│ │ │ ├── circuit_mk3.json
│ │ │ ├── circuit_mk4.json
│ │ │ ├── coal_generator.json
│ │ │ ├── compressor.json
│ │ │ ├── condenser.json
│ │ │ ├── electric_furnace.json
│ │ │ ├── empty_enhancer.json
│ │ │ ├── enriched_nikolite_dust.json
│ │ │ ├── enriched_nikolite_ingot.json
│ │ │ ├── farmer_mk1.json
│ │ │ ├── gamer_axe.json
│ │ │ ├── heat_generator.json
│ │ │ ├── industrial_smelter.json
│ │ │ ├── lazuli_flux_container_mk1.json
│ │ │ ├── lazuli_flux_container_mk2.json
│ │ │ ├── lazuli_flux_container_mk3.json
│ │ │ ├── lazuli_flux_container_mk4.json
│ │ │ ├── machine_block.json
│ │ │ ├── mk2_upgrade.json
│ │ │ ├── mk3_upgrade.json
│ │ │ ├── mk4_upgrade.json
│ │ │ ├── modular_armor.json
│ │ │ ├── modular_workbench.json
│ │ │ ├── nikolite.json
│ │ │ ├── nikolite_ingot.json
│ │ │ ├── pulverizer.json
│ │ │ ├── rancher_mk4.json
│ │ │ ├── recycler.json
│ │ │ ├── slaughter_mk1.json
│ │ │ ├── smoker_enhancer.json
│ │ │ ├── solid_infuser.json
│ │ │ └── speed_enhancer.json
│ │ ├── loot_tables/
│ │ │ └── blocks/
│ │ │ ├── biomass_generator_mk3.json
│ │ │ ├── bronze_block.json
│ │ │ ├── cabinet.json
│ │ │ ├── cable_mk1.json
│ │ │ ├── cable_mk2.json
│ │ │ ├── cable_mk3.json
│ │ │ ├── cable_mk4.json
│ │ │ ├── capsule.json
│ │ │ ├── charge_pad_mk4.json
│ │ │ ├── chopper_creative.json
│ │ │ ├── chopper_mk1.json
│ │ │ ├── chopper_mk2.json
│ │ │ ├── chopper_mk3.json
│ │ │ ├── chopper_mk4.json
│ │ │ ├── coal_generator_mk1.json
│ │ │ ├── compressor_creative.json
│ │ │ ├── compressor_factory_mk4.json
│ │ │ ├── compressor_mk1.json
│ │ │ ├── compressor_mk2.json
│ │ │ ├── compressor_mk3.json
│ │ │ ├── compressor_mk4.json
│ │ │ ├── condenser_mk4.json
│ │ │ ├── controller.json
│ │ │ ├── deepslate_lead_ore.json
│ │ │ ├── deepslate_nikolite_ore.json
│ │ │ ├── deepslate_silver_ore.json
│ │ │ ├── deepslate_tin_ore.json
│ │ │ ├── deepslate_tungsten_ore.json
│ │ │ ├── drain_mk1.json
│ │ │ ├── drill_bottom.json
│ │ │ ├── duct.json
│ │ │ ├── electric_furnace_creative.json
│ │ │ ├── electric_furnace_factory_mk4.json
│ │ │ ├── electric_furnace_mk1.json
│ │ │ ├── electric_furnace_mk2.json
│ │ │ ├── electric_furnace_mk3.json
│ │ │ ├── electric_furnace_mk4.json
│ │ │ ├── electrum_block.json
│ │ │ ├── farmer_creative.json
│ │ │ ├── farmer_mk1.json
│ │ │ ├── farmer_mk2.json
│ │ │ ├── farmer_mk3.json
│ │ │ ├── farmer_mk4.json
│ │ │ ├── fisher_mk2.json
│ │ │ ├── fisher_mk3.json
│ │ │ ├── fisher_mk4.json
│ │ │ ├── fluid_infuser_creative.json
│ │ │ ├── fluid_infuser_mk1.json
│ │ │ ├── fluid_infuser_mk2.json
│ │ │ ├── fluid_infuser_mk3.json
│ │ │ ├── fluid_infuser_mk4.json
│ │ │ ├── fluid_pipe_mk1.json
│ │ │ ├── fluid_pipe_mk2.json
│ │ │ ├── fluid_pipe_mk3.json
│ │ │ ├── fluid_pipe_mk4.json
│ │ │ ├── frame.json
│ │ │ ├── heat_generator_mk4.json
│ │ │ ├── intake.json
│ │ │ ├── item_pipe_mk1.json
│ │ │ ├── item_pipe_mk2.json
│ │ │ ├── item_pipe_mk3.json
│ │ │ ├── item_pipe_mk4.json
│ │ │ ├── laser_emitter_mk4.json
│ │ │ ├── lazuli_flux_container_creative.json
│ │ │ ├── lazuli_flux_container_mk1.json
│ │ │ ├── lazuli_flux_container_mk2.json
│ │ │ ├── lazuli_flux_container_mk3.json
│ │ │ ├── lazuli_flux_container_mk4.json
│ │ │ ├── lead_block.json
│ │ │ ├── lead_ore.json
│ │ │ ├── machine_block.json
│ │ │ ├── mining_rig_mk4.json
│ │ │ ├── modular_workbench_mk4.json
│ │ │ ├── nikolite_ore.json
│ │ │ ├── plank_block.json
│ │ │ ├── planks.json
│ │ │ ├── pulverizer_creative.json
│ │ │ ├── pulverizer_factory_mk4.json
│ │ │ ├── pulverizer_mk1.json
│ │ │ ├── pulverizer_mk2.json
│ │ │ ├── pulverizer_mk3.json
│ │ │ ├── pulverizer_mk4.json
│ │ │ ├── pump_mk1.json
│ │ │ ├── rancher_creative.json
│ │ │ ├── rancher_mk1.json
│ │ │ ├── rancher_mk2.json
│ │ │ ├── rancher_mk3.json
│ │ │ ├── rancher_mk4.json
│ │ │ ├── raw_lead_block.json
│ │ │ ├── raw_silver_block.json
│ │ │ ├── raw_tin_block.json
│ │ │ ├── raw_tungsten_block.json
│ │ │ ├── recycler_mk2.json
│ │ │ ├── sawmill_creative.json
│ │ │ ├── sawmill_mk1.json
│ │ │ ├── sawmill_mk2.json
│ │ │ ├── sawmill_mk3.json
│ │ │ ├── sawmill_mk4.json
│ │ │ ├── silo.json
│ │ │ ├── silver_block.json
│ │ │ ├── silver_ore.json
│ │ │ ├── slaughter_creative.json
│ │ │ ├── slaughter_mk1.json
│ │ │ ├── slaughter_mk2.json
│ │ │ ├── slaughter_mk3.json
│ │ │ ├── slaughter_mk4.json
│ │ │ ├── smelter_mk4.json
│ │ │ ├── solar_generator_mk1.json
│ │ │ ├── solar_generator_mk3.json
│ │ │ ├── solid_infuser_creative.json
│ │ │ ├── solid_infuser_factory_mk4.json
│ │ │ ├── solid_infuser_mk1.json
│ │ │ ├── solid_infuser_mk2.json
│ │ │ ├── solid_infuser_mk3.json
│ │ │ ├── solid_infuser_mk4.json
│ │ │ ├── steel_block.json
│ │ │ ├── sulfur_crystal.json
│ │ │ ├── tank.json
│ │ │ ├── tin_block.json
│ │ │ ├── tin_ore.json
│ │ │ ├── tungsten_block.json
│ │ │ ├── tungsten_ore.json
│ │ │ ├── warning_strobe.json
│ │ │ └── wither_proof_obsidian.json
│ │ ├── patchouli_books/
│ │ │ └── indrev/
│ │ │ ├── book.json
│ │ │ ├── en_us/
│ │ │ │ ├── categories/
│ │ │ │ │ ├── enhanced_ore_processing.json
│ │ │ │ │ ├── machines.json
│ │ │ │ │ ├── natural_resources.json
│ │ │ │ │ ├── temperature.json
│ │ │ │ │ ├── tools.json
│ │ │ │ │ ├── transportation.json
│ │ │ │ │ └── upgrades.json
│ │ │ │ └── entries/
│ │ │ │ ├── enhanced_ore_processing/
│ │ │ │ │ ├── doubling.json
│ │ │ │ │ ├── quadrupling.json
│ │ │ │ │ └── tripling.json
│ │ │ │ ├── machines/
│ │ │ │ │ ├── basic_machines.json
│ │ │ │ │ ├── batteries.json
│ │ │ │ │ ├── cables.json
│ │ │ │ │ ├── chopper.json
│ │ │ │ │ ├── factories.json
│ │ │ │ │ ├── farmer.json
│ │ │ │ │ ├── fisher.json
│ │ │ │ │ ├── generators.json
│ │ │ │ │ ├── miner.json
│ │ │ │ │ ├── pump.json
│ │ │ │ │ └── rancher.json
│ │ │ │ ├── natural_resources/
│ │ │ │ │ ├── lead_ore.json
│ │ │ │ │ ├── nikolite_ore.json
│ │ │ │ │ ├── silver_ore.json
│ │ │ │ │ ├── sulfur_crystals.json
│ │ │ │ │ ├── tin_ore.json
│ │ │ │ │ └── tungsten_ore.json
│ │ │ │ ├── temperature/
│ │ │ │ │ ├── coolers_and_fans.json
│ │ │ │ │ └── info.json
│ │ │ │ ├── tools/
│ │ │ │ │ ├── energy_reader.json
│ │ │ │ │ ├── gamer_axe.json
│ │ │ │ │ ├── hammer.json
│ │ │ │ │ ├── mining_drills.json
│ │ │ │ │ ├── modular_armor.json
│ │ │ │ │ ├── modular_core.json
│ │ │ │ │ ├── screwdriver.json
│ │ │ │ │ └── wrench.json
│ │ │ │ ├── transportation/
│ │ │ │ │ ├── energy.json
│ │ │ │ │ ├── fluid_pipes.json
│ │ │ │ │ ├── item_pipes.json
│ │ │ │ │ └── servos.json
│ │ │ │ └── upgrades/
│ │ │ │ ├── enhancement_upgrades.json
│ │ │ │ └── tier_upgrades.json
│ │ │ ├── ru_ru/
│ │ │ │ ├── book.json
│ │ │ │ ├── categories/
│ │ │ │ │ ├── enhanced_ore_processing.json
│ │ │ │ │ ├── machines.json
│ │ │ │ │ ├── natural_resources.json
│ │ │ │ │ ├── temperature.json
│ │ │ │ │ ├── tools.json
│ │ │ │ │ ├── transportation.json
│ │ │ │ │ └── upgrades.json
│ │ │ │ └── entries/
│ │ │ │ ├── enhanced_ore_processing/
│ │ │ │ │ ├── doubling.json
│ │ │ │ │ ├── quadrupling.json
│ │ │ │ │ └── tripling.json
│ │ │ │ ├── machines/
│ │ │ │ │ ├── basic_machines.json
│ │ │ │ │ ├── batteries.json
│ │ │ │ │ ├── cables.json
│ │ │ │ │ ├── chopper.json
│ │ │ │ │ ├── factories.json
│ │ │ │ │ ├── farmer.json
│ │ │ │ │ ├── fisher.json
│ │ │ │ │ ├── generators.json
│ │ │ │ │ ├── miner.json
│ │ │ │ │ ├── pump.json
│ │ │ │ │ └── rancher.json
│ │ │ │ ├── natural_resources/
│ │ │ │ │ ├── lead_ore.json
│ │ │ │ │ ├── nikolite_ore.json
│ │ │ │ │ ├── silver_ore.json
│ │ │ │ │ ├── sulfur_crystals.json
│ │ │ │ │ ├── tin_ore.json
│ │ │ │ │ └── tungsten_ore.json
│ │ │ │ ├── temperature/
│ │ │ │ │ ├── coolers_and_fans.json
│ │ │ │ │ └── info.json
│ │ │ │ ├── tools/
│ │ │ │ │ ├── energy_reader.json
│ │ │ │ │ ├── gamer_axe.json
│ │ │ │ │ ├── hammer.json
│ │ │ │ │ ├── mining_drills.json
│ │ │ │ │ ├── modular_armor.json
│ │ │ │ │ ├── modular_core.json
│ │ │ │ │ ├── screwdriver.json
│ │ │ │ │ └── wrench.json
│ │ │ │ ├── transportation/
│ │ │ │ │ ├── energy.json
│ │ │ │ │ ├── fluid_pipes.json
│ │ │ │ │ ├── item_pipes.json
│ │ │ │ │ └── servos.json
│ │ │ │ └── upgrades/
│ │ │ │ ├── enhancement_upgrades.json
│ │ │ │ └── tier_upgrades.json
│ │ │ └── zh_cn/
│ │ │ ├── categories/
│ │ │ │ ├── enhanced_ore_processing.json
│ │ │ │ ├── machines.json
│ │ │ │ ├── natural_resources.json
│ │ │ │ ├── temperature.json
│ │ │ │ ├── tools.json
│ │ │ │ ├── transportation.json
│ │ │ │ └── upgrades.json
│ │ │ └── entries/
│ │ │ ├── enhanced_ore_processing/
│ │ │ │ ├── doubling.json
│ │ │ │ ├── quadrupling.json
│ │ │ │ └── tripling.json
│ │ │ ├── machines/
│ │ │ │ ├── basic_machines.json
│ │ │ │ ├── batteries.json
│ │ │ │ ├── cables.json
│ │ │ │ ├── chopper.json
│ │ │ │ ├── factories.json
│ │ │ │ ├── farmer.json
│ │ │ │ ├── fisher.json
│ │ │ │ ├── generators.json
│ │ │ │ ├── miner.json
│ │ │ │ ├── pump.json
│ │ │ │ └── rancher.json
│ │ │ ├── natural_resources/
│ │ │ │ ├── lead_ore.json
│ │ │ │ ├── nikolite_ore.json
│ │ │ │ ├── silver_ore.json
│ │ │ │ ├── sulfur_crystals.json
│ │ │ │ ├── tin_ore.json
│ │ │ │ └── tungsten_ore.json
│ │ │ ├── temperature/
│ │ │ │ ├── coolers_and_fans.json
│ │ │ │ └── info.json
│ │ │ ├── tools/
│ │ │ │ ├── energy_reader.json
│ │ │ │ ├── gamer_axe.json
│ │ │ │ ├── hammer.json
│ │ │ │ ├── mining_drills.json
│ │ │ │ ├── modular_armor.json
│ │ │ │ ├── modular_core.json
│ │ │ │ ├── screwdriver.json
│ │ │ │ └── wrench.json
│ │ │ ├── transportation/
│ │ │ │ ├── energy.json
│ │ │ │ ├── fluid_pipes.json
│ │ │ │ ├── item_pipes.json
│ │ │ │ └── servos.json
│ │ │ └── upgrades/
│ │ │ ├── enhancement_upgrades.json
│ │ │ └── tier_upgrades.json
│ │ ├── recipes/
│ │ │ ├── blasting/
│ │ │ │ ├── bronze_ingot_from_smelting.json
│ │ │ │ ├── copper_ingot_from_ore.json
│ │ │ │ ├── copper_ingot_from_smelting.json
│ │ │ │ ├── electrum_ingot_from_smelting.json
│ │ │ │ ├── gold_ingot.json
│ │ │ │ ├── iron_ingot_from_dust.json
│ │ │ │ ├── lead_ingot_from_ore.json
│ │ │ │ ├── lead_ingot_from_raw_ore.json
│ │ │ │ ├── lead_ingot_from_smelting.json
│ │ │ │ ├── netherite_scrap.json
│ │ │ │ ├── silver_ingot_from_ore.json
│ │ │ │ ├── silver_ingot_from_raw_ores.json
│ │ │ │ ├── silver_ingot_from_smelting.json
│ │ │ │ ├── steel_ingot.json
│ │ │ │ ├── tin_ingot_from_ore.json
│ │ │ │ ├── tin_ingot_from_raw_ores.json
│ │ │ │ ├── tin_ingot_from_smelting.json
│ │ │ │ ├── tungsten_ingot_from_ore.json
│ │ │ │ ├── tungsten_ingot_from_raw_ores.json
│ │ │ │ └── tungsten_ingot_from_smelting.json
│ │ │ ├── compressing/
│ │ │ │ ├── bronze_plate_from_compressor.json
│ │ │ │ ├── carbon_fiber_plate.json
│ │ │ │ ├── copper_plate_from_compressor.json
│ │ │ │ ├── electrum_plate_from_compressor.json
│ │ │ │ ├── empty_upgrade.json
│ │ │ │ ├── gold_plate_from_compressor.json
│ │ │ │ ├── iron_plate_from_compressor.json
│ │ │ │ ├── lead_plate_from_compressor.json
│ │ │ │ ├── plank_block.json
│ │ │ │ ├── planks.json
│ │ │ │ ├── silver_plate_from_compressor.json
│ │ │ │ ├── steel_plate.json
│ │ │ │ ├── tin_plate_from_compressor.json
│ │ │ │ └── tungsten_plate_from_compressor.json
│ │ │ ├── condensing/
│ │ │ │ ├── copper_chunk_from_molten_copper.json
│ │ │ │ ├── gold_chunk_from_molten_gold.json
│ │ │ │ ├── iron_chunk_from_molten_iron.json
│ │ │ │ ├── lead_chunk_from_molten_lead.json
│ │ │ │ ├── netherite_chunk_from_molten_netherite.json
│ │ │ │ ├── silver_chunk_from_molten_silver.json
│ │ │ │ └── tin_chunk_from_molten_tin.json
│ │ │ ├── distiller/
│ │ │ │ └── salt_from_water.json
│ │ │ ├── electrolysis/
│ │ │ │ └── electrolyze_water.json
│ │ │ ├── fluid_infusing/
│ │ │ │ ├── clay.json
│ │ │ │ ├── coolant_fluid.json
│ │ │ │ ├── copper_purified_ore.json
│ │ │ │ ├── gold_purified_ore.json
│ │ │ │ ├── harden_black_concrete_powder.json
│ │ │ │ ├── harden_blue_concrete_powder.json
│ │ │ │ ├── harden_brown_concrete_powder.json
│ │ │ │ ├── harden_cyan_concrete_powder.json
│ │ │ │ ├── harden_gray_concrete_powder.json
│ │ │ │ ├── harden_green_concrete_powder.json
│ │ │ │ ├── harden_light_blue_concrete_powder.json
│ │ │ │ ├── harden_light_gray_concrete_powder.json
│ │ │ │ ├── harden_lime_concrete_powder.json
│ │ │ │ ├── harden_magenta_concrete_powder.json
│ │ │ │ ├── harden_orange_concrete_powder.json
│ │ │ │ ├── harden_pink_concrete_powder.json
│ │ │ │ ├── harden_purple_concrete_powder.json
│ │ │ │ ├── harden_red_concrete_powder.json
│ │ │ │ ├── harden_white_concrete_powder.json
│ │ │ │ ├── harden_yellow_concrete_powder.json
│ │ │ │ ├── iron_purified_ore.json
│ │ │ │ ├── lead_purified_ore.json
│ │ │ │ ├── netherite_purified_ore.json
│ │ │ │ ├── paper.json
│ │ │ │ ├── silver_purified_ore.json
│ │ │ │ ├── sulfuric_acid.json
│ │ │ │ ├── tin_purified_ore.json
│ │ │ │ ├── tungsten_purified_ore.json
│ │ │ │ └── wither_proof_obsidian.json
│ │ │ ├── infusing/
│ │ │ │ ├── allium.json
│ │ │ │ ├── azure_bluet.json
│ │ │ │ ├── big_dripleaf.json
│ │ │ │ ├── blue_orchid.json
│ │ │ │ ├── bronze_dust.json
│ │ │ │ ├── brown_mushroom.json
│ │ │ │ ├── cornflower.json
│ │ │ │ ├── crimson_fungus.json
│ │ │ │ ├── crimson_roots.json
│ │ │ │ ├── dandelion.json
│ │ │ │ ├── dead_bush.json
│ │ │ │ ├── electrum_dust.json
│ │ │ │ ├── enriched_nikolite.json
│ │ │ │ ├── enriched_nikolite_ingot.json
│ │ │ │ ├── fern.json
│ │ │ │ ├── glow_lichen.json
│ │ │ │ ├── grass.json
│ │ │ │ ├── kelp.json
│ │ │ │ ├── large_fern.json
│ │ │ │ ├── lilac.json
│ │ │ │ ├── lily_of_the_valley.json
│ │ │ │ ├── lily_pad.json
│ │ │ │ ├── nether_sprouts.json
│ │ │ │ ├── nikolite_ingot.json
│ │ │ │ ├── orange_tulip.json
│ │ │ │ ├── oxeye_daisy.json
│ │ │ │ ├── pink_tulip.json
│ │ │ │ ├── poppy.json
│ │ │ │ ├── red_mushroom.json
│ │ │ │ ├── red_tulip.json
│ │ │ │ ├── sea_pickle.json
│ │ │ │ ├── seagrass.json
│ │ │ │ ├── small_dripleaf.json
│ │ │ │ ├── spore_blossom.json
│ │ │ │ ├── steel_dust.json
│ │ │ │ ├── tall_grass.json
│ │ │ │ ├── twisting_vines.json
│ │ │ │ ├── untanned_leather.json
│ │ │ │ ├── vine.json
│ │ │ │ ├── warped_fungus.json
│ │ │ │ ├── warped_roots.json
│ │ │ │ ├── weeping_vines.json
│ │ │ │ └── white_tulip.json
│ │ │ ├── laser.json
│ │ │ ├── modules/
│ │ │ │ ├── module_auto_feeder.json
│ │ │ │ ├── module_breathing.json
│ │ │ │ ├── module_charger.json
│ │ │ │ ├── module_efficiency.json
│ │ │ │ ├── module_elytra.json
│ │ │ │ ├── module_feather_falling.json
│ │ │ │ ├── module_fire_aspect.json
│ │ │ │ ├── module_fire_resistance.json
│ │ │ │ ├── module_fortune.json
│ │ │ │ ├── module_jump_boost.json
│ │ │ │ ├── module_looting.json
│ │ │ │ ├── module_night_vision.json
│ │ │ │ ├── module_piglin_tricker.json
│ │ │ │ ├── module_protection.json
│ │ │ │ ├── module_range.json
│ │ │ │ ├── module_sharpness.json
│ │ │ │ ├── module_silk_touch.json
│ │ │ │ ├── module_solar_panel.json
│ │ │ │ └── module_speed.json
│ │ │ ├── pulverizer/
│ │ │ │ ├── blaze_power.json
│ │ │ │ ├── bone_meal.json
│ │ │ │ ├── bronze_dust_from_ingot.json
│ │ │ │ ├── coal_dust.json
│ │ │ │ ├── coal_dust_from_ore.json
│ │ │ │ ├── cobblestone_pulverizer.json
│ │ │ │ ├── copper_dust_from_chunk.json
│ │ │ │ ├── copper_dust_from_ingot.json
│ │ │ │ ├── copper_dust_from_ore.json
│ │ │ │ ├── copper_dust_from_purified_ore.json
│ │ │ │ ├── copper_dust_from_raw.json
│ │ │ │ ├── diamond_dust.json
│ │ │ │ ├── diamond_dust_from_ore.json
│ │ │ │ ├── electrum_dust_from_ingot.json
│ │ │ │ ├── gold_dust_from_chunk.json
│ │ │ │ ├── gold_dust_from_ingot.json
│ │ │ │ ├── gold_dust_from_ore.json
│ │ │ │ ├── gold_dust_from_raw.json
│ │ │ │ ├── gravel_pulverizer.json
│ │ │ │ ├── iron_dust_from_chunk.json
│ │ │ │ ├── iron_dust_from_ingot.json
│ │ │ │ ├── iron_dust_from_ore.json
│ │ │ │ ├── iron_dust_from_purified_ore.json
│ │ │ │ ├── iron_dust_from_raw.json
│ │ │ │ ├── lead_dust_from_chunk.json
│ │ │ │ ├── lead_dust_from_ingot.json
│ │ │ │ ├── lead_dust_from_ore.json
│ │ │ │ ├── lead_dust_from_purified_ore.json
│ │ │ │ ├── lead_dust_from_raw.json
│ │ │ │ ├── netherite_dust.json
│ │ │ │ ├── netherite_dust_from_chunk.json
│ │ │ │ ├── nikolite.json
│ │ │ │ ├── sand_pulverizer.json
│ │ │ │ ├── silver_dust_from_chunk.json
│ │ │ │ ├── silver_dust_from_ingot.json
│ │ │ │ ├── silver_dust_from_ore.json
│ │ │ │ ├── silver_dust_from_purified_ore.json
│ │ │ │ ├── silver_dust_from_raw.json
│ │ │ │ ├── sulfur_dust.json
│ │ │ │ ├── sulfur_dust_from_gunpowder.json
│ │ │ │ ├── tin_dust_from_chunk.json
│ │ │ │ ├── tin_dust_from_ingot.json
│ │ │ │ ├── tin_dust_from_ore.json
│ │ │ │ ├── tin_dust_from_purified_ore.json
│ │ │ │ ├── tin_dust_from_raw.json
│ │ │ │ ├── tungsten_dust_from_ingot.json
│ │ │ │ ├── tungsten_dust_from_ore.json
│ │ │ │ └── tungsten_dust_from_purified_ore.json
│ │ │ ├── recycling/
│ │ │ │ ├── recycle_baked_potato.json
│ │ │ │ ├── recycle_bamboo.json
│ │ │ │ ├── recycle_beetroot.json
│ │ │ │ ├── recycle_beetrot_seeds.json
│ │ │ │ ├── recycle_bread.json
│ │ │ │ ├── recycle_brown_mushroom.json
│ │ │ │ ├── recycle_cactus.json
│ │ │ │ ├── recycle_carrot.json
│ │ │ │ ├── recycle_cookie.json
│ │ │ │ ├── recycle_dirt.json
│ │ │ │ ├── recycle_flowers.json
│ │ │ │ ├── recycle_grass.json
│ │ │ │ ├── recycle_grass_block.json
│ │ │ │ ├── recycle_hay_block.json
│ │ │ │ ├── recycle_logs.json
│ │ │ │ ├── recycle_melon.json
│ │ │ │ ├── recycle_melon_seeds.json
│ │ │ │ ├── recycle_melon_slice.json
│ │ │ │ ├── recycle_nether_wart.json
│ │ │ │ ├── recycle_planks.json
│ │ │ │ ├── recycle_potato.json
│ │ │ │ ├── recycle_red_mushroom.json
│ │ │ │ ├── recycle_saplings.json
│ │ │ │ ├── recycle_wheat.json
│ │ │ │ └── recycle_wheat_seeds.json
│ │ │ ├── sawmill/
│ │ │ │ ├── acacia_planks.json
│ │ │ │ ├── birch_planks.json
│ │ │ │ ├── crimson_planks.json
│ │ │ │ ├── dark_oak_planks.json
│ │ │ │ ├── jungle_planks.json
│ │ │ │ ├── oak_planks.json
│ │ │ │ ├── spruce_planks.json
│ │ │ │ └── warped_planks.json
│ │ │ ├── shaped/
│ │ │ │ ├── battery.json
│ │ │ │ ├── biomass_generator_mk3.json
│ │ │ │ ├── blast_furnace_enhancer.json
│ │ │ │ ├── bronze_axe.json
│ │ │ │ ├── bronze_block.json
│ │ │ │ ├── bronze_boots.json
│ │ │ │ ├── bronze_chestplate.json
│ │ │ │ ├── bronze_helmet.json
│ │ │ │ ├── bronze_hoe.json
│ │ │ │ ├── bronze_ingot_from_nugget.json
│ │ │ │ ├── bronze_leggings.json
│ │ │ │ ├── bronze_pickaxe.json
│ │ │ │ ├── bronze_shovel.json
│ │ │ │ ├── bronze_sword.json
│ │ │ │ ├── buffer_enhancer.json
│ │ │ │ ├── cabinet.json
│ │ │ │ ├── cable_mk1.json
│ │ │ │ ├── cable_mk2.json
│ │ │ │ ├── cable_mk3.json
│ │ │ │ ├── cable_mk4.json
│ │ │ │ ├── capsule.json
│ │ │ │ ├── carbon_fiber_boots_frame.json
│ │ │ │ ├── carbon_fiber_chest_frame.json
│ │ │ │ ├── carbon_fiber_helmet_frame.json
│ │ │ │ ├── carbon_fiber_legs_frame.json
│ │ │ │ ├── carbon_fiber_rod.json
│ │ │ │ ├── charge_pad_mk4.json
│ │ │ │ ├── chopper_mk1.json
│ │ │ │ ├── circuit_mk1.json
│ │ │ │ ├── circuit_mk2.json
│ │ │ │ ├── circuit_mk3.json
│ │ │ │ ├── circuit_mk4.json
│ │ │ │ ├── coal_generator_mk1.json
│ │ │ │ ├── compressor_factory_mk4.json
│ │ │ │ ├── compressor_mk1.json
│ │ │ │ ├── condenser_mk4.json
│ │ │ │ ├── controller.json
│ │ │ │ ├── cooler_cell.json
│ │ │ │ ├── copper_axe.json
│ │ │ │ ├── copper_boots.json
│ │ │ │ ├── copper_chestplate.json
│ │ │ │ ├── copper_helmet.json
│ │ │ │ ├── copper_hoe.json
│ │ │ │ ├── copper_ingot_from_nuggets.json
│ │ │ │ ├── copper_leggings.json
│ │ │ │ ├── copper_pickaxe.json
│ │ │ │ ├── copper_shovel.json
│ │ │ │ ├── copper_sword.json
│ │ │ │ ├── damage_upgrade.json
│ │ │ │ ├── data_card_writer_mk4.json
│ │ │ │ ├── diamond_drill_head.json
│ │ │ │ ├── drain_mk1.json
│ │ │ │ ├── drill_bottom.json
│ │ │ │ ├── duct.json
│ │ │ │ ├── electric_furnace_factory_mk4.json
│ │ │ │ ├── electric_furnace_mk1.json
│ │ │ │ ├── electrum_block.json
│ │ │ │ ├── electrum_block_from_nugget.json
│ │ │ │ ├── energy_reader.json
│ │ │ │ ├── fan.json
│ │ │ │ ├── farmer_mk1.json
│ │ │ │ ├── fisher_mk2.json
│ │ │ │ ├── fisher_mk3.json
│ │ │ │ ├── fisher_mk4.json
│ │ │ │ ├── fluid_infuser_mk1.json
│ │ │ │ ├── fluid_pipe_mk1.json
│ │ │ │ ├── fluid_pipe_mk2.json
│ │ │ │ ├── fluid_pipe_mk3.json
│ │ │ │ ├── fluid_pipe_mk4.json
│ │ │ │ ├── frame.json
│ │ │ │ ├── gamer_axe.json
│ │ │ │ ├── hammer.json
│ │ │ │ ├── heat_coil.json
│ │ │ │ ├── heat_generator.json
│ │ │ │ ├── heatsink.json
│ │ │ │ ├── intake.json
│ │ │ │ ├── iron_drill_head.json
│ │ │ │ ├── item_pipe_mk1.json
│ │ │ │ ├── item_pipe_mk2.json
│ │ │ │ ├── item_pipe_mk3.json
│ │ │ │ ├── item_pipe_mk4.json
│ │ │ │ ├── laser_emitter_mk4.json
│ │ │ │ ├── lazuli_flux_container_mk1.json
│ │ │ │ ├── lazuli_flux_container_mk2.json
│ │ │ │ ├── lazuli_flux_container_mk3.json
│ │ │ │ ├── lazuli_flux_container_mk4.json
│ │ │ │ ├── lead_axe.json
│ │ │ │ ├── lead_block.json
│ │ │ │ ├── lead_boots.json
│ │ │ │ ├── lead_chestplate.json
│ │ │ │ ├── lead_helmet.json
│ │ │ │ ├── lead_hoe.json
│ │ │ │ ├── lead_ingot_from_nuggets.json
│ │ │ │ ├── lead_leggings.json
│ │ │ │ ├── lead_pickaxe.json
│ │ │ │ ├── lead_shovel.json
│ │ │ │ ├── lead_sword.json
│ │ │ │ ├── machine_block.json
│ │ │ │ ├── mining_drill_mk1.json
│ │ │ │ ├── mining_drill_mk2.json
│ │ │ │ ├── mining_drill_mk3.json
│ │ │ │ ├── mining_drill_mk4.json
│ │ │ │ ├── mining_rig_mk4.json
│ │ │ │ ├── modular_armor_boots.json
│ │ │ │ ├── modular_armor_chest.json
│ │ │ │ ├── modular_armor_helmet.json
│ │ │ │ ├── modular_armor_legs.json
│ │ │ │ ├── modular_core.json
│ │ │ │ ├── modular_workbench.json
│ │ │ │ ├── netherite_drill_head.json
│ │ │ │ ├── ore_data_card.json
│ │ │ │ ├── paper.json
│ │ │ │ ├── portable_charger.json
│ │ │ │ ├── pulverizer_factory_mk4.json
│ │ │ │ ├── pulverizer_mk1.json
│ │ │ │ ├── pump_mk1.json
│ │ │ │ ├── rancher_mk1.json
│ │ │ │ ├── raw_lead_block.json
│ │ │ │ ├── raw_silver_block.json
│ │ │ │ ├── raw_tin_block.json
│ │ │ │ ├── raw_tungsten_block.json
│ │ │ │ ├── recycler_mk2.json
│ │ │ │ ├── reinforced_elytra.json
│ │ │ │ ├── sawmill_mk1.json
│ │ │ │ ├── screwdriver.json
│ │ │ │ ├── servo_output.json
│ │ │ │ ├── servo_retriever.json
│ │ │ │ ├── silo.json
│ │ │ │ ├── silver_axe.json
│ │ │ │ ├── silver_block.json
│ │ │ │ ├── silver_boots.json
│ │ │ │ ├── silver_chestplate.json
│ │ │ │ ├── silver_helmet.json
│ │ │ │ ├── silver_hoe.json
│ │ │ │ ├── silver_ingot_from_nuggets.json
│ │ │ │ ├── silver_leggings.json
│ │ │ │ ├── silver_pickaxe.json
│ │ │ │ ├── silver_shovel.json
│ │ │ │ ├── silver_sword.json
│ │ │ │ ├── slaughter_mk1.json
│ │ │ │ ├── smelter_mk4.json
│ │ │ │ ├── smoker_enhancer.json
│ │ │ │ ├── solar_generator_mk1.json
│ │ │ │ ├── solar_generator_mk3.json
│ │ │ │ ├── solid_infuser_factory_mk4.json
│ │ │ │ ├── solid_infuser_mk1.json
│ │ │ │ ├── speed_enhancer.json
│ │ │ │ ├── steel_axe.json
│ │ │ │ ├── steel_block.json
│ │ │ │ ├── steel_boots.json
│ │ │ │ ├── steel_chestplate.json
│ │ │ │ ├── steel_helmet.json
│ │ │ │ ├── steel_hoe.json
│ │ │ │ ├── steel_ingot_from_nuggets.json
│ │ │ │ ├── steel_leggings.json
│ │ │ │ ├── steel_pickaxe.json
│ │ │ │ ├── steel_shovel.json
│ │ │ │ ├── steel_sword.json
│ │ │ │ ├── stone_drill_head.json
│ │ │ │ ├── tank.json
│ │ │ │ ├── tier_upgrade_mk2.json
│ │ │ │ ├── tier_upgrade_mk3.json
│ │ │ │ ├── tier_upgrade_mk4.json
│ │ │ │ ├── tin_axe.json
│ │ │ │ ├── tin_block.json
│ │ │ │ ├── tin_boots.json
│ │ │ │ ├── tin_chestplate.json
│ │ │ │ ├── tin_helmet.json
│ │ │ │ ├── tin_hoe.json
│ │ │ │ ├── tin_ingot_from_nuggets.json
│ │ │ │ ├── tin_leggings.json
│ │ │ │ ├── tin_pickaxe.json
│ │ │ │ ├── tin_shovel.json
│ │ │ │ ├── tin_sword.json
│ │ │ │ ├── tungsten_block.json
│ │ │ │ ├── tungsten_ingot_from_nuggets.json
│ │ │ │ ├── warning_strobe.json
│ │ │ │ └── wrench.json
│ │ │ ├── shapeless/
│ │ │ │ ├── bronze_ingot_from_block.json
│ │ │ │ ├── bronze_nugget.json
│ │ │ │ ├── copper_ingot_from_block.json
│ │ │ │ ├── copper_nugget.json
│ │ │ │ ├── copper_plate_from_hammer.json
│ │ │ │ ├── electrum_ingot_from_block.json
│ │ │ │ ├── electrum_nugget.json
│ │ │ │ ├── gold_plate_from_hammer.json
│ │ │ │ ├── guide_book.json
│ │ │ │ ├── iron_plate_from_hammer.json
│ │ │ │ ├── lead_ingot_from_block.json
│ │ │ │ ├── lead_nugget.json
│ │ │ │ ├── planks.json
│ │ │ │ ├── raw_lead.json
│ │ │ │ ├── raw_silver.json
│ │ │ │ ├── raw_tin.json
│ │ │ │ ├── raw_tungsten.json
│ │ │ │ ├── silver_ingot_from_block.json
│ │ │ │ ├── silver_nugget.json
│ │ │ │ ├── steel_ingot_from_block.json
│ │ │ │ ├── steel_nugget.json
│ │ │ │ ├── tin_ingot_from_block.json
│ │ │ │ ├── tin_nugget.json
│ │ │ │ ├── tin_plate_from_hammer.json
│ │ │ │ ├── tungsten_ingot_from_block.json
│ │ │ │ └── tungsten_nugget.json
│ │ │ ├── smelter/
│ │ │ │ ├── molten_copper_from_block.json
│ │ │ │ ├── molten_copper_from_dust.json
│ │ │ │ ├── molten_copper_from_ingot.json
│ │ │ │ ├── molten_copper_from_nugget.json
│ │ │ │ ├── molten_copper_from_ore.json
│ │ │ │ ├── molten_copper_from_purified_ore.json
│ │ │ │ ├── molten_gold_from_block.json
│ │ │ │ ├── molten_gold_from_dust.json
│ │ │ │ ├── molten_gold_from_ingot.json
│ │ │ │ ├── molten_gold_from_nugget.json
│ │ │ │ ├── molten_gold_from_ore.json
│ │ │ │ ├── molten_gold_from_purified_ore.json
│ │ │ │ ├── molten_iron_from_block.json
│ │ │ │ ├── molten_iron_from_dust.json
│ │ │ │ ├── molten_iron_from_ingot.json
│ │ │ │ ├── molten_iron_from_nugget.json
│ │ │ │ ├── molten_iron_from_ore.json
│ │ │ │ ├── molten_iron_from_purified_ore.json
│ │ │ │ ├── molten_lead_from_block.json
│ │ │ │ ├── molten_lead_from_dust.json
│ │ │ │ ├── molten_lead_from_ingot.json
│ │ │ │ ├── molten_lead_from_nugget.json
│ │ │ │ ├── molten_lead_from_ore.json
│ │ │ │ ├── molten_lead_from_purified_ore.json
│ │ │ │ ├── molten_netherite_from_dust.json
│ │ │ │ ├── molten_netherite_from_ore.json
│ │ │ │ ├── molten_netherite_from_purified_ore.json
│ │ │ │ ├── molten_silver_from_block.json
│ │ │ │ ├── molten_silver_from_dust.json
│ │ │ │ ├── molten_silver_from_ingot.json
│ │ │ │ ├── molten_silver_from_nugget.json
│ │ │ │ ├── molten_silver_from_ore.json
│ │ │ │ ├── molten_silver_from_purified_ore.json
│ │ │ │ ├── molten_tin_from_block.json
│ │ │ │ ├── molten_tin_from_dust.json
│ │ │ │ ├── molten_tin_from_ingot.json
│ │ │ │ ├── molten_tin_from_nugget.json
│ │ │ │ ├── molten_tin_from_ore.json
│ │ │ │ └── molten_tin_from_purified_ore.json
│ │ │ ├── smelting/
│ │ │ │ ├── bronze_ingot_from_smelting.json
│ │ │ │ ├── copper_ingot_from_smelting.json
│ │ │ │ ├── electrum_ingot_from_smelting.json
│ │ │ │ ├── gold_ingot.json
│ │ │ │ ├── iron_ingot_from_dust.json
│ │ │ │ ├── lead_ingot_from_ore.json
│ │ │ │ ├── lead_ingot_from_raw_ore.json
│ │ │ │ ├── lead_ingot_from_smelting.json
│ │ │ │ ├── leather.json
│ │ │ │ ├── netherite_scrap.json
│ │ │ │ ├── silver_ingot_from_ore.json
│ │ │ │ ├── silver_ingot_from_raw_ores.json
│ │ │ │ ├── silver_ingot_from_smelting.json
│ │ │ │ ├── steel_ingot.json
│ │ │ │ ├── tin_ingot_from_ore.json
│ │ │ │ ├── tin_ingot_from_raw_ores.json
│ │ │ │ ├── tin_ingot_from_smelting.json
│ │ │ │ ├── tungsten_ingot_from_ore.json
│ │ │ │ ├── tungsten_ingot_from_raw_ores.json
│ │ │ │ └── tungsten_ingot_from_smelting.json
│ │ │ └── upgrade/
│ │ │ ├── chopper_mk1_to_mk2.json
│ │ │ ├── chopper_mk2_to_mk3.json
│ │ │ ├── chopper_mk3_to_mk4.json
│ │ │ ├── compressor_mk1_to_mk2.json
│ │ │ ├── compressor_mk2_to_mk3.json
│ │ │ ├── compressor_mk3_to_mk4.json
│ │ │ ├── electric_furnace_mk1_to_mk2.json
│ │ │ ├── electric_furnace_mk2_to_mk3.json
│ │ │ ├── electric_furnace_mk3_to_mk4.json
│ │ │ ├── electrolytic_separator_mk1_to_mk2.json
│ │ │ ├── electrolytic_separator_mk2_to_mk3.json
│ │ │ ├── electrolytic_separator_mk3_to_mk4.json
│ │ │ ├── farmer_mk1_to_mk2.json
│ │ │ ├── farmer_mk2_to_mk3.json
│ │ │ ├── farmer_mk3_to_mk4.json
│ │ │ ├── fluid_infuser_mk1_to_mk2.json
│ │ │ ├── fluid_infuser_mk2_to_mk3.json
│ │ │ ├── fluid_infuser_mk3_to_mk4.json
│ │ │ ├── pulverizer_mk1_to_mk2.json
│ │ │ ├── pulverizer_mk2_to_mk3.json
│ │ │ ├── pulverizer_mk3_to_mk4.json
│ │ │ ├── rancher_mk1_to_mk2.json
│ │ │ ├── rancher_mk2_to_mk3.json
│ │ │ ├── rancher_mk3_to_mk4.json
│ │ │ ├── sawmill_mk1_to_mk2.json
│ │ │ ├── sawmill_mk2_to_mk3.json
│ │ │ ├── sawmill_mk3_to_mk4.json
│ │ │ ├── slaughter_mk1_to_mk2.json
│ │ │ ├── slaughter_mk2_to_mk3.json
│ │ │ ├── slaughter_mk3_to_mk4.json
│ │ │ ├── solid_infuser_mk1_to_mk2.json
│ │ │ ├── solid_infuser_mk2_to_mk3.json
│ │ │ └── solid_infuser_mk3_to_mk4.json
│ │ └── tags/
│ │ └── items/
│ │ └── coolers.json
│ └── minecraft/
│ └── tags/
│ ├── blocks/
│ │ ├── mineable/
│ │ │ ├── axe.json
│ │ │ └── pickaxe.json
│ │ └── wither_immune.json
│ └── fluids/
│ ├── lava.json
│ └── water.json
├── fabric.mod.json
├── indrev.accesswidener
└── indrev.mixins.json
================================================
FILE CONTENTS
================================================
================================================
FILE: .github/ISSUE_TEMPLATE/bugs.md
================================================
---
name: Bug report
about: Something isn't working right
title: '[BUG] '
labels: bug
assignees: ''
---
**Description:**
- Give a detailed explanation of the issue
**Steps to Reproduce:**
- Steps to reproduce this behaviour
**Technical Information:**
- Minecraft:
- Fabric API:
- Industrial Revolution:
- Modpack:
**Logs:**
- Use a paste service, do not paste the logs directly here.
**Details:**
Extra information that might be helpful like screenshots or technical information about your computer.
================================================
FILE: .github/ISSUE_TEMPLATE/requests.md
================================================
---
name: Request
about: I have a really cool idea!
title: '[REQUEST] '
labels: enhancement
assignees: ''
---
**Description:**
- Describe your suggestion with as many details as possible.
**Reason:**
- Why do you think your suggestion should be added?
================================================
FILE: .gitignore
================================================
# gradle
.gradle/
build/
out/
# idea
.idea/
*.iml
*.ipr
*.iws
# fabric
run/
================================================
FILE: LICENSE.txt
================================================
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
================================================
FILE: README.md
================================================
<p align="center"><img src="https://i.imgur.com/1ZwHaAt.png"></p>
<h3 align="center">Industrial Revolution</h3>
<p align="center">An Industrial mod made for Fabric.</p>
<p align="center">
<a title="Fabric API" href="https://github.com/FabricMC/fabric">
<img src="https://i.imgur.com/Ol1Tcf8.png" width="151" height="50" />
</a>
<a title="Fabric Language Kotlin" href="https://github.com/FabricMC/fabric-language-kotlin" target="_blank" rel="noopener noreferrer">
<img src="https://i.imgur.com/c1DH9VL.png" width="171" height="50" />
</a>
</p>
<p align="center">
<a href="https://opensource.org/licenses/Apache-2.0"><img src="https://img.shields.io/badge/License-Apache%202.0-brightgreen.svg"></a>
<a href="https://www.curseforge.com/minecraft/mc-mods/industrial-revolution"><img src="http://cf.way2muchnoise.eu/versions/391708_latest.svg"></a>
<a href="https://www.curseforge.com/minecraft/mc-mods/industrial-revolution"><img src="http://cf.way2muchnoise.eu/391708.svg"></a>
</p>
## Features
For a complete list of features please check the mods [official page](https://www.curseforge.com/minecraft/mc-mods/industrial-revolution)
## License
Distributed under the Apache License, Version 2.0. See `LICENSE` for more information.
## Build
If you want to build this yourself, please clone the repository and execute `gradlew build` in the projects folder.
Artifacts will be generated at `/build/libs`
================================================
FILE: build.gradle
================================================
plugins {
id "fabric-loom"
id "maven-publish"
id "org.jetbrains.kotlin.jvm"
}
sourceCompatibility = JavaVersion.VERSION_16
targetCompatibility = JavaVersion.VERSION_16
archivesBaseName = project.archives_base_name
version = project.mod_version
group = project.maven_group
repositories {
maven {
name = "Modmuss50"
url = "https://maven.modmuss50.me/"
content {
includeGroup "RebornCore"
includeGroup "TechReborn"
includeGroup "teamreborn"
}
}
maven {
url "https://maven.shedaniel.me/"
content {
includeGroup "dev.architectury"
includeGroup "me.shedaniel"
includeGroup "me.shedaniel.cloth"
includeGroup "me.shedaniel.cloth.api"
}
}
maven {
url = "https://maven.fabricmc.net/"
content {
includeGroup "net.fabricmc"
}
}
maven {
name = "BuildCraft"
url = "https://mod-buildcraft.com/maven"
content {
includeGroup "alexiil.mc.lib"
}
}
maven {
name = "CottonMC"
url = "https://server.bbkr.space/artifactory/libs-release"
content {
includeGroup "io.github.cottonmc"
}
}
maven {
url = "https://maven.terraformersmc.com/releases/"
content {
includeGroup "com.terraformersmc"
}
}
maven {
name = "Patchouli"
url = "https://maven.blamejared.com"
content {
includeGroup "vazkii.patchouli"
}
}
maven {
url = "https://jitpack.io"
content {
includeGroup "com.github.Technici4n"
includeGroup "com.github.Draylar"
includeGroup "com.github.Draylar.omega-config"
includeGroup "com.github.emilyploszaj"
}
}
maven {
url "https://oskarstrom.net/maven"
content {
includeGroup "net.oskarstrom"
}
}
maven {
name = "Cafeteria Development"
url = 'https://maven.cafeteria.dev'
content {
includeGroup 'dev.cafeteria'
includeGroup 'me.luligabi'
includeGroup 'net.adriantodt.fabricmc'
}
}
maven {
name = 'Ladysnake Mods'
url = 'https://ladysnake.jfrog.io/artifactory/mods'
content {
includeGroup 'io.github.ladysnake'
includeGroupByRegex 'io\\.github\\.onyxstudios.*'
}
}
}
dependencies {
dependencies.ext.lib = { dep, optional = false ->
modImplementation(dep) {
exclude group: "net.fabricmc.fabric-api"
exclude group: "com.jamieswhiteshirt"
exclude group: "io.github.prospector"
}
if (!optional) {
include(dep) {
exclude group: "net.fabricmc.fabric-api"
exclude group: "com.jamieswhiteshirt"
exclude group: "io.github.prospector"
}
}
}
minecraft "com.mojang:minecraft:${project.minecraft_version}"
mappings "net.fabricmc:yarn:${project.yarn_mappings}:v2"
modImplementation "net.fabricmc:fabric-loader:${project.loader_version}"
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
modImplementation "net.fabricmc:fabric-language-kotlin:${project.fabric_kotlin_version}"
dependencies.ext.lib("teamreborn:energy:${project.tr_energy_version}")
dependencies.ext.lib("io.github.cottonmc:LibGui:${project.libgui_version}")
dependencies.ext.lib("vazkii.patchouli:Patchouli:${project.patchouli_version}")
dependencies.ext.lib("alexiil.mc.lib:libblockattributes-core:${project.lba_version}")
dependencies.ext.lib("alexiil.mc.lib:libblockattributes-fluids:${project.lba_version}")
dependencies.ext.lib("alexiil.mc.lib:libblockattributes-items:${project.lba_version}")
dependencies.ext.lib("com.github.Draylar:magna:${project.magna_version}")
dependencies.ext.lib("com.github.emilyploszaj:step-height-entity-attribute:v1.0.1")
dependencies.ext.lib("dev.cafeteria:fake-player-api:${project.fakeplayerapi_version}")
dependencies.ext.lib("me.luligabi:NoIndium:1.0")
dependencies.ext.lib("me.shedaniel:RoughlyEnoughItems-fabric:${project.rei_version}", true)
modRuntimeOnly("com.terraformersmc:modmenu:${project.modmenu_version}") {
exclude group: "net.fabricmc.fabric-api", module: "fabric-api"
}
// DashLoader Stuff
modCompileOnly("net.oskarstrom:DashLoader:2.0-dev12")
dependencies.ext.lib("io.activej:activej-serializer:${project.activej_version}", true)
modRuntimeOnly("org.yaml:snakeyaml:1.27")
}
loom {
accessWidenerPath = file("src/main/resources/indrev.accesswidener")
}
processResources {
inputs.property "version", project.version
filesMatching("fabric.mod.json") {
expand "version": project.version
}
}
// ensure that the encoding is set to UTF-8, no matter what the system default is
// this fixes some edge cases with special characters not displaying correctly
// see http://yodaconditions.net/blog/fix-for-java-file-encoding-problems-with-gradle.html
tasks.withType(JavaCompile) {
it.options.encoding = "UTF-8"
it.options.release = 16
}
java {
// Loom will automatically attach sourcesJar to a RemapSourcesJar task and to the "build" task
// if it is present.
// If you remove this line, sources will not be generated.
withSourcesJar()
}
jar {
from("LICENSE") {
rename { "${it}_${project.archivesBaseName}"}
}
exclude("me/steven/indrev/datagen")
}
// configure the maven publication
publishing {
publications {
mavenJava(MavenPublication) {
// add all the jars that should be included when publishing to maven
artifact(remapJar) {
builtBy remapJar
}
artifact(sourcesJar) {
builtBy remapSourcesJar
}
}
}
// select the repositories you want to publish to
repositories {
maven {
url "https://maven.cafeteria.dev/releases"
credentials {
username = project.property("mcdUsername")
password = project.property("mcdPassword")
}
authentication {
basic(BasicAuthentication)
}
}
}
}
compileKotlin.kotlinOptions.jvmTarget = "16"
================================================
FILE: gradle/wrapper/gradle-wrapper.properties
================================================
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
================================================
FILE: gradle.properties
================================================
kotlin.code.style=official
org.gradle.jvmargs=-Xmx2G
# Fabric Properties
minecraft_version=1.18.2
yarn_mappings=1.18.2+build.3
loader_version=0.13.3
#Fabric api
fabric_version=0.51.1+1.18.2
loom_version=0.11-SNAPSHOT
# Mod Properties
mod_version=1.14.0-BETA
maven_group=me.steven
archives_base_name=indrev
# Kotlin
kotlin_version=1.6.20
fabric_kotlin_version=1.7.2+kotlin.1.6.20
# LibGui
libgui_version=5.3.2+1.18.2
# Mod Menu
modmenu_version=3.1.0
# Roughly Enough Items
rei_version=8.0.442
# Patchouli
patchouli_version=1.18.2-66-FABRIC
# LBA
lba_version=0.10.0
# Magna
magna_version=1.7.0-1.18
# TR Energy
tr_energy_version=2.0.0-beta1
# Fake Player API
fakeplayerapi_version=0.3.0
# ActiveJ
activej_version=4.3
================================================
FILE: gradlew
================================================
#!/usr/bin/env sh
#
# Copyright 2015 the original author or authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
##############################################################################
##
## Gradle start up script for UN*X
##
##############################################################################
# Attempt to set APP_HOME
# Resolve links: $0 may be a link
PRG="$0"
# Need this for relative symlinks.
while [ -h "$PRG" ] ; do
ls=`ls -ld "$PRG"`
link=`expr "$ls" : '.*-> \(.*\)$'`
if expr "$link" : '/.*' > /dev/null; then
PRG="$link"
else
PRG=`dirname "$PRG"`"/$link"
fi
done
SAVED="`pwd`"
cd "`dirname \"$PRG\"`/" >/dev/null
APP_HOME="`pwd -P`"
cd "$SAVED" >/dev/null
APP_NAME="Gradle"
APP_BASE_NAME=`basename "$0"`
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD="maximum"
warn () {
echo "$*"
}
die () {
echo
echo "$*"
echo
exit 1
}
# OS specific support (must be 'true' or 'false').
cygwin=false
msys=false
darwin=false
nonstop=false
case "`uname`" in
CYGWIN* )
cygwin=true
;;
Darwin* )
darwin=true
;;
MINGW* )
msys=true
;;
NONSTOP* )
nonstop=true
;;
esac
CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar
# Determine the Java command to use to start the JVM.
if [ -n "$JAVA_HOME" ] ; then
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
# IBM's JDK on AIX uses strange locations for the executables
JAVACMD="$JAVA_HOME/jre/sh/java"
else
JAVACMD="$JAVA_HOME/bin/java"
fi
if [ ! -x "$JAVACMD" ] ; then
die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
else
JAVACMD="java"
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
# Increase the maximum file descriptors if we can.
if [ "$cygwin" = "false" -a "$darwin" = "false" -a "$nonstop" = "false" ] ; then
MAX_FD_LIMIT=`ulimit -H -n`
if [ $? -eq 0 ] ; then
if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then
MAX_FD="$MAX_FD_LIMIT"
fi
ulimit -n $MAX_FD
if [ $? -ne 0 ] ; then
warn "Could not set maximum file descriptor limit: $MAX_FD"
fi
else
warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT"
fi
fi
# For Darwin, add options to specify how the application appears in the dock
if $darwin; then
GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\""
fi
# For Cygwin or MSYS, switch paths to Windows format before running java
if [ "$cygwin" = "true" -o "$msys" = "true" ] ; then
APP_HOME=`cygpath --path --mixed "$APP_HOME"`
CLASSPATH=`cygpath --path --mixed "$CLASSPATH"`
JAVACMD=`cygpath --unix "$JAVACMD"`
# We build the pattern for arguments to be converted via cygpath
ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null`
SEP=""
for dir in $ROOTDIRSRAW ; do
ROOTDIRS="$ROOTDIRS$SEP$dir"
SEP="|"
done
OURCYGPATTERN="(^($ROOTDIRS))"
# Add a user-defined pattern to the cygpath arguments
if [ "$GRADLE_CYGPATTERN" != "" ] ; then
OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)"
fi
# Now convert the arguments - kludge to limit ourselves to /bin/sh
i=0
for arg in "$@" ; do
CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -`
CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option
if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition
eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"`
else
eval `echo args$i`="\"$arg\""
fi
i=`expr $i + 1`
done
case $i in
0) set -- ;;
1) set -- "$args0" ;;
2) set -- "$args0" "$args1" ;;
3) set -- "$args0" "$args1" "$args2" ;;
4) set -- "$args0" "$args1" "$args2" "$args3" ;;
5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;;
6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;;
7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;;
8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;;
9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;;
esac
fi
# Escape application args
save () {
for i do printf %s\\n "$i" | sed "s/'/'\\\\''/g;1s/^/'/;\$s/\$/' \\\\/" ; done
echo " "
}
APP_ARGS=`save "$@"`
# Collect all arguments for the java command, following the shell quoting and substitution rules
eval set -- $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS "\"-Dorg.gradle.appname=$APP_BASE_NAME\"" -classpath "\"$CLASSPATH\"" org.gradle.wrapper.GradleWrapperMain "$APP_ARGS"
exec "$JAVACMD" "$@"
================================================
FILE: gradlew.bat
================================================
@rem
@rem Copyright 2015 the original author or authors.
@rem
@rem Licensed under the Apache License, Version 2.0 (the "License");
@rem you may not use this file except in compliance with the License.
@rem You may obtain a copy of the License at
@rem
@rem https://www.apache.org/licenses/LICENSE-2.0
@rem
@rem Unless required by applicable law or agreed to in writing, software
@rem distributed under the License is distributed on an "AS IS" BASIS,
@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@rem See the License for the specific language governing permissions and
@rem limitations under the License.
@rem
@if "%DEBUG%" == "" @echo off
@rem ##########################################################################
@rem
@rem Gradle startup script for Windows
@rem
@rem ##########################################################################
@rem Set local scope for the variables with windows NT shell
if "%OS%"=="Windows_NT" setlocal
set DIRNAME=%~dp0
if "%DIRNAME%" == "" set DIRNAME=.
set APP_BASE_NAME=%~n0
set APP_HOME=%DIRNAME%
@rem Resolve any "." and ".." in APP_HOME to make it shorter.
for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi
@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m"
@rem Find java.exe
if defined JAVA_HOME goto findJavaFromJavaHome
set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if "%ERRORLEVEL%" == "0" goto init
echo.
echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:findJavaFromJavaHome
set JAVA_HOME=%JAVA_HOME:"=%
set JAVA_EXE=%JAVA_HOME%/bin/java.exe
if exist "%JAVA_EXE%" goto init
echo.
echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
echo.
echo Please set the JAVA_HOME variable in your environment to match the
echo location of your Java installation.
goto fail
:init
@rem Get command-line arguments, handling Windows variants
if not "%OS%" == "Windows_NT" goto win9xME_args
:win9xME_args
@rem Slurp the command line arguments.
set CMD_LINE_ARGS=
set _SKIP=2
:win9xME_args_slurp
if "x%~1" == "x" goto execute
set CMD_LINE_ARGS=%*
:execute
@rem Setup the command line
set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar
@rem Execute Gradle
"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS%
:end
@rem End local scope for the variables with windows NT shell
if "%ERRORLEVEL%"=="0" goto mainEnd
:fail
rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of
rem the _cmd.exe /c_ return code!
if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1
exit /b 1
:mainEnd
if "%OS%"=="Windows_NT" endlocal
:omega
================================================
FILE: settings.gradle
================================================
pluginManagement {
repositories {
jcenter()
maven {
name = 'Fabric'
url = 'https://maven.fabricmc.net/'
}
gradlePluginPortal()
}
plugins {
id 'fabric-loom' version loom_version
id "org.jetbrains.kotlin.jvm" version kotlin_version
}
}
================================================
FILE: src/main/java/me/steven/indrev/AprilFools.java
================================================
package me.steven.indrev;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.fabricmc.fabric.api.client.item.v1.ItemTooltipCallback;
import net.fabricmc.loader.api.FabricLoader;
import net.minecraft.text.LiteralText;
import net.minecraft.util.Formatting;
import net.minecraft.util.registry.Registry;
import java.io.File;
import java.io.IOException;
import java.time.LocalDate;
@Environment(EnvType.CLIENT)
public final class AprilFools {
private static final File CHECK =
new File(FabricLoader.getInstance().getGameDir().toString(), ".indrev_" + LocalDate.now().getYear());
public static void init() {
if (isToday()) {
ItemTooltipCallback.EVENT.register((itemStack, tooltipContext, list) -> {
String itemNamespace = Registry.ITEM.getId(itemStack.getItem()).getNamespace();
if (itemNamespace.equals(IndustrialRevolution.MOD_ID) && list.size() > 1) {
list.add(new LiteralText("")); // break line
list.add(new LiteralText("every good modpack uses forge...").formatted(Formatting.ITALIC));
}
});
try { CHECK.createNewFile(); }
catch (IOException ex) { ex.printStackTrace(); }
}
}
public static boolean isToday() {
return false;
/*LocalDate now = LocalDate.now();
return now.getDayOfMonth() == 1 && now.getMonthValue() == 4 && !CHECK.exists();*/
}
}
================================================
FILE: src/main/java/me/steven/indrev/FabricRecipeRemainder.java
================================================
package me.steven.indrev;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.inventory.CraftingInventory;
import net.minecraft.item.ItemStack;
public interface FabricRecipeRemainder {
ItemStack getRemainder(ItemStack stack, CraftingInventory craftingInventory, PlayerEntity playerEntity);
}
================================================
FILE: src/main/java/me/steven/indrev/IREnergyStorage.java
================================================
package me.steven.indrev;
import net.fabricmc.fabric.api.transfer.v1.storage.StoragePreconditions;
import net.fabricmc.fabric.api.transfer.v1.transaction.TransactionContext;
import net.fabricmc.fabric.api.transfer.v1.transaction.base.SnapshotParticipant;
import net.minecraft.util.math.Direction;
import org.jetbrains.annotations.Nullable;
import team.reborn.energy.api.EnergyStorage;
/**
* Copied from SimpleSidedEnergyContainer and modified to fit IR's needs
*/
public abstract class IREnergyStorage extends SnapshotParticipant<Long> {
private final SideStorage[] sideStorages = new SideStorage[7];
public IREnergyStorage() {
for (int i = 0; i < 7; ++i) {
sideStorages[i] = new SideStorage(i == 6 ? null : Direction.byId(i));
}
}
/**
* @return The current capacity of this storage.
*/
public abstract long getCapacity();
/**
* @return The maximum amount of energy that can be inserted in a single operation from the passed side.
*/
public abstract long getMaxInsert(@Nullable Direction side);
/**
* @return The maximum amount of energy that can be extracted in a single operation from the passed side.
*/
public abstract long getMaxExtract(@Nullable Direction side);
/**
* @return An {@link EnergyStorage} implementation for the passed side.
*/
public EnergyStorage getSideStorage(@Nullable Direction side) {
return sideStorages[side == null ? 6 : side.getId()];
}
public long getAmount() {
return 0;
}
public void setAmount(long v) {
}
@Override
protected Long createSnapshot() {
return getAmount();
}
@Override
protected void readSnapshot(Long snapshot) {
setAmount(snapshot);
}
private class SideStorage implements EnergyStorage {
private final Direction side;
private SideStorage(Direction side) {
this.side = side;
}
@Override
public boolean supportsInsertion() {
return getMaxInsert(side) > 0;
}
@Override
public long insert(long maxAmount, TransactionContext transaction) {
StoragePreconditions.notNegative(maxAmount);
long inserted = Math.min(getMaxInsert(side), Math.min(maxAmount, getCapacity() - getAmount()));
if (inserted > 0) {
updateSnapshots(transaction);
setAmount(getAmount() + inserted);
return inserted;
}
return 0;
}
@Override
public boolean supportsExtraction() {
return getMaxExtract(side) > 0;
}
@Override
public long extract(long maxAmount, TransactionContext transaction) {
StoragePreconditions.notNegative(maxAmount);
long extracted = Math.min(getMaxExtract(side), Math.min(maxAmount, getAmount()));
if (extracted > 0) {
updateSnapshots(transaction);
setAmount(getAmount() - extracted);
return extracted;
}
return 0;
}
@Override
public long getAmount() {
return IREnergyStorage.this.getAmount();
}
@Override
public long getCapacity() {
return IREnergyStorage.this.getCapacity();
}
}
}
================================================
FILE: src/main/java/me/steven/indrev/WCustomTabPanel.java
================================================
/*
Original code by Juuxel, part of https://github.com/CottonMC/LibGui
MIT License
Copyright (c) 2018 The Cotton Project
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
package me.steven.indrev;
import io.github.cottonmc.cotton.gui.client.BackgroundPainter;
import io.github.cottonmc.cotton.gui.client.LibGui;
import io.github.cottonmc.cotton.gui.client.ScreenDrawing;
import io.github.cottonmc.cotton.gui.widget.*;
import io.github.cottonmc.cotton.gui.widget.data.Axis;
import io.github.cottonmc.cotton.gui.widget.data.HorizontalAlignment;
import io.github.cottonmc.cotton.gui.widget.data.InputResult;
import io.github.cottonmc.cotton.gui.widget.icon.Icon;
import net.fabricmc.api.EnvType;
import net.fabricmc.api.Environment;
import net.minecraft.client.MinecraftClient;
import net.minecraft.client.font.TextRenderer;
import net.minecraft.client.sound.PositionedSoundInstance;
import net.minecraft.client.util.math.MatrixStack;
import net.minecraft.sound.SoundEvents;
import net.minecraft.text.Text;
import net.minecraft.util.Identifier;
import org.jetbrains.annotations.Nullable;
import java.util.*;
import java.util.function.Consumer;
public class WCustomTabPanel extends WPanel {
private static final int TAB_PADDING = 4;
private static final int TAB_WIDTH = 28;
private static final int TAB_HEIGHT = 25;
private static final int PANEL_PADDING = 8; // The padding of BackgroundPainter.VANILLA
private static final int ICON_SIZE = 16;
private final WBox tabRibbon = new WBox(Axis.HORIZONTAL).setSpacing(1);
private final List<WTab> tabWidgets = new ArrayList<>();
private final WCardPanel mainPanel = new WCardPanel();
/**
* Constructs a new tab panel.
*/
public WCustomTabPanel() {
add(tabRibbon, 0, 0);
add(mainPanel, PANEL_PADDING, TAB_HEIGHT + PANEL_PADDING);
}
public void add(WWidget widget, int x, int y) {
children.add(widget);
widget.setParent(this);
widget.setLocation(x, y);
expandToFit(widget);
}
@Override
public WPanel setBackgroundPainter(BackgroundPainter painter) {
return super.setBackgroundPainter(
BackgroundPainter.createLightDarkVariants(
BackgroundPainter.createNinePatch(new Identifier("libgui", "textures/widget/panel_light.png")).setPadding(0).setTopPadding(-25),
BackgroundPainter.createNinePatch(new Identifier("libgui", "textures/widget/panel_dark.png")).setPadding(8).setTopPadding(-25)
));
}
// dont bother it's just bad code ik
public WPanel setForceBackgroundPainter(BackgroundPainter painter) {
return super.setBackgroundPainter(painter);
}
/**
* Adds a tab to this panel.
*
* @param tab the added tab
*/
public void add(WCustomTabPanel.Tab tab) {
WTab tabWidget = new WTab(tab);
if (tabWidgets.isEmpty()) {
tabWidget.selected = true;
}
tabWidgets.add(tabWidget);
tabRibbon.add(tabWidget, TAB_WIDTH, TAB_HEIGHT + TAB_PADDING);
mainPanel.add(tab.getWidget());
}
/**
* Configures and adds a tab to this panel.
*
* @param widget the contained widget
* @param configurator the tab configurator
*/
public void add(WWidget widget, Consumer<WCustomTabPanel.Tab.Builder> configurator) {
WCustomTabPanel.Tab.Builder builder = new WCustomTabPanel.Tab.Builder(widget);
configurator.accept(builder);
add(builder.build());
}
@Override
public void setSize(int x, int y) {
super.setSize(x, y);
tabRibbon.setSize(x, TAB_HEIGHT);
}
@Environment(EnvType.CLIENT)
@Override
public void addPainters() {
super.addPainters();
}
/**
* The data of a tab.
*/
public static class Tab {
private final Text title;
private final Icon icon;
private final WWidget widget;
private final Consumer<TooltipBuilder> tooltip;
/**
* Constructs a tab.
*
* @param title the tab title
* @param icon the tab icon
* @param widget the widget contained in the tab
* @param tooltip the tab tooltip
* @throws IllegalArgumentException if both the title and the icon are null
* @throws NullPointerException if either the widget or the tooltip is null
*/
public Tab(Text title, Icon icon, WWidget widget, Consumer<TooltipBuilder> tooltip) {
if (title == null && icon == null) {
throw new IllegalArgumentException("A tab must have a title or an icon");
}
this.title = title;
this.icon = icon;
this.widget = Objects.requireNonNull(widget, "widget");
this.tooltip = tooltip;
}
/**
* Gets the title of this tab.
*
* @return the title, or null if there's no title
*/
public Text getTitle() {
return title;
}
/**
* Gets the icon of this tab.
*
* @return the icon, or null if there's no title
*/
public Icon getIcon() {
return icon;
}
/**
* Gets the contained widget of this tab.
*
* @return the contained widget
*/
public WWidget getWidget() {
return widget;
}
/**
* Adds this widget's tooltip to the {@code tooltip} builder.
*
* @param tooltip the tooltip builder
*/
public void addTooltip(TooltipBuilder tooltip) {
if (this.tooltip != null)
this.tooltip.accept(tooltip);
}
/**
* A builder for tab data.
*/
public static final class Builder {
@Nullable
private Text title;
@Nullable
private Icon icon;
private final WWidget widget;
private final List<Text> tooltip = new ArrayList<>();
/**
* Constructs a new tab data builder.
*
* @param widget the contained widget
* @throws NullPointerException if the widget is null
*/
public Builder(WWidget widget) {
this.widget = Objects.requireNonNull(widget, "widget");
}
/**
* Sets the tab title.
*
* @param title the new title
* @return this builder
* @throws NullPointerException if the title is null
*/
public Builder title(Text title) {
this.title = Objects.requireNonNull(title, "title");
return this;
}
/**
* Sets the tab icon.
*
* @param icon the new icon
* @return this builder
* @throws NullPointerException if the icon is null
*/
public Builder icon(Icon icon) {
this.icon = Objects.requireNonNull(icon, "icon");
return this;
}
/**
* Adds lines to the tab's tooltip.
*
* @param lines the added lines
* @return this builder
* @throws NullPointerException if the line array is null
*/
public Builder tooltip(Text... lines) {
Objects.requireNonNull(lines, "lines");
Collections.addAll(tooltip, lines);
return this;
}
/**
* Adds lines to the tab's tooltip.
*
* @param lines the added lines
* @return this builder
* @throws NullPointerException if the line collection is null
*/
public Builder tooltip(Collection<? extends Text> lines) {
Objects.requireNonNull(lines, "lines");
tooltip.addAll(lines);
return this;
}
/**
* Builds a tab from this builder.
*
* @return the built tab
*/
public Tab build() {
Consumer<TooltipBuilder> tooltip = null;
if (!this.tooltip.isEmpty()) {
//noinspection Convert2Lambda
tooltip = new Consumer<TooltipBuilder>() {
@Environment(EnvType.CLIENT)
@Override
public void accept(TooltipBuilder builder) {
builder.add(WCustomTabPanel.Tab.Builder.this.tooltip.toArray(new Text[0]));
}
};
}
return new Tab(title, icon, widget, tooltip);
}
}
}
private final class WTab extends WWidget {
private final WCustomTabPanel.Tab data;
boolean selected = false;
WTab(WCustomTabPanel.Tab data) {
this.data = data;
}
@Override
public boolean canFocus() {
return true;
}
@Environment(EnvType.CLIENT)
@Override
public InputResult onClick(int x, int y, int button) {
super.onClick(x, y, button);
MinecraftClient.getInstance().getSoundManager().play(PositionedSoundInstance.master(SoundEvents.UI_BUTTON_CLICK, 1.0F));
for (WTab tab : tabWidgets) {
tab.selected = (tab == this);
}
mainPanel.setSelectedCard(data.getWidget());
WCustomTabPanel.this.layout();
return InputResult.PROCESSED;
}
@Environment(EnvType.CLIENT)
@Override
public void onKeyPressed(int ch, int key, int modifiers) {
if (isActivationKey(ch)) {
onClick(0, 0, 0);
}
}
@Environment(EnvType.CLIENT)
@Override
public void paint(MatrixStack matrices, int x, int y, int mouseX, int mouseY) {
TextRenderer renderer = MinecraftClient.getInstance().textRenderer;
Text title = data.getTitle();
Icon icon = data.getIcon();
if (title != null) {
int width = TAB_WIDTH + renderer.getWidth(title);
if (icon == null) width = Math.max(TAB_WIDTH, width - ICON_SIZE);
if (this.width != width) {
setSize(width, this.height);
getParent().layout();
}
}
(selected ? WCustomTabPanel.Painters.SELECTED_TAB : WCustomTabPanel.Painters.UNSELECTED_TAB).paintBackground(matrices, x, y, this);
if (isFocused()) {
(selected ? WCustomTabPanel.Painters.SELECTED_TAB_FOCUS_BORDER : Painters.UNSELECTED_TAB_FOCUS_BORDER).paintBackground(matrices, x, y, this);
}
int iconX = 6;
if (title != null) {
int titleX = (icon != null) ? iconX + ICON_SIZE + 1 : 0;
int titleY = (height - TAB_PADDING - renderer.fontHeight) / 2 + 1;
int width = (icon != null) ? this.width - iconX - ICON_SIZE : this.width;
HorizontalAlignment align = (icon != null) ? HorizontalAlignment.LEFT : HorizontalAlignment.CENTER;
int color;
if (LibGui.isDarkMode()) {
color = WLabel.DEFAULT_DARKMODE_TEXT_COLOR;
} else {
color = selected ? WLabel.DEFAULT_TEXT_COLOR : 0xEEEEEE;
}
ScreenDrawing.drawString(matrices, title.asOrderedText(), align, x + titleX, y + titleY, width, color);
}
if (icon != null) {
icon.paint(matrices, x + iconX, (y + (height - TAB_PADDING - ICON_SIZE) / 2) + 1, ICON_SIZE);
}
}
@Override
public void addTooltip(TooltipBuilder tooltip) {
data.addTooltip(tooltip);
}
}
/**
* Internal background painter instances for tabs.
*/
@Environment(EnvType.CLIENT)
final static class Painters {
static final BackgroundPainter SELECTED_TAB = BackgroundPainter.createLightDarkVariants(
BackgroundPainter.createNinePatch(new Identifier("indrev", "textures/gui/selected_light.png")).setTopPadding(2),
BackgroundPainter.createNinePatch(new Identifier("libgui", "textures/widget/tab/selected_dark.png")).setTopPadding(2)
);
static final BackgroundPainter UNSELECTED_TAB = BackgroundPainter.createLightDarkVariants(
BackgroundPainter.createNinePatch(new Identifier("indrev", "textures/gui/unselected_light.png")),
BackgroundPainter.createNinePatch(new Identifier("libgui", "textures/widget/tab/unselected_dark.png"))
);
static final BackgroundPainter SELECTED_TAB_FOCUS_BORDER = BackgroundPainter.createNinePatch(new Identifier("libgui", "textures/widget/tab/focus.png")).setTopPadding(2);
static final BackgroundPainter UNSELECTED_TAB_FOCUS_BORDER = BackgroundPainter.createNinePatch(new Identifier("libgui", "textures/widget/tab/focus.png"));
}
}
================================================
FILE: src/main/java/me/steven/indrev/mixin/aprilfools/AprilFoolsMixinConfigPlugin.java
================================================
package me.steven.indrev.mixin.aprilfools;
import me.steven.indrev.AprilFools;
import net.fabricmc.api.EnvType;
import net.fabricmc.loader.api.FabricLoader;
import org.objectweb.asm.tree.ClassNode;
import org.spongepowered.asm.mixin.extensibility.IMixinConfigPlugin;
import org.spongepowered.asm.mixin.extensibility.IMixinInfo;
import java.util.ArrayList;
import java.util.List;
import java.util.Set;
public class AprilFoolsMixinConfigPlugin implements IMixinConfigPlugin {
private static final ArrayList<String> mixins = new ArrayList<>();
static {
mixins.add("aprilfools.MixinTranslatableText");
}
@Override
public void onLoad(String mixinPackage) { }
@Override
public String getRefMapperConfig() {
return null;
}
@Override
public boolean shouldApplyMixin(String targetClassName, String mixinClassName) {
return true;
}
@Override
public void acceptTargets(Set<String> myTargets, Set<String> otherTargets) { }
@Override
public List<String> getMixins() {
return FabricLoader.getInstance().getEnvironmentType() == EnvType.CLIENT && AprilFools.isToday() ? mixins : null;
}
@Override
public void preApply(String targetClassName, ClassNode targetClass, String mixinClassName, IMixinInfo mixinInfo) { }
@Override
public void postApply(String targetClassName, ClassNode targetClass, String mixinClassName, IMixinInfo mixinInfo) { }
}
================================================
FILE: src/main/java/me/steven/indrev/mixin/aprilfools/MixinTranslatableText.java
================================================
package me.steven.indrev.mixin.aprilfools;
import me.steven.indrev.IndustrialRevolution;
import net.minecraft.text.TranslatableText;
import org.spongepowered.asm.mixin.Final;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.ModifyVariable;
@Mixin(TranslatableText.class)
public class MixinTranslatableText {
@Shadow @Final private String key;
@ModifyVariable(name = "string", at = @At("STORE"), method = "updateTranslations")
private String owo(String original) {
if (this.key.contains(IndustrialRevolution.MOD_ID)) {
if (!original.contains(".")) {
String[] words = original.split(" ");
for (int i = 0; i < words.length; i++) {
if (words[i].endsWith("ger") || words[i].endsWith("der"))
words[i] = words[i].substring(0, words[i].length() - 2) + "ah";
else if (words[i].endsWith("er") || words[i].endsWith("re"))
words[i] = words[i].substring(0, words[i].length() - 2) + 'y';
else if (words[i].endsWith("xe"))
words[i] = words[i].substring(0, words[i].length() - 2) + "xie";
else if (words[i].endsWith("et"))
words[i] = words[i].substring(0, words[i].length() - 2) + "ie";
words[i] = words[i].replaceFirst("est", "ess"); // Chest -> Chess
words[i] = words[i].replaceFirst("O", "Ow").replaceFirst("o", "ow");
}
return String.join(" ", words);
}
}
return original;
}
}
================================================
FILE: src/main/java/me/steven/indrev/mixin/client/MixinBuiltChunk.java
================================================
package me.steven.indrev.mixin.client;
import me.steven.indrev.blockentities.GlobalStateController;
import net.minecraft.client.MinecraftClient;
import net.minecraft.client.render.chunk.ChunkBuilder;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.ChunkPos;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
@Mixin(ChunkBuilder.BuiltChunk.class)
public abstract class MixinBuiltChunk {
@Shadow public abstract BlockPos getOrigin();
@Inject(method = "rebuild", at = @At("INVOKE"))
private void indrev_removeBuiltChunk(CallbackInfo ci) {
long chunkPos = ChunkPos.toLong(getOrigin().getX() >> 4, getOrigin().getZ() >> 4);
MinecraftClient.getInstance().execute(() -> GlobalStateController.INSTANCE.getChunksToUpdate().remove(chunkPos));
}
}
================================================
FILE: src/main/java/me/steven/indrev/mixin/client/MixinClientPlayerInteractionManager.java
================================================
package me.steven.indrev.mixin.client;
import me.steven.indrev.registry.IRItemRegistry;
import net.minecraft.client.network.ClientPlayerInteractionManager;
import net.minecraft.item.ItemStack;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Redirect;
@Mixin(ClientPlayerInteractionManager.class)
public class MixinClientPlayerInteractionManager {
@Redirect(method = "isCurrentlyBreaking", at = @At(value = "INVOKE", target = "Lnet/minecraft/item/ItemStack;areNbtEqual(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Z"))
private boolean indrev_fixGamerAxe(ItemStack left, ItemStack right) {
if (left.getItem() == IRItemRegistry.INSTANCE.getGAMER_AXE_ITEM() && left.getItem() == right.getItem())
return true;
return ItemStack.areNbtEqual(left, right);
}
}
================================================
FILE: src/main/java/me/steven/indrev/mixin/client/MixinGameRenderer.java
================================================
package me.steven.indrev.mixin.client;
import me.steven.indrev.api.IRPlayerEntityExtension;
import me.steven.indrev.tools.modular.ArmorModule;
import net.minecraft.client.render.GameRenderer;
import net.minecraft.entity.LivingEntity;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
@Mixin(value = GameRenderer.class, priority = 999)
public class MixinGameRenderer {
@Inject(method = "getNightVisionStrength", at = @At("INVOKE"), cancellable = true)
private static void indrev_nightVisionStrength(LivingEntity livingEntity, float f, CallbackInfoReturnable<Float> cir) {
if (livingEntity instanceof IRPlayerEntityExtension && ((IRPlayerEntityExtension) livingEntity).isApplied(ArmorModule.NIGHT_VISION)) {
cir.setReturnValue(1f);
}
}
}
================================================
FILE: src/main/java/me/steven/indrev/mixin/client/MixinItemRenderer.java
================================================
package me.steven.indrev.mixin.client;
import com.mojang.blaze3d.systems.RenderSystem;
import me.steven.indrev.items.armor.IRModularArmorItem;
import net.minecraft.client.font.TextRenderer;
import net.minecraft.client.render.BufferBuilder;
import net.minecraft.client.render.Tessellator;
import net.minecraft.client.render.item.ItemRenderer;
import net.minecraft.item.ItemStack;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
@Mixin(ItemRenderer.class)
public abstract class MixinItemRenderer {
@Shadow protected abstract void renderGuiQuad(BufferBuilder buffer, int x, int y, int width, int height, int red, int green, int blue, int alpha);
@Inject(
method = "renderGuiItemOverlay(Lnet/minecraft/client/font/TextRenderer;Lnet/minecraft/item/ItemStack;IILjava/lang/String;)V",
at = @At(
value = "INVOKE",
target = "Lnet/minecraft/item/ItemStack;isItemBarVisible()Z",
shift = At.Shift.BEFORE
)
)
private void indrev_renderModularArmorFluidTank(TextRenderer renderer, ItemStack stack, int x, int y, String countLabel, CallbackInfo ci) {
if (stack.getItem() instanceof IRModularArmorItem armor && armor.isFluidItemBarVisible(stack)) {
RenderSystem.disableDepthTest();
RenderSystem.disableTexture();
RenderSystem.disableBlend();
Tessellator tessellator = Tessellator.getInstance();
BufferBuilder bufferBuilder = tessellator.getBuffer();
int i = armor.getFluidItemBarStep(stack);
int j = armor.getFluidItemBarColor(stack);
this.renderGuiQuad(bufferBuilder, x + 2, y + 11, 13, 2, 0, 0, 0, 255);
this.renderGuiQuad(bufferBuilder, x + 2, y + 11, i, 1, j >> 16 & 255, j >> 8 & 255, j & 255, 255);
RenderSystem.enableBlend();
RenderSystem.enableTexture();
RenderSystem.enableDepthTest();
}
}
}
================================================
FILE: src/main/java/me/steven/indrev/mixin/client/MixinLivingEntityClient.java
================================================
package me.steven.indrev.mixin.client;
import me.steven.indrev.api.IRPlayerEntityExtension;
import me.steven.indrev.tools.modular.ArmorModule;
import net.minecraft.entity.LivingEntity;
import net.minecraft.entity.effect.StatusEffect;
import net.minecraft.entity.effect.StatusEffects;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
@Mixin(LivingEntity.class)
public abstract class MixinLivingEntityClient {
@Inject(method = "hasStatusEffect", at = @At("INVOKE"), cancellable = true)
private void indrev_nightVision(StatusEffect effect, CallbackInfoReturnable<Boolean> cir) {
if (
effect.equals(StatusEffects.NIGHT_VISION)
&& this instanceof IRPlayerEntityExtension
&& ((IRPlayerEntityExtension) this).isApplied(ArmorModule.NIGHT_VISION)
) {
cir.setReturnValue(true);
}
}
}
================================================
FILE: src/main/java/me/steven/indrev/mixin/client/MixinMinecraftClient.java
================================================
package me.steven.indrev.mixin.client;
import me.steven.indrev.gui.screenhandlers.IRGuiScreenHandler;
import me.steven.indrev.packets.client.GuiPropertySyncPacket;
import net.fabricmc.fabric.api.client.networking.v1.ClientPlayNetworking;
import net.fabricmc.fabric.api.networking.v1.PacketByteBufs;
import net.minecraft.client.MinecraftClient;
import net.minecraft.client.gui.screen.Screen;
import net.minecraft.client.gui.screen.ingame.ScreenHandlerProvider;
import net.minecraft.network.PacketByteBuf;
import net.minecraft.screen.ScreenHandler;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
@Mixin(MinecraftClient.class)
public class MixinMinecraftClient {
@Inject(method = "setScreen", at = @At("RETURN"))
private void indrev_requestProperties(Screen screen, CallbackInfo ci) {
if (screen instanceof ScreenHandlerProvider<?> provider) {
ScreenHandler handler = provider.getScreenHandler();
if (handler instanceof IRGuiScreenHandler) {
PacketByteBuf buf = PacketByteBufs.create();
buf.writeInt(handler.syncId);
ClientPlayNetworking.send(GuiPropertySyncPacket.INSTANCE.getC2S_REQUEST_PROPERTIES(), buf);
}
}
}
}
================================================
FILE: src/main/java/me/steven/indrev/mixin/client/MixinWItemSlot.java
================================================
package me.steven.indrev.mixin.client;
import io.github.cottonmc.cotton.gui.client.BackgroundPainter;
import io.github.cottonmc.cotton.gui.widget.WItemSlot;
import org.jetbrains.annotations.Nullable;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
@Mixin(value = WItemSlot.class, remap = false)
public class MixinWItemSlot {
@Shadow @Nullable
private BackgroundPainter backgroundPainter;
@Inject(method = "addPainters", at = @At("HEAD"), cancellable = true, remap = false)
private void indrev_dontOverridePainters(CallbackInfo ci) {
if (backgroundPainter != null) ci.cancel();
}
}
================================================
FILE: src/main/java/me/steven/indrev/mixin/common/MixinAbstractCookingRecipe.java
================================================
package me.steven.indrev.mixin.common;
import alexiil.mc.lib.attributes.fluid.volume.FluidVolume;
import me.steven.indrev.components.CraftingComponent;
import me.steven.indrev.recipes.machines.IRRecipe;
import me.steven.indrev.recipes.machines.entries.InputEntry;
import me.steven.indrev.recipes.machines.entries.OutputEntry;
import me.steven.indrev.utils.IRFluidTank;
import net.minecraft.item.ItemStack;
import net.minecraft.recipe.AbstractCookingRecipe;
import net.minecraft.recipe.Ingredient;
import net.minecraft.recipe.Recipe;
import net.minecraft.recipe.RecipeType;
import net.minecraft.util.Identifier;
import net.minecraft.util.collection.DefaultedList;
import org.jetbrains.annotations.NotNull;
import org.spongepowered.asm.mixin.Final;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
import java.util.Collections;
import java.util.List;
import java.util.Random;
@Mixin(AbstractCookingRecipe.class)
public abstract class MixinAbstractCookingRecipe implements IRRecipe {
@Shadow @Final protected Identifier id;
@Shadow @Final protected int cookTime;
@Shadow @Final protected ItemStack output;
@Shadow @Final protected Ingredient input;
private InputEntry[] indrev_inputEntries;
private OutputEntry[] indrev_outputEntries;
@Inject(method = "<init>", at = @At("TAIL"))
private void a(RecipeType<?> type, Identifier id, String group, Ingredient input, ItemStack output, float experience, int cookTime, CallbackInfo ci) {
this.indrev_inputEntries = new InputEntry[] { new InputEntry(input, 1) };
this.indrev_outputEntries = new OutputEntry[] { new OutputEntry(output, 1d) };
}
@NotNull
@Override
public Identifier getIdentifier() {
return id;
}
@NotNull
@Override
public InputEntry @NotNull [] getInput() {
return indrev_inputEntries;
}
@NotNull
@Override
public OutputEntry @NotNull [] getOutputs() {
return indrev_outputEntries;
}
@Override
public int getTicks() {
return cookTime;
}
@Override
public boolean matches(@NotNull List<ItemStack> inv, @NotNull List<IRFluidTank> fluidVolume) {
return this.input.test(inv.get(0));
}
@NotNull
@Override
public List<ItemStack> craft(Random random) {
return Collections.singletonList(output.copy());
}
@NotNull
@Override
public Identifier getId() {
return id;
}
@Override
public boolean isIgnoredInRecipeBook() {
return false;
}
@NotNull
@Override
public DefaultedList<Ingredient> getIngredients() {
DefaultedList<Ingredient> defaultedList = DefaultedList.of();
defaultedList.add(this.input);
return defaultedList;
}
@Override
public boolean isEmpty() {
DefaultedList<Ingredient> defaultedList = this.getIngredients();
return defaultedList.isEmpty() || defaultedList.stream().anyMatch((ingredient) -> ingredient.getMatchingStacks().length == 0);
}
@Override
public boolean canStart(@NotNull CraftingComponent<?> component) {
return component.fits(output);
}
}
================================================
FILE: src/main/java/me/steven/indrev/mixin/common/MixinEnchantmentHelper.java
================================================
package me.steven.indrev.mixin.common;
import me.steven.indrev.api.CustomEnchantmentProvider;
import me.steven.indrev.api.IRPlayerEntityExtension;
import me.steven.indrev.tools.modular.ArmorModule;
import net.minecraft.enchantment.Enchantment;
import net.minecraft.enchantment.EnchantmentHelper;
import net.minecraft.entity.EquipmentSlot;
import net.minecraft.entity.LivingEntity;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.item.ItemStack;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
@Mixin(EnchantmentHelper.class)
public class MixinEnchantmentHelper {
@Inject(method = "getLevel", at = @At("HEAD"), cancellable = true)
private static void indrev_customEnchantProvider(Enchantment enchantment, ItemStack stack, CallbackInfoReturnable<Integer> cir) {
if (stack.getItem() instanceof CustomEnchantmentProvider) {
int level = ((CustomEnchantmentProvider) stack.getItem()).getLevel(enchantment, stack);
if (level > -1)
cir.setReturnValue(level);
}
}
@Inject(method = "hasAquaAffinity", at = @At("HEAD"), cancellable = true)
private static void indrev_waterAffinityChest(LivingEntity entity, CallbackInfoReturnable<Boolean> cir) {
//specifically checks for water affinity on chestplate
if (entity instanceof PlayerEntity player
&& ArmorModule.WATER_AFFINITY.getLevel(player.getInventory().getArmorStack(EquipmentSlot.CHEST.getEntitySlotId())) > 0
&& entity instanceof IRPlayerEntityExtension ext
&& ext.isApplied(ArmorModule.WATER_AFFINITY)
)
cir.setReturnValue(true);
}
@Inject(method = "getDepthStrider", at = @At("HEAD"), cancellable = true)
private static void indrev_waterAffinityLegs(LivingEntity entity, CallbackInfoReturnable<Integer> cir) {
//specifically checks for water affinity on leggings
if (entity instanceof PlayerEntity player
&& ArmorModule.WATER_AFFINITY.getLevel(player.getInventory().getArmorStack(EquipmentSlot.LEGS.getEntitySlotId())) > 0
&& entity instanceof IRPlayerEntityExtension ext
&& ext.isApplied(ArmorModule.WATER_AFFINITY)
)
cir.setReturnValue(3);
}
}
================================================
FILE: src/main/java/me/steven/indrev/mixin/common/MixinEntity.java
================================================
package me.steven.indrev.mixin.common;
import me.steven.indrev.api.IREntityExtension;
import me.steven.indrev.api.IRPlayerEntityExtension;
import me.steven.indrev.inventories.IRInventory;
import me.steven.indrev.tools.modular.ArmorModule;
import net.minecraft.entity.Entity;
import net.minecraft.entity.ItemEntity;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;
import org.jetbrains.annotations.Nullable;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
@Mixin(Entity.class)
public abstract class MixinEntity implements IREntityExtension {
@Shadow public World world;
@Shadow public abstract double getX();
@Shadow public abstract double getY();
@Shadow public abstract double getZ();
private IRInventory machineInv = null;
@Inject(method = "setAir", at = @At("INVOKE"), cancellable = true)
private void indrev_breathingModule(CallbackInfo ci) {
if (this instanceof IRPlayerEntityExtension && ((IRPlayerEntityExtension) this).isApplied(ArmorModule.BREATHING)) {
ci.cancel();
}
}
@Inject(method = "getJumpVelocityMultiplier", at = @At(value = "RETURN"), cancellable = true)
private void indrev_jumpBoostModule(CallbackInfoReturnable<Float> cir) {
if (this instanceof IRPlayerEntityExtension && ((IRPlayerEntityExtension) this).isApplied(ArmorModule.JUMP_BOOST)) {
cir.setReturnValue((float) ((IRPlayerEntityExtension) this).getAppliedLevel(ArmorModule.JUMP_BOOST));
}
}
@Inject(method = "dropStack(Lnet/minecraft/item/ItemStack;F)Lnet/minecraft/entity/ItemEntity;", at = @At("HEAD"), cancellable = true)
private void indrev_onDropItem(ItemStack stack, float yOffset, CallbackInfoReturnable<ItemEntity> cir) {
if (!world.isClient && machineInv != null) {
if (!machineInv.output(stack)) {
ItemEntity itemEntity = new ItemEntity(world, getX(), getY() + yOffset, getZ(), stack);
itemEntity.setToDefaultPickupDelay();
this.world.spawnEntity(itemEntity);
}
cir.cancel();
}
}
@Nullable
@Override
public IRInventory getMachineInv() {
return machineInv;
}
@Override
public void setMachineInv(IRInventory machineInv) {
this.machineInv = machineInv;
}
}
================================================
FILE: src/main/java/me/steven/indrev/mixin/common/MixinItemPredicate.java
================================================
package me.steven.indrev.mixin.common;
import me.steven.indrev.api.CustomEnchantmentProvider;
import net.minecraft.item.ItemStack;
import net.minecraft.predicate.item.EnchantmentPredicate;
import net.minecraft.predicate.item.ItemPredicate;
import org.spongepowered.asm.mixin.Final;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.Slice;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
@Mixin(ItemPredicate.class)
public class MixinItemPredicate {
@Shadow @Final private EnchantmentPredicate[] enchantments;
@Inject(
method = "test",
slice = @Slice(
from = @At(value = "INVOKE", target = "Lnet/minecraft/predicate/item/EnchantmentPredicate;test(Ljava/util/Map;)Z")
),
at = @At(value = "RETURN"),
cancellable = true)
private void indrev_customEnchantProvider(ItemStack stack, CallbackInfoReturnable<Boolean> cir) {
if (stack.getItem() instanceof CustomEnchantmentProvider && enchantments.length > 0) {
for (EnchantmentPredicate predicate : enchantments) {
if (predicate.levels != null && predicate.enchantment != null) {
int level = ((CustomEnchantmentProvider) stack.getItem()).getLevel(predicate.enchantment, stack);
if (level > -1 && predicate.levels.test(level)) cir.setReturnValue(true);
}
}
}
}
}
================================================
FILE: src/main/java/me/steven/indrev/mixin/common/MixinItemStack.java
================================================
package me.steven.indrev.mixin.common;
import com.google.common.collect.Multimap;
import me.steven.indrev.api.AttributeModifierProvider;
import me.steven.indrev.items.energy.IREnergyItem;
import net.minecraft.entity.EquipmentSlot;
import net.minecraft.entity.attribute.EntityAttribute;
import net.minecraft.entity.attribute.EntityAttributeModifier;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.server.network.ServerPlayerEntity;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
import java.util.Random;
@Mixin(ItemStack.class)
public abstract class MixinItemStack {
@Shadow public abstract Item getItem();
@Inject(method = "getAttributeModifiers", at = @At("TAIL"), cancellable = true)
private void indrev_modifiableAttributeModifiers(EquipmentSlot equipmentSlot, CallbackInfoReturnable<Multimap<EntityAttribute, EntityAttributeModifier>> cir) {
ItemStack stack = (ItemStack) (Object) this;
if (stack.getItem() instanceof AttributeModifierProvider) {
cir.setReturnValue(((AttributeModifierProvider) stack.getItem()).getAttributeModifiers(stack, equipmentSlot));
}
}
}
================================================
FILE: src/main/java/me/steven/indrev/mixin/common/MixinLivingEntity.java
================================================
package me.steven.indrev.mixin.common;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityType;
import net.minecraft.entity.LivingEntity;
import net.minecraft.world.World;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
@Mixin(LivingEntity.class)
public abstract class MixinLivingEntity extends Entity {
public MixinLivingEntity(EntityType<?> type, World world) {
super(type, world);
}
/*
@Inject(method = "knockDownwards", at = @At("HEAD"), cancellable = true)
private void indrev_waterAffinityDownwards(CallbackInfo ci) {
this.setVelocity(this.getVelocity().add(0.0D, -0.03999999910593033D * 2, 0.0D));
ci.cancel();
}
@Inject(method = "swimUpward", at = @At("HEAD"), cancellable = true)
private void indrev_waterAffinityUpwards(CallbackInfo ci) {
this.setVelocity(this.getVelocity().add(0.0D, 0.03999999910593033D * 2, 0.0D));
ci.cancel();
}*/
}
================================================
FILE: src/main/java/me/steven/indrev/mixin/common/MixinPiglinBrain.java
================================================
package me.steven.indrev.mixin.common;
import me.steven.indrev.api.IRPlayerEntityExtension;
import me.steven.indrev.tools.modular.ArmorModule;
import net.minecraft.entity.LivingEntity;
import net.minecraft.entity.mob.PiglinBrain;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
@Mixin(PiglinBrain.class)
public class MixinPiglinBrain {
@Inject(method = "wearsGoldArmor", at = @At("RETURN"), cancellable = true)
private static void indrev_hasPiglinTrickerModule(LivingEntity entity, CallbackInfoReturnable<Boolean> cir) {
if (entity instanceof IRPlayerEntityExtension && ((IRPlayerEntityExtension) entity).isApplied(ArmorModule.PIGLIN_TRICKER)) {
cir.setReturnValue(true);
}
}
}
================================================
FILE: src/main/java/me/steven/indrev/mixin/common/MixinPlayerEntity.java
================================================
package me.steven.indrev.mixin.common;
import it.unimi.dsi.fastutil.objects.Object2IntMap;
import it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap;
import me.steven.indrev.api.IRPlayerEntityExtension;
import me.steven.indrev.items.energy.IREnergyItem;
import me.steven.indrev.items.energy.IRGamerAxeItem;
import me.steven.indrev.tools.modular.ArmorModule;
import me.steven.indrev.utils.EnergyutilsKt;
import net.minecraft.block.BlockState;
import net.minecraft.entity.EntityType;
import net.minecraft.entity.LivingEntity;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.entity.player.PlayerInventory;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NbtCompound;
import net.minecraft.world.World;
import org.jetbrains.annotations.NotNull;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;
import team.reborn.energy.api.EnergyStorage;
import java.util.Iterator;
import java.util.Map;
@Mixin(PlayerEntity.class)
public abstract class MixinPlayerEntity extends LivingEntity implements IRPlayerEntityExtension {
private boolean indrev_regenerating = false;
private double indrev_shield = 0.0;
private final Object2IntMap<ArmorModule> appliedEffects = new Object2IntOpenHashMap<>();
protected MixinPlayerEntity(EntityType<? extends LivingEntity> entityType, World world) {
super(entityType, world);
}
@Inject(method = "getBlockBreakingSpeed", at = @At("HEAD"), cancellable = true)
private void indrev_checkEnergyTool(BlockState block, CallbackInfoReturnable<Float> cir) {
PlayerEntity player = (PlayerEntity) (Object) this;
PlayerInventory inventory = player.getInventory();
ItemStack itemStack = inventory.main.get(inventory.selectedSlot);
Item item = itemStack.getItem();
EnergyStorage itemIo = EnergyutilsKt.energyOf(itemStack);
if (itemIo != null && item instanceof IREnergyItem) {
long amount = itemIo.getAmount();
if (item instanceof IRGamerAxeItem) {
NbtCompound tag = itemStack.getOrCreateNbt();
if (tag.contains("Active") && !tag.getBoolean("Active")) {
cir.setReturnValue(0.2F);
return;
}
}
if (amount < 1) cir.setReturnValue(0.2F);
}
}
@Inject(method = "writeCustomDataToNbt", at = @At("RETURN"))
private void indrev_writeShieldToPlayerTag(NbtCompound tag, CallbackInfo ci) {
tag.putDouble("indrev:shield", indrev_shield);
}
@Inject(method = "readCustomDataFromNbt", at = @At("RETURN"))
private void indrev_readShieldToPlayerTag(NbtCompound tag, CallbackInfo ci) {
indrev_shield = tag.getDouble("indrev:shield");
}
@Override
public double getShieldDurability() {
return indrev_shield;
}
@Override
public void setShieldDurability(double shieldDurability) {
this.indrev_shield = shieldDurability;
}
@Override
public double getMaxShieldDurability() {
Iterator<ItemStack> iterator = getArmorItems().iterator();
double shield = 0.0;
while (iterator.hasNext()) {
ItemStack next = iterator.next();
shield += ArmorModule.PROTECTION.getLevel(next) * 25;
}
return shield;
}
@Override
public @NotNull Map<ArmorModule, Integer> getAppliedModules() {
return appliedEffects;
}
@Override
public boolean isApplied(@NotNull ArmorModule module) {
return appliedEffects.containsKey(module);
}
@Override
public void applyModule(@NotNull ArmorModule module, int level) {
appliedEffects.put(module, level);
}
@Override
public int getAppliedLevel(@NotNull ArmorModule module) {
return appliedEffects.getOrDefault(module, 0);
}
@Override
public void setRegenerating(boolean isRegenerating) {
this.indrev_regenerating = isRegenerating;
}
@Override
public boolean isRegenerating() {
return indrev_regenerating;
}
}
================================================
FILE: src/main/java/me/steven/indrev/mixin/common/MixinPlayerInventory.java
================================================
package me.steven.indrev.mixin.common;
import me.steven.indrev.items.armor.JetpackHandler;
import net.minecraft.entity.EquipmentSlot;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.entity.player.PlayerInventory;
import net.minecraft.item.ItemStack;
import org.spongepowered.asm.mixin.Final;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
@Mixin(PlayerInventory.class)
public abstract class MixinPlayerInventory {
@Shadow public abstract ItemStack getArmorStack(int slot);
@Shadow @Final public PlayerEntity player;
@Inject(method = "updateItems", at = @At("TAIL"))
private void indrev_tickJetpack(CallbackInfo ci) {
ItemStack armorStack = getArmorStack(EquipmentSlot.CHEST.getEntitySlotId());
if (armorStack.getItem() instanceof JetpackHandler handler && handler.isUsable(armorStack)) {
handler.tickJetpack(armorStack, player);
}
}
}
================================================
FILE: src/main/java/me/steven/indrev/mixin/common/MixinServerPlayerEntity.java
================================================
package me.steven.indrev.mixin.common;
import com.mojang.authlib.GameProfile;
import io.netty.buffer.Unpooled;
import it.unimi.dsi.fastutil.objects.Object2IntMap;
import it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap;
import me.steven.indrev.api.IRServerPlayerEntityExtension;
import me.steven.indrev.items.armor.IRModularArmorItem;
import me.steven.indrev.items.energy.IRPortableChargerItem;
import me.steven.indrev.packets.client.SyncAppliedModulesPacket;
import me.steven.indrev.tools.modular.ArmorModule;
import me.steven.indrev.utils.AccessorextensionsKt;
import me.steven.indrev.utils.EnergyutilsKt;
import me.steven.indrev.utils.HelperextensionsKt;
import net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking;
import net.minecraft.entity.ExperienceOrbEntity;
import net.minecraft.entity.ItemEntity;
import net.minecraft.entity.damage.DamageSource;
import net.minecraft.entity.player.HungerManager;
import net.minecraft.entity.player.PlayerEntity;
import net.minecraft.entity.player.PlayerInventory;
import net.minecraft.item.FoodComponent;
import net.minecraft.item.ItemStack;
import net.minecraft.network.PacketByteBuf;
import net.minecraft.server.network.ServerPlayerEntity;
import net.minecraft.server.world.ServerWorld;
import net.minecraft.sound.SoundCategory;
import net.minecraft.sound.SoundEvent;
import net.minecraft.sound.SoundEvents;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.math.Box;
import net.minecraft.util.math.Vec3d;
import net.minecraft.util.math.Vec3i;
import net.minecraft.world.World;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.ModifyVariable;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;
import team.reborn.energy.api.EnergyStorage;
import java.util.List;
import java.util.Map;
@Mixin(ServerPlayerEntity.class)
public abstract class MixinServerPlayerEntity extends PlayerEntity implements IRServerPlayerEntityExtension {
@Shadow public abstract boolean isInvulnerableTo(DamageSource damageSource);
@Shadow public abstract void playSound(SoundEvent event, SoundCategory category, float volume, float pitch);
private int ticks = 0;
private int lastDamageTick = 0;
private float lastDmg = 0f;
private double lastShield = 0.0;
private final Object2IntMap<ArmorModule> oldAppliedModules = new Object2IntOpenHashMap<>();
public MixinServerPlayerEntity(World world, BlockPos pos, float yaw, GameProfile profile) {
super(world, pos, yaw, profile);
}
@Inject(method = "tick", at = @At("TAIL"))
private void indrev_applyEffects(CallbackInfo ci) {
ticks++;
if (ticks % 15 == 0) {
applyArmorEffects();
}
indrev_tickMagnet();
setShieldDurability(Math.min(getShieldDurability(), getMaxShieldDurability()));
}
@ModifyVariable(method = "damage(Lnet/minecraft/entity/damage/DamageSource;F)Z", at = @At("HEAD"), argsOnly = true)
private float indrev_absorbDamage(float amount, DamageSource source) {
final float initial = amount;
if (isInvulnerableTo(source)) return amount;
if (lastDamageTick + 10 > ticks) {
if (amount <= lastDmg)
return 0f;
amount = amount - lastDmg;
}
lastDamageTick = ticks;
lastDmg = initial;
if (shouldApplyToShield(source)) {
float leftover = (float) applyDamageToShield(amount);
if (amount > leftover)
world.playSoundFromEntity(null, this, SoundEvents.BLOCK_CHAIN_BREAK, SoundCategory.PLAYERS, 1f, 0.0001f);
return leftover;
} else
return amount;
}
@Inject(method = "worldChanged", at = @At("TAIL"))
private void indrev_syncOnDimChange(ServerWorld origin, CallbackInfo ci) {
sync();
AccessorextensionsKt.getFluidNetworkState(origin).onDimChange(this);
AccessorextensionsKt.getItemNetworkState(origin).onDimChange(this);
}
private boolean shouldApplyToShield(DamageSource source) {
if (source.equals(DamageSource.FALL)) return isApplied(ArmorModule.FEATHER_FALLING);
else if (source.isFire()) return isApplied(ArmorModule.FIRE_RESISTANCE);
else return !source.equals(DamageSource.STARVE) && !source.equals(DamageSource.DROWN);
}
private void applyArmorEffects() {
ServerPlayerEntity player = (ServerPlayerEntity) (Object) this;
PlayerInventory inventory = player.getInventory();
getAppliedModules().clear();
for (int i = 0; i < inventory.armor.size(); i++) {
int cSlot = 36+i;
ItemStack itemStack = inventory.getStack(cSlot);
if (itemStack.getItem() instanceof IRModularArmorItem) {
List<ArmorModule> modules = ((IRModularArmorItem) itemStack.getItem()).getInstalled(itemStack);
for (ArmorModule module : modules) {
int level = module.getLevel(itemStack);
if (level <= 0) continue;
switch (module) {
case SPEED:
case BREATHING:
case JUMP_BOOST:
case NIGHT_VISION:
case FIRE_RESISTANCE:
case PIGLIN_TRICKER:
case FEATHER_FALLING:
case WATER_AFFINITY:
if (EnergyutilsKt.extract(inventory, cSlot, 20))
applyModule(module, level);
break;
case AUTO_FEEDER:
HungerManager hunger = player.getHungerManager();
if (hunger.isNotFull()) {
for (int slot = 0; slot <= inventory.size(); slot++) {
ItemStack stack = inventory.getStack(slot);
FoodComponent food = stack.getItem().getFoodComponent();
if (food != null && !food.isAlwaysEdible() && !HelperextensionsKt.hasNegativeEffects(food) && food.getHunger() <= 20 - hunger.getFoodLevel() && EnergyutilsKt.extract(inventory, cSlot, 30)) {
stack.finishUsing(world, player);
player.eatFood(world, stack);
}
if (!hungerManager.isNotFull()) break;
}
}
break;
case CHARGER:
IRPortableChargerItem.Companion.chargeItemsInInv(cSlot, player.getInventory());
break;
case SOLAR_PANEL:
if (world.isDay() && world.isSkyVisible(player.getBlockPos().up(2))) {
for (int x = 0; x < 4; x++) {
EnergyutilsKt.insert(inventory, cSlot - x, 75L * level);
}
}
break;
case PROTECTION:
if (ticks - 120 > lastDamageTick && getShieldDurability() < getMaxShieldDurability() && EnergyutilsKt.extract(inventory, cSlot, 30)) {
regenerateShield();
}
break;
default:
break;
}
}
}
}
}
private void indrev_tickMagnet() {
ServerPlayerEntity player = (ServerPlayerEntity) (Object) this;
PlayerInventory inventory = player.getInventory();
for (ItemStack itemStack : inventory.armor) {
if (itemStack.getItem() instanceof IRModularArmorItem) {
int level = ArmorModule.MAGNET.getLevel(itemStack);
if (level > 0) {
Vec3i offset = new Vec3i(8, 8, 8);
Box area = new Box(getBlockPos().subtract(offset), getBlockPos().add(offset));
Vec3d blockCenter = HelperextensionsKt.toVec3d(getBlockPos()).add(0.5, 0.5, 0.5);
world.getOtherEntities(this, area, (entity) -> entity instanceof ItemEntity || entity instanceof ExperienceOrbEntity).forEach(entity -> {
if ((entity instanceof ItemEntity itemEntity && !itemEntity.cannotPickup())
|| (entity instanceof ExperienceOrbEntity xpEntity && xpEntity.age > 40)) {
Vec3d v = entity.getPos().relativize(blockCenter).normalize().multiply(0.2);
entity.addVelocity(v.x, v.y, v.z);
//applyModule(ArmorModule.MAGNET, 1);
}
});
return;
}
}
}
//getAppliedModules().remove(ArmorModule.MAGNET);
}
private void regenerateShield() {
setShieldDurability(Math.min(getShieldDurability() + 0.5, getMaxShieldDurability()));
}
private double applyDamageToShield(double damage) {
double absorbed = Math.min(damage, getShieldDurability());
setShieldDurability(getShieldDurability() - absorbed);
return damage - absorbed;
}
@Override
public boolean shouldSync() {
return !oldAppliedModules.equals(getAppliedModules()) || lastShield != getShieldDurability();
}
@Override
public void sync() {
lastShield = getShieldDurability();
oldAppliedModules.clear();
oldAppliedModules.putAll(getAppliedModules());
PacketByteBuf buf = new PacketByteBuf(Unpooled.buffer());
Map<ArmorModule, Integer> appliedModules = getAppliedModules();
buf.writeInt(appliedModules.size());
appliedModules.forEach((module, level) -> {
buf.writeInt(module.ordinal());
buf.writeInt(level);
});
buf.writeDouble(getShieldDurability());
buf.writeBoolean(ticks - 120 > lastDamageTick);
ServerPlayNetworking.send((ServerPlayerEntity) (Object) this, SyncAppliedModulesPacket.INSTANCE.getSYNC_MODULE_PACKET(), buf);
}
@Override
public boolean isRegenerating() {
return ticks - 120 > lastDamageTick;
}
}
================================================
FILE: src/main/java/me/steven/indrev/mixin/common/MixinServerWorld.java
================================================
package me.steven.indrev.mixin.common;
import it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap;
import me.steven.indrev.api.ServerWorldExtension;
import me.steven.indrev.networks.Network;
import me.steven.indrev.networks.NetworkState;
import me.steven.indrev.networks.ServoNetworkState;
import me.steven.indrev.networks.energy.EnergyNetwork;
import me.steven.indrev.networks.energy.EnergyNetworkState;
import me.steven.indrev.networks.fluid.FluidNetworkState;
import me.steven.indrev.networks.item.ItemNetworkState;
import net.fabricmc.fabric.api.lookup.v1.block.BlockApiCache;
import net.minecraft.server.world.ServerWorld;
import net.minecraft.util.math.Direction;
import net.minecraft.world.PersistentStateManager;
import org.jetbrains.annotations.NotNull;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Shadow;
import team.reborn.energy.api.EnergyStorage;
@Mixin(ServerWorld.class)
public abstract class MixinServerWorld implements ServerWorldExtension {
private final Long2ObjectOpenHashMap<BlockApiCache<EnergyStorage, Direction>> indrev_energyIoCache = new Long2ObjectOpenHashMap<>();
private ItemNetworkState indrev_itemNetworkState = null;
private FluidNetworkState indrev_fluidNetworkState = null;
private EnergyNetworkState indrev_energyNetworkState = null;
@Shadow
public abstract PersistentStateManager getPersistentStateManager();
@NotNull
@Override
public Long2ObjectOpenHashMap<BlockApiCache<EnergyStorage, Direction>> indrev_getEnergyCache() {
return indrev_energyIoCache;
}
@NotNull
@Override
public EnergyNetworkState indrev_getEnergyNetworkState() {
ServerWorld world = (ServerWorld) (Object) this;
if (indrev_energyNetworkState == null) {
indrev_energyNetworkState = getPersistentStateManager()
.getOrCreate(
nbt -> EnergyNetworkState.Companion.readNbt(nbt, () -> new EnergyNetworkState(world)),
() -> new EnergyNetworkState(world),
Network.Type.Companion.getENERGY().getKey());
}
return indrev_energyNetworkState;
}
@NotNull
@Override
public FluidNetworkState indrev_getFluidNetworkState() {
ServerWorld world = (ServerWorld) (Object) this;
if (indrev_fluidNetworkState == null) {
indrev_fluidNetworkState = getPersistentStateManager()
.getOrCreate(
nbt -> ServoNetworkState.Companion.readNbt(nbt, () -> new FluidNetworkState(world)),
() -> new FluidNetworkState(world),
Network.Type.Companion.getFLUID().getKey());
}
return indrev_fluidNetworkState;
}
@NotNull
@Override
public ItemNetworkState indrev_getItemNetworkState() {
ServerWorld world = (ServerWorld) (Object) this;
if (indrev_itemNetworkState == null) {
indrev_itemNetworkState = getPersistentStateManager()
.getOrCreate(
nbt -> ItemNetworkState.Companion.readNbt(nbt, () -> new ItemNetworkState(world)),
() -> new ItemNetworkState(world),
Network.Type.Companion.getITEM().getKey());
}
return indrev_itemNetworkState;
}
}
================================================
FILE: src/main/kotlin/me/steven/indrev/IndustrialRevolution.kt
================================================
package me.steven.indrev
import dev.cafeteria.fakeplayerapi.server.FakePlayerBuilder
import dev.cafeteria.fakeplayerapi.server.FakeServerPlayer
import me.steven.indrev.api.IRServerPlayerEntityExtension
import me.steven.indrev.api.machines.Tier
import me.steven.indrev.config.IRConfig
import me.steven.indrev.datagen.DataGeneratorManager
import me.steven.indrev.events.common.IRLootTableCallback
import me.steven.indrev.gui.screenhandlers.COAL_GENERATOR_HANDLER
import me.steven.indrev.gui.screenhandlers.IRGuiScreenHandler
import me.steven.indrev.networks.NetworkEvents
import me.steven.indrev.packets.PacketRegistry
import me.steven.indrev.packets.client.SyncConfigPacket
import me.steven.indrev.recipes.SelfRemainderRecipe
import me.steven.indrev.recipes.machines.*
import me.steven.indrev.registry.*
import me.steven.indrev.utils.identifier
import net.fabricmc.api.ModInitializer
import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientLifecycleEvents
import net.fabricmc.fabric.api.client.itemgroup.FabricItemGroupBuilder
import net.fabricmc.fabric.api.event.lifecycle.v1.ServerBlockEntityEvents
import net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents
import net.fabricmc.fabric.api.event.lifecycle.v1.ServerTickEvents
import net.fabricmc.fabric.api.loot.v1.event.LootTableLoadingCallback
import net.fabricmc.fabric.api.networking.v1.ServerPlayConnectionEvents
import net.fabricmc.fabric.api.particle.v1.FabricParticleTypes
import net.fabricmc.fabric.impl.datagen.FabricDataGenHelper
import net.fabricmc.loader.api.FabricLoader
import net.minecraft.item.Item
import net.minecraft.item.ItemGroup
import net.minecraft.item.ItemStack
import net.minecraft.sound.SoundCategory
import net.minecraft.sound.SoundEvent
import net.minecraft.tag.TagKey
import net.minecraft.util.Identifier
import net.minecraft.util.registry.Registry
import org.apache.logging.log4j.LogManager
import org.apache.logging.log4j.Logger
object IndustrialRevolution : ModInitializer {
override fun onInitialize() {
//load the screenhandlers.kt class
COAL_GENERATOR_HANDLER
IRConfig
IRItemRegistry.registerAll()
IRBlockRegistry.registerAll()
IRFluidRegistry.registerAll()
Registry.register(Registry.SOUND_EVENT, LASER_SOUND_ID, LASER_SOUND_EVENT)
Registry.register(Registry.PARTICLE_TYPE, identifier("laser_particle"), LASER_PARTICLE)
WorldGeneration.init()
WorldGeneration.addFeatures()
LootTableLoadingCallback.EVENT.register(IRLootTableCallback)
MachineRegistry
Registry.register(Registry.RECIPE_SERIALIZER, PulverizerRecipe.IDENTIFIER, PulverizerRecipe.SERIALIZER)
Registry.register(Registry.RECIPE_TYPE, PulverizerRecipe.IDENTIFIER, PulverizerRecipe.TYPE)
Registry.register(Registry.RECIPE_SERIALIZER, CompressorRecipe.IDENTIFIER, CompressorRecipe.SERIALIZER)
Registry.register(Registry.RECIPE_TYPE, CompressorRecipe.IDENTIFIER, CompressorRecipe.TYPE)
Registry.register(Registry.RECIPE_SERIALIZER, InfuserRecipe.IDENTIFIER, InfuserRecipe.SERIALIZER)
Registry.register(Registry.RECIPE_TYPE, InfuserRecipe.IDENTIFIER, InfuserRecipe.TYPE)
Registry.register(Registry.RECIPE_SERIALIZER, FluidInfuserRecipe.IDENTIFIER, FluidInfuserRecipe.SERIALIZER)
Registry.register(Registry.RECIPE_TYPE, FluidInfuserRecipe.IDENTIFIER, FluidInfuserRecipe.TYPE)
Registry.register(Registry.RECIPE_SERIALIZER, RecyclerRecipe.IDENTIFIER, RecyclerRecipe.SERIALIZER)
Registry.register(Registry.RECIPE_TYPE, RecyclerRecipe.IDENTIFIER, RecyclerRecipe.TYPE)
Registry.register(Registry.RECIPE_SERIALIZER, SmelterRecipe.IDENTIFIER, SmelterRecipe.SERIALIZER)
Registry.register(Registry.RECIPE_TYPE, SmelterRecipe.IDENTIFIER, SmelterRecipe.TYPE)
Registry.register(Registry.RECIPE_SERIALIZER, CondenserRecipe.IDENTIFIER, CondenserRecipe.SERIALIZER)
Registry.register(Registry.RECIPE_TYPE, CondenserRecipe.IDENTIFIER, CondenserRecipe.TYPE)
Registry.register(Registry.RECIPE_SERIALIZER, DistillerRecipe.IDENTIFIER, DistillerRecipe.SERIALIZER)
Registry.register(Registry.RECIPE_TYPE, DistillerRecipe.IDENTIFIER, DistillerRecipe.TYPE)
Registry.register(Registry.RECIPE_SERIALIZER, SawmillRecipe.IDENTIFIER, SawmillRecipe.SERIALIZER)
Registry.register(Registry.RECIPE_TYPE, SawmillRecipe.IDENTIFIER, SawmillRecipe.TYPE)
Registry.register(Registry.RECIPE_SERIALIZER, ModuleRecipe.IDENTIFIER, ModuleRecipe.SERIALIZER)
Registry.register(Registry.RECIPE_TYPE, ModuleRecipe.IDENTIFIER, ModuleRecipe.TYPE)
Registry.register(Registry.RECIPE_SERIALIZER, LaserRecipe.IDENTIFIER, LaserRecipe.SERIALIZER)
Registry.register(Registry.RECIPE_TYPE, LaserRecipe.IDENTIFIER, LaserRecipe.TYPE)
Registry.register(Registry.RECIPE_SERIALIZER, ElectrolysisRecipe.IDENTIFIER, ElectrolysisRecipe.SERIALIZER)
Registry.register(Registry.RECIPE_TYPE, ElectrolysisRecipe.IDENTIFIER, ElectrolysisRecipe.TYPE)
Registry.register(Registry.RECIPE_SERIALIZER, SelfRemainderRecipe.IDENTIFIER, SelfRemainderRecipe.SERIALIZER)
PacketRegistry.registerServer()
ServerTickEvents.END_WORLD_TICK.register(NetworkEvents)
ServerBlockEntityEvents.BLOCK_ENTITY_LOAD.register(NetworkEvents)
ServerLifecycleEvents.SERVER_STOPPING.register(NetworkEvents)
ServerPlayConnectionEvents.JOIN.register { handler, _, _ ->
val player = handler.player
SyncConfigPacket.sendConfig(player)
if (player is IRServerPlayerEntityExtension) {
(player as IRServerPlayerEntityExtension).sync()
}
}
ServerTickEvents.START_SERVER_TICK.register { server ->
server.playerManager.playerList.forEach { player ->
if (player is IRServerPlayerEntityExtension && player.shouldSync()) {
player.sync()
}
}
}
ServerTickEvents.END_SERVER_TICK.register { server ->
server.playerManager.playerList.forEach { player ->
val currentScreenHandler = player.currentScreenHandler as? IRGuiScreenHandler ?: return@forEach
currentScreenHandler.syncProperties()
}
}
ServerLifecycleEvents.END_DATA_PACK_RELOAD.register { s, _, _ ->
s.recipeManager.recipes.keys.filterIsInstance<IRRecipeType<*>>().forEach { it.clearCache() }
}
if (FabricLoader.getInstance().getLaunchArguments(true).contains("-dataGen")) {
FabricDataGenHelper.run()
ClientLifecycleEvents.CLIENT_STARTED.register(ClientLifecycleEvents.ClientStarted {
DataGeneratorManager("indrev").generate()
})
}
LOGGER.info("Industrial Revolution has initialized.")
}
val LOGGER: Logger = LogManager.getLogger("Industrial Revolution")
const val MOD_ID = "indrev"
val MOD_GROUP: ItemGroup =
FabricItemGroupBuilder.build(identifier("indrev_group")) { ItemStack { MachineRegistry.PULVERIZER_REGISTRY.block(Tier.MK4).asItem() } }
val COOLERS_TAG: TagKey<Item> = TagKey.of(Registry.ITEM_KEY, identifier("coolers"))
val WRENCH_TAG: TagKey<Item> = TagKey.of(Registry.ITEM_KEY, Identifier("c:wrenches"))
val SCREWDRIVER_TAG: TagKey<Item> = TagKey.of(Registry.ITEM_KEY, Identifier("c:screwdrivers"))
val NIKOLITE_ORES: TagKey<Item> = TagKey.of(Registry.ITEM_KEY, Identifier("c:nikolite_ores"))
val TIN_ORES: TagKey<Item> = TagKey.of(Registry.ITEM_KEY, Identifier("c:tin_ores"))
val LEAD_ORES: TagKey<Item> = TagKey.of(Registry.ITEM_KEY, Identifier("c:lead_ores"))
val SILVER_ORES: TagKey<Item> = TagKey.of(Registry.ITEM_KEY, Identifier("c:silver_ores"))
val TUNGSTEN_ORES: TagKey<Item> = TagKey.of(Registry.ITEM_KEY, Identifier("c:tungsten_ores"))
val ANCIENT_DEBRIS_ORES: TagKey<Item> = TagKey.of(Registry.ITEM_KEY, Identifier("c:ancient_debris_ores"))
val LASER_SOUND_ID = identifier("laser")
val LASER_SOUND_EVENT = SoundEvent(LASER_SOUND_ID)
val LASER_PARTICLE = FabricParticleTypes.simple()
val FAKE_PLAYER_BUILDER = FakePlayerBuilder(identifier("default_fake_player")) { builder, server, world, profile ->
object : FakeServerPlayer(builder, server, world, profile) {
override fun isCreative(): Boolean = false
override fun isSpectator(): Boolean = false
override fun playSound(sound: SoundEvent?, volume: Float, pitch: Float) {}
override fun playSound(event: SoundEvent?, category: SoundCategory?, volume: Float, pitch: Float) {}
}
}
}
================================================
FILE: src/main/kotlin/me/steven/indrev/IndustrialRevolutionClient.kt
================================================
package me.steven.indrev
import it.unimi.dsi.fastutil.objects.Object2ObjectOpenHashMap
import me.steven.indrev.api.OreDataCards
import me.steven.indrev.blockentities.GlobalStateController
import me.steven.indrev.blockentities.crafters.*
import me.steven.indrev.blockentities.miningrig.DrillBlockEntityRenderer
import me.steven.indrev.blockentities.farms.*
import me.steven.indrev.blockentities.generators.HeatGeneratorBlockEntityRenderer
import me.steven.indrev.blockentities.generators.SteamTurbineBlockEntity
import me.steven.indrev.blockentities.laser.CapsuleBlockEntityRenderer
import me.steven.indrev.blockentities.laser.LaserBlockEntityRenderer
import me.steven.indrev.blockentities.miningrig.MiningRigBlockEntityRenderer
import me.steven.indrev.blockentities.modularworkbench.ModularWorkbenchBlockEntityRenderer
import me.steven.indrev.blockentities.solarpowerplant.HeliostatBlockEntityRenderer
import me.steven.indrev.blockentities.storage.ChargePadBlockEntityRenderer
import me.steven.indrev.blockentities.storage.LazuliFluxContainerBlockEntityRenderer
import me.steven.indrev.blockentities.storage.TankBlockEntityRenderer
import me.steven.indrev.components.multiblock.MultiblockBlockEntityRenderer
import me.steven.indrev.config.IRConfig
import me.steven.indrev.events.client.*
import me.steven.indrev.fluids.FluidType
import me.steven.indrev.gui.IRInventoryScreen
import me.steven.indrev.gui.screenhandlers.*
import me.steven.indrev.gui.screenhandlers.pipes.PipeFilterScreen
import me.steven.indrev.networks.Network
import me.steven.indrev.networks.client.ClientNetworkState
import me.steven.indrev.packets.PacketRegistry
import me.steven.indrev.registry.*
import me.steven.indrev.events.client.IRWorldRenderer
import me.steven.indrev.utils.identifier
import net.fabricmc.api.ClientModInitializer
import net.fabricmc.fabric.api.`object`.builder.v1.client.model.FabricModelPredicateProviderRegistry
import net.fabricmc.fabric.api.blockrenderlayer.v1.BlockRenderLayerMap
import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents
import net.fabricmc.fabric.api.client.item.v1.ItemTooltipCallback
import net.fabricmc.fabric.api.client.keybinding.v1.KeyBindingHelper
import net.fabricmc.fabric.api.client.model.ModelLoadingRegistry
import net.fabricmc.fabric.api.client.networking.v1.ClientPlayConnectionEvents
import net.fabricmc.fabric.api.client.particle.v1.ParticleFactoryRegistry
import net.fabricmc.fabric.api.client.rendering.v1.BlockEntityRendererRegistry
import net.fabricmc.fabric.api.client.rendering.v1.HudRenderCallback
import net.fabricmc.fabric.api.client.rendering.v1.LivingEntityFeatureRendererRegistrationCallback
import net.fabricmc.fabric.api.client.rendering.v1.TooltipComponentCallback
import net.fabricmc.fabric.api.client.rendering.v1.WorldRenderEvents
import net.fabricmc.fabric.api.client.screenhandler.v1.ScreenRegistry
import net.fabricmc.fabric.api.event.client.ClientSpriteRegistryCallback
import net.minecraft.client.option.KeyBinding
import net.minecraft.client.particle.FlameParticle
import net.minecraft.client.render.RenderLayer
import net.minecraft.client.util.InputUtil
import net.minecraft.item.ElytraItem
import net.minecraft.screen.PlayerScreenHandler
import org.lwjgl.glfw.GLFW
@Suppress("UNCHECKED_CAST")
object IndustrialRevolutionClient : ClientModInitializer {
override fun onInitializeClient() {
FluidType.WATER.registerReloadListener()
FluidType.LAVA.registerReloadListener()
FluidType.GAS.registerReloadListener()
arrayOf(
IRFluidRegistry.COOLANT_STILL,
IRFluidRegistry.SULFURIC_ACID_STILL,
IRFluidRegistry.TOXIC_MUD_STILL,
IRFluidRegistry.STEAM_STILL
).forEach { it.registerRender(FluidType.WATER) }
arrayOf(
IRFluidRegistry.MOLTEN_NETHERITE_STILL,
IRFluidRegistry.MOLTEN_IRON_STILL,
IRFluidRegistry.MOLTEN_GOLD_STILL,
IRFluidRegistry.MOLTEN_COPPER_STILL,
IRFluidRegistry.MOLTEN_TIN_STILL,
IRFluidRegistry.MOLTEN_LEAD_STILL,
IRFluidRegistry.MOLTEN_SILVER_STILL
).forEach { it.registerRender(FluidType.LAVA) }
arrayOf(
IRFluidRegistry.HYDROGEN_STILL,
IRFluidRegistry.OXYGEN_STILL,
IRFluidRegistry.METHANE_STILL,
).forEach { it.registerRender(FluidType.GAS) }
arrayOf(
COAL_GENERATOR_HANDLER,
SOLAR_GENERATOR_HANDLER,
BIOMASS_GENERATOR_HANDLER,
HEAT_GENERATOR_HANDLER,
GAS_BURNING_GENERATOR_HANDLER,
BATTERY_HANDLER,
ELECTRIC_FURNACE_HANDLER,
PULVERIZER_HANDLER,
COMPRESSOR_HANDLER,
SOLID_INFUSER_HANDLER,
RECYCLER_HANDLER,
CHOPPER_HANDLER,
RANCHER_HANDLER,
MINING_RIG_HANDLER,
MODULAR_WORKBENCH_HANDLER,
FISHER_HANDLER,
SCREWDRIVER_HANDLER,
SMELTER_HANDLER,
CONDENSER_HANDLER,
FLUID_INFUSER_HANDLER,
FARMER_HANDLER,
SLAUGHTER_HANDLER,
SAWMILL_HANDLER,
ELECTRIC_FURNACE_FACTORY_HANDLER,
PULVERIZER_FACTORY_HANDLER,
COMPRESSOR_FACTORY_HANDLER,
SOLID_INFUSER_FACTORY_HANDLER,
CABINET_HANDLER,
DRILL_HANDLER,
LASER_HANDLER,
ELECTROLYTIC_SEPARATOR_HANDLER,
STEAM_TURBINE_HANDLER,
SOLAR_POWER_PLANT_TOWER_HANDLER,
DATA_CARD_WRITER_HANDLER,
PUMP_HANDLER
).forEach { handler ->
ScreenRegistry.register(handler) { controller, inv, _ -> IRInventoryScreen(controller, inv.player) }
}
ScreenRegistry.register(PIPE_FILTER_HANDLER) { controller, inv, _ -> PipeFilterScreen(controller, inv.player) }
MachineRegistry.CHOPPER_REGISTRY.registerBlockEntityRenderer(::ChopperBlockEntityRenderer)
MachineRegistry.RANCHER_REGISTRY.registerBlockEntityRenderer(::AOEMachineBlockEntityRenderer)
MachineRegistry.FARMER_REGISTRY.registerBlockEntityRenderer(::AOEMachineBlockEntityRenderer)
MachineRegistry.SLAUGHTER_REGISTRY.registerBlockEntityRenderer(::AOEMachineBlockEntityRenderer)
MachineRegistry.MODULAR_WORKBENCH_REGISTRY.registerBlockEntityRenderer(::ModularWorkbenchBlockEntityRenderer)
MachineRegistry.CHARGE_PAD_REGISTRY.registerBlockEntityRenderer(::ChargePadBlockEntityRenderer)
MachineRegistry.CONDENSER_REGISTRY.registerBlockEntityRenderer(::CondenserBlockEntityRenderer)
MachineRegistry.FLUID_INFUSER_REGISTRY.registerBlockEntityRenderer(::FluidInfuserBlockEntityRenderer)
MachineRegistry.SOLID_INFUSER_FACTORY_REGISTRY.registerBlockEntityRenderer { MultiblockBlockEntityRenderer<SolidInfuserFactoryBlockEntity> { be -> be.multiblockComponent!! } }
MachineRegistry.COMPRESSOR_FACTORY_REGISTRY.registerBlockEntityRenderer { MultiblockBlockEntityRenderer<CompressorFactoryBlockEntity> { be -> be.multiblockComponent!! } }
MachineRegistry.PULVERIZER_FACTORY_REGISTRY.registerBlockEntityRenderer { MultiblockBlockEntityRenderer<PulverizerFactoryBlockEntity> { be -> be.multiblockComponent!! } }
MachineRegistry.ELECTRIC_FURNACE_FACTORY_REGISTRY.registerBlockEntityRenderer { MultiblockBlockEntityRenderer<ElectricFurnaceFactoryBlockEntity> { be -> be.multiblockComponent!! } }
MachineRegistry.MINING_RIG_REGISTRY.registerBlockEntityRenderer(::MiningRigBlockEntityRenderer)
MachineRegistry.PUMP_REGISTRY.registerBlockEntityRenderer(::PumpBlockEntityRenderer)
MachineRegistry.LAZULI_FLUX_CONTAINER_REGISTRY.registerBlockEntityRenderer(::LazuliFluxContainerBlockEntityRenderer)
MachineRegistry.HEAT_GENERATOR_REGISTRY.registerBlockEntityRenderer(::HeatGeneratorBlockEntityRenderer)
MachineRegistry.LASER_EMITTER_REGISTRY.registerBlockEntityRenderer(::LaserBlockEntityRenderer)
MachineRegistry.STEAM_TURBINE_REGISTRY.registerBlockEntityRenderer { MultiblockBlockEntityRenderer<SteamTurbineBlockEntity> { be -> be.multiblockComponent!! } }
BlockEntityRendererRegistry.register(IRBlockRegistry.TANK_BLOCK_ENTITY) { TankBlockEntityRenderer() }
BlockEntityRendererRegistry.register(IRBlockRegistry.DRILL_BLOCK_ENTITY_TYPE) { DrillBlockEntityRenderer() }
BlockEntityRendererRegistry.register(IRBlockRegistry.CAPSULE_BLOCK_ENTITY) { CapsuleBlockEntityRenderer() }
BlockEntityRendererRegistry.register(IRBlockRegistry.BIOMASS_COMPOSTER_BLOCK_ENTITY) { BiomassComposterBlockEntityRenderer() }
BlockEntityRendererRegistry.register(IRBlockRegistry.SOLAR_POWER_PLANT_TOWER_BLOCK_ENTITY) { MultiblockBlockEntityRenderer { be -> be.multiblockComponent } }
BlockEntityRendererRegistry.register(IRBlockRegistry.HELIOSTAT_BLOCK_ENTITY) { HeliostatBlockEntityRenderer() }
MachineRegistry.MODULAR_WORKBENCH_REGISTRY.setRenderLayer(RenderLayer.getTranslucent())
MachineRegistry.PUMP_REGISTRY.setRenderLayer(RenderLayer.getTranslucent())
MachineRegistry.HEAT_GENERATOR_REGISTRY.setRenderLayer(RenderLayer.getCutout())
BlockRenderLayerMap.INSTANCE.putBlock(IRBlockRegistry.TANK_BLOCK, RenderLayer.getCutout())
BlockRenderLayerMap.INSTANCE.putBlock(IRBlockRegistry.SULFUR_CRYSTAL_CLUSTER, RenderLayer.getTranslucent())
BlockRenderLayerMap.INSTANCE.putBlock(IRBlockRegistry.DRILL_TOP, RenderLayer.getCutout())
BlockRenderLayerMap.INSTANCE.putBlock(IRBlockRegistry.DRILL_MIDDLE, RenderLayer.getCutout())
BlockRenderLayerMap.INSTANCE.putBlock(IRBlockRegistry.DRILL_BOTTOM, RenderLayer.getCutout())
BlockRenderLayerMap.INSTANCE.putBlock(IRBlockRegistry.CAPSULE_BLOCK, RenderLayer.getCutout())
BlockRenderLayerMap.INSTANCE.putBlock(IRBlockRegistry.CABLE_MK1, RenderLayer.getCutout())
BlockRenderLayerMap.INSTANCE.putBlock(IRBlockRegistry.CABLE_MK2, RenderLayer.getCutout())
BlockRenderLayerMap.INSTANCE.putBlock(IRBlockRegistry.CABLE_MK3, RenderLayer.getCutout())
BlockRenderLayerMap.INSTANCE.putBlock(IRBlockRegistry.CABLE_MK4, RenderLayer.getCutout())
ModelLoadingRegistry.INSTANCE.registerModelProvider(IRModelManagers)
ModelLoadingRegistry.INSTANCE.registerVariantProvider { IRModelManagers }
FabricModelPredicateProviderRegistry.register(
IRItemRegistry.GAMER_AXE_ITEM,
identifier("activate")
) { stack, _, _, _ -> stack?.orCreateNbt?.getFloat("Progress") ?: 0f }
FabricModelPredicateProviderRegistry.register(IRItemRegistry.REINFORCED_ELYTRA, identifier("broken")) { stack, _, _, _ ->
if (ElytraItem.isUsable(stack)) 0.0f else 1.0f
}
FabricModelPredicateProviderRegistry.register(IRItemRegistry.ORE_DATA_CARD, identifier("empty")) { stack, _, _, _ ->
if (OreDataCards.readNbt(stack) == null) 0.0f else 1.0f
}
PacketRegistry.registerClient()
GlobalStateController.initClient()
HudRenderCallback.EVENT.register(IRHudRenderCallback)
WorldRenderEvents.BEFORE_BLOCK_OUTLINE.register(IRWorldRenderer)
WorldRenderEvents.BEFORE_ENTITIES.register(MatterProjectorPreviewRenderer)
ClientTickEvents.END_CLIENT_TICK.register(IRClientTickEvents)
ClientSpriteRegistryCallback.event(PlayerScreenHandler.BLOCK_ATLAS_TEXTURE).register(
ClientSpriteRegistryCallback { _, registry ->
registry.register(identifier("block/lazuli_flux_container_lf_level"))
registry.register(identifier("gui/hud_damaged"))
registry.register(identifier("gui/hud_regenerating"))
registry.register(identifier("gui/hud_warning"))
registry.register(identifier("gui/hud_default"))
registry.register(identifier("particle/laser_particle_1"))
registry.register(identifier("particle/laser_particle_2"))
registry.register(identifier("particle/laser_particle_3"))
})
ParticleFactoryRegistry.getInstance().register(IndustrialRevolution.LASER_PARTICLE) { spriteProvider ->
FlameParticle.Factory(spriteProvider)
}
ClientPlayConnectionEvents.DISCONNECT.register { _, _ ->
IRConfig.readConfigs()
}
LivingEntityFeatureRendererRegistrationCallback.EVENT.register(IRLivingEntityFeatureRendererCallback)
TooltipComponentCallback.EVENT.register(IRTooltipComponentsCallback)
ItemTooltipCallback.EVENT.register(MiningRigInfoTooltipCallback)
AprilFools.init()
}
val MODULAR_CONTROLLER_KEYBINDING: KeyBinding = KeyBindingHelper.registerKeyBinding(
KeyBinding(
"key.indrev.modular",
InputUtil.Type.KEYSYM,
GLFW.GLFW_KEY_K,
"category.indrev"
)
)
val GAMER_AXE_TOGGLE_KEYBINDING: KeyBinding = KeyBindingHelper.registerKeyBinding(
KeyBinding(
"key.indrev.gamer_axe_toggle",
InputUtil.Type.KEYSYM,
GLFW.GLFW_KEY_G,
"category.indrev"
)
)
val CLIENT_NETWORK_STATE = Object2ObjectOpenHashMap<Network.Type<*>, ClientNetworkState<*>>()
}
================================================
FILE: src/main/kotlin/me/steven/indrev/api/AttributeModifierProvider.kt
================================================
package me.steven.indrev.api
import com.google.common.collect.Multimap
import net.minecraft.entity.EquipmentSlot
import net.minecraft.entity.attribute.EntityAttribute
import net.minecraft.entity.attribute.EntityAttributeModifier
import net.minecraft.item.ItemStack
interface AttributeModifierProvider {
fun getAttributeModifiers(itemStack: ItemStack, equipmentSlot: EquipmentSlot): Multimap<EntityAttribute, EntityAttributeModifier>
}
================================================
FILE: src/main/kotlin/me/steven/indrev/api/CustomEnchantmentProvider.kt
================================================
package me.steven.indrev.api
import net.minecraft.enchantment.Enchantment
import net.minecraft.item.ItemStack
interface CustomEnchantmentProvider {
fun getLevel(enchantment: Enchantment, itemStack: ItemStack): Int
}
================================================
FILE: src/main/kotlin/me/steven/indrev/api/IREntityExtension.kt
================================================
package me.steven.indrev.api
import me.steven.indrev.inventories.IRInventory
interface IREntityExtension {
var machineInv: IRInventory?
}
================================================
FILE: src/main/kotlin/me/steven/indrev/api/IRPlayerEntityExtension.kt
================================================
package me.steven.indrev.api
import me.steven.indrev.tools.modular.ArmorModule
interface IRPlayerEntityExtension {
var shieldDurability: Double
var isRegenerating: Boolean
fun getMaxShieldDurability(): Double
fun getAppliedModules(): Map<ArmorModule, Int>
fun applyModule(module: ArmorModule, level: Int)
fun isApplied(module: ArmorModule): Boolean
fun getAppliedLevel(module: ArmorModule): Int
}
================================================
FILE: src/main/kotlin/me/steven/indrev/api/IRServerPlayerEntityExtension.kt
================================================
package me.steven.indrev.api
interface IRServerPlayerEntityExtension : IRPlayerEntityExtension {
fun shouldSync(): Boolean
fun sync()
}
================================================
FILE: src/main/kotlin/me/steven/indrev/api/OreDataCards.kt
================================================
package me.steven.indrev.api
import me.steven.indrev.config.IRConfig
import me.steven.indrev.registry.IRItemRegistry
import net.minecraft.item.Item
import net.minecraft.item.ItemStack
import net.minecraft.item.Items
import net.minecraft.nbt.NbtCompound
import net.minecraft.nbt.NbtList
import net.minecraft.tag.TagKey
import net.minecraft.util.Identifier
import net.minecraft.util.registry.Registry
import java.util.*
import kotlin.math.pow
object OreDataCards {
const val MAX_SIZE = 2048
const val MAX_RICNHESS = 1.0
const val MAX_PER_CYCLE = 8
val INVALID_DATA = Data(emptyList(), mutableMapOf(), -1.0, -1, -1, -1, -1, -1)
fun isAllowed(stack: ItemStack): Boolean {
return IRConfig.miningRigConfig.allowedTags.any { stack.isIn(TagKey.of(Registry.ITEM_KEY, Identifier(it.key))) }
}
fun getCost(stack: ItemStack): Int {
return IRConfig.miningRigConfig.allowedTags.firstNotNullOfOrNull { if (stack.isIn(TagKey.of(Registry.ITEM_KEY, Identifier(it.key)))) it.value else null } ?: 0
}
fun readNbt(stack: ItemStack): Data? {
if (!stack.isOf(IRItemRegistry.ORE_DATA_CARD)) return null
val nbt = stack.getSubNbt("CardData") ?: return null
val entriesNbt = nbt.getList("Entries", 10)
val entries = mutableListOf<OreEntry>()
entriesNbt.forEach { element ->
val itemId = (element as NbtCompound).getString("ItemId")
val optional = Registry.ITEM.getOrEmpty(Identifier(itemId))
if (!optional.isPresent) {
return INVALID_DATA
}
val count = element.getInt("Count")
entries.add(OreEntry(optional.get(), count))
}
val modifiersNbt = nbt.getList("ModifiersUsed", 10)
val modifiers = mutableMapOf<Modifier, Int>()
modifiersNbt.forEach { element ->
val modifierId = (element as NbtCompound).getInt("Modifier")
val level = element.getInt("Level")
modifiers[Modifier.values()[modifierId]] = level
}
val richness = nbt.getDouble("Richness")
val size = nbt.getInt("Size")
val used = nbt.getInt("Used")
val speed = nbt.getInt("Speed")
val rng = nbt.getInt("Rng")
val energy = nbt.getInt("Energy")
return Data(entries.toList(), modifiers, richness, speed, rng, energy, size, used)
}
fun writeNbt(stack: ItemStack, data: Data) {
if (!stack.isOf(IRItemRegistry.ORE_DATA_CARD)) return
val nbt = stack.getOrCreateSubNbt("CardData")
val entriesNbt = NbtList()
data.entries.forEach { entry ->
val entryNbt = NbtCompound()
entryNbt.putString("ItemId", Registry.ITEM.getId(entry.item).toString())
entryNbt.putInt("Count", entry.count)
entriesNbt.add(entryNbt)
}
nbt.put("Entries", entriesNbt)
val modifiersNbt = NbtList()
data.modifiersUsed.forEach { (modifier, level) ->
val modifierNbt = NbtCompound()
modifierNbt.putInt("Modifier", modifier.ordinal)
modifierNbt.putInt("Level", level)
modifiersNbt.add(modifierNbt)
}
nbt.put("ModifiersUsed", modifiersNbt)
nbt.putDouble("Richness", data.richness)
nbt.putInt("Size", data.maxCycles)
nbt.putInt("Used", data.used)
nbt.putInt("Speed", data.speed)
nbt.putInt("Rng", data.rng)
nbt.putInt("Energy", data.energyRequired)
}
data class Data(val entries: List<OreEntry>, val modifiersUsed: MutableMap<Modifier, Int>, val richness: Double, val speed: Int, val rng: Int, val energyRequired: Int, val maxCycles: Int, var used: Int) {
fun isValid(): Boolean {
return this != INVALID_DATA && entries.isNotEmpty() && richness > 0 && maxCycles > 0 && maxCycles < MAX_SIZE
}
fun isEmpty(): Boolean {
return used >= maxCycles
}
fun pickRandom(random: Random): Item {
entries.forEach { entry ->
entry.order = -random.nextFloat().pow(1.0f / entry.count.toFloat())
}
return entries.minByOrNull { a -> a.order }!!.item
}
}
data class OreEntry(val item: Item, val count: Int, var order: Float = 0.0f)
enum class Modifier(val item: Item) {
RICHNESS(IRItemRegistry.ENRICHED_NIKOLITE_DUST()),
SPEED(Items.REDSTONE),
SIZE(Items.STONE),
RNG(Items.EMERALD);
val translationKey = "item.indrev.ore_data_card.modifier.${name.lowercase()}"
companion object {
fun isModifierItem(item: Item): Boolean = values().any { it.item == item }
fun byItem(item: Item): Modifier? = values().firstOrNull { it.item == item }
}
}
}
================================================
FILE: src/main/kotlin/me/steven/indrev/api/ServerWorldExtension.kt
================================================
package me.steven.indrev.api
import it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap
import me.steven.indrev.networks.energy.EnergyNetworkState
import me.steven.indrev.networks.fluid.FluidNetworkState
import me.steven.indrev.networks.item.ItemNetworkState
import net.fabricmc.fabric.api.lookup.v1.block.BlockApiCache
import net.minecraft.util.math.Direction
import team.reborn.energy.api.EnergyStorage
interface ServerWorldExtension {
fun indrev_getEnergyCache(): Long2ObjectOpenHashMap<BlockApiCache<EnergyStorage, Direction>>
fun indrev_getEnergyNetworkState(): EnergyNetworkState
fun indrev_getFluidNetworkState(): FluidNetworkState
fun indrev_getItemNetworkState(): ItemNetworkState
}
================================================
FILE: src/main/kotlin/me/steven/indrev/api/machines/Tier.kt
================================================
package me.steven.indrev.api.machines
enum class Tier(val io: Long, val id: String) {
MK1(64, "mk1"),
MK2(128, "mk2"),
MK3(512, "mk3"),
MK4(4096, "mk4"),
CREATIVE(4096, "creative");
fun next(): Tier {
return when (this) {
MK1 -> MK2
MK2 -> MK3
MK3 -> MK4
else -> error("no tier after $this")
}
}
companion object {
val VALUES = arrayOf(MK1, MK2, MK3, MK4)
val ALL_VALUES = values()
}
}
================================================
FILE: src/main/kotlin/me/steven/indrev/api/machines/TransferMode.kt
================================================
package me.steven.indrev.api.machines
enum class TransferMode(val rgb: Long, val input: Boolean, val output: Boolean) {
INPUT(0x997e75ff, true, false),
INPUT_FIRST(0x9975ff8e, true, false),
INPUT_SECOND(0x9975ff8e, true, false),
OUTPUT_FIRST(0x9975ff8e, false, true),
OUTPUT_SECOND(0x9975ff8e, false, true),
OUTPUT(0x99ffb175, false, true),
INPUT_OUTPUT(0x99d875ff, true, true),
NONE(-1, false, false);
fun next(): TransferMode = when (this) {
INPUT -> INPUT_FIRST
INPUT_FIRST -> INPUT_SECOND
INPUT_SECOND -> OUTPUT_FIRST
OUTPUT_FIRST -> OUTPUT_SECOND
OUTPUT_SECOND -> OUTPUT
OUTPUT -> INPUT_OUTPUT
INPUT_OUTPUT -> NONE
NONE -> INPUT
}
fun next(available: Array<out TransferMode>): TransferMode {
var current = this
for (i in values().indices) {
val possible = current.next()
if (available.contains(possible)) {
return possible
}
current = possible
}
return this
}
companion object {
val DEFAULT = arrayOf(INPUT, OUTPUT, INPUT_OUTPUT, NONE)
val SOLID_INFUSER = arrayOf(INPUT, OUTPUT, INPUT_OUTPUT, INPUT_FIRST, INPUT_SECOND, NONE)
val ELECTROLYTIC_SEPARATOR = arrayOf(TransferMode.INPUT, TransferMode.OUTPUT_FIRST, TransferMode.OUTPUT_SECOND, TransferMode.NONE)
}
}
================================================
FILE: src/main/kotlin/me/steven/indrev/api/sideconfigs/Configurable.kt
================================================
package me.steven.indrev.api.sideconfigs
import me.steven.indrev.api.machines.TransferMode
import net.minecraft.block.BlockState
import net.minecraft.util.math.Direction
interface Configurable {
fun isConfigurable(type: ConfigurationType): Boolean
fun isFixed(type: ConfigurationType): Boolean
fun getValidConfigurations(type: ConfigurationType): Array<TransferMode>
fun getCurrentConfiguration(type: ConfigurationType): SideConfiguration
fun applyDefault(state: BlockState, type: ConfigurationType, configuration: MutableMap<Direction, TransferMode>)
}
================================================
FILE: src/main/kotlin/me/steven/indrev/api/sideconfigs/ConfigurationType.kt
================================================
package me.steven.indrev.api.sideconfigs
import me.steven.indrev.api.machines.TransferMode
import net.minecraft.text.Text
import net.minecraft.text.TranslatableText
enum class ConfigurationType(val title: Text, vararg val validModes: TransferMode) {
ITEM(TranslatableText("item.indrev.wrench.item"), TransferMode.INPUT, TransferMode.OUTPUT, TransferMode.INPUT_OUTPUT, TransferMode.INPUT_FIRST, TransferMode.INPUT_SECOND, TransferMode.NONE),
FLUID(TranslatableText("item.indrev.wrench.fluid"), TransferMode.INPUT, TransferMode.OUTPUT, TransferMode.INPUT_OUTPUT, TransferMode.NONE),
ENERGY(TranslatableText("item.indrev.wrench.energy"), TransferMode.INPUT, TransferMode.OUTPUT, TransferMode.NONE);
fun next(): ConfigurationType {
return when (this) {
ITEM -> FLUID
FLUID -> ENERGY
ENERGY -> ITEM
}
}
fun next(available: Array<ConfigurationType>): ConfigurationType {
var current = this
for (i in values().indices) {
val possible = current.next()
if (available.contains(possible)) {
return possible
}
current = possible
}
return this
}
companion object {
fun getTypes(blockEntity: Configurable) = values().filter { type -> blockEntity.isConfigurable(type) && !blockEntity.isFixed(type) }.toTypedArray()
}
}
================================================
FILE: src/main/kotlin/me/steven/indrev/api/sideconfigs/SideConfiguration.kt
================================================
package me.steven.indrev.api.sideconfigs
import io.github.cottonmc.cotton.gui.widget.WGridPanel
import io.github.cottonmc.cotton.gui.widget.WToggleButton
import io.github.cottonmc.cotton.gui.widget.WWidget
import io.netty.buffer.Unpooled
import me.steven.indrev.api.machines.TransferMode
import me.steven.indrev.blocks.machine.FacingMachineBlock
import me.steven.indrev.blocks.machine.HorizontalFacingMachineBlock
import me.steven.indrev.gui.widgets.machines.WMachineSideDisplay
import me.steven.indrev.packets.common.ConfigureIOPackets
import me.steven.indrev.utils.add
import net.fabricmc.fabric.api.client.networking.v1.ClientPlayNetworking
import net.minecraft.entity.player.PlayerInventory
import net.minecraft.nbt.NbtCompound
import net.minecraft.network.PacketByteBuf
import net.minecraft.text.TranslatableText
import net.minecraft.util.math.BlockPos
import net.minecraft.util.math.Direction
import net.minecraft.world.World
import java.util.*
import java.util.function.Consumer
data class SideConfiguration(val type: ConfigurationType, private val transferConfig: EnumMap<Direction, TransferMode> = EnumMap(Direction::class.java))
: MutableMap<Direction, TransferMode> by transferConfig {
var autoPush = true
var autoPull = true
init {
Direction.values().forEach { dir -> this[dir] = TransferMode.NONE }
}
fun canInput(direction: Direction): Boolean {
return this[direction]?.input == true
}
fun canOutput(direction: Direction): Boolean {
return this[direction]?.output == true
}
fun writeNbt(tag: NbtCompound?) {
var transferConfigTag = tag?.getCompound("TransferConfig")
if (tag?.contains("TransferConfig") == false) {
transferConfigTag = NbtCompound()
tag.put("TransferConfig", transferConfigTag)
}
val configTag = NbtCompound()
forEach { (dir, mode) ->
configTag.putString(dir.toString(), mode.toString())
}
transferConfigTag?.put(type.toString().lowercase(Locale.getDefault()), configTag)
configTag.putBoolean("AutoPush", autoPush)
configTag.putBoolean("AutoPull", autoPull)
}
fun readNbt(tag: NbtCompound?) {
if (tag?.contains("TransferConfig") == true) {
val transferConfigTag = tag.getCompound("TransferConfig")
val configTag = transferConfigTag.getCompound(type.toString().lowercase(Locale.getDefault()))
Direction.values().forEach { dir ->
val value = configTag.getString(dir.toString()).uppercase(Locale.getDefault())
if (value.isNotEmpty()) {
val mode = TransferMode.valueOf(value)
this[dir] = mode
}
}
if (configTag.contains("AutoPush"))
autoPush = configTag.getBoolean("AutoPush")
if (configTag.contains("AutoPull"))
autoPull = configTag.getBoolean("AutoPull")
}
}
fun writeBuf(buf: PacketByteBuf) {
buf.writeBoolean(autoPush)
buf.writeBoolean(autoPull)
forEach { dir, mode ->
buf.writeByte(dir.ordinal)
buf.writeByte(mode.ordinal)
}
}
fun readBuf(buf: PacketByteBuf) {
autoPush = buf.readBoolean()
autoPull = buf.readBoolean()
repeat(6) {
val direction = Direction.values()[buf.readByte().toInt()]
val mode = TransferMode.values()[buf.readByte().toInt()]
this[direction] = mode
}
}
fun getConfigurationPanel(world: World, pos: BlockPos, configurable: Configurable, playerInventory: PlayerInventory, type: ConfigurationType): WWidget {
val root = WGridPanel()
root.setSize(100, 128)
val configuration = this
if (configuration.type == ConfigurationType.ITEM) {
val autoPushBtn = WToggleButton(TranslatableText("item.indrev.wrench.autopush"))
autoPushBtn.toggle = configuration.autoPush
autoPushBtn.onToggle = Consumer { v ->
configuration.autoPush = v
val buf = PacketByteBuf(Unpooled.buffer())
buf.writeEnumConstant(type)
buf.writeByte(0)
buf.writeBlockPos(pos)
buf.writeBoolean(v)
ClientPlayNetworking.send(ConfigureIOPackets.UPDATE_AUTO_OPERATION_PACKET_ID, buf)
}
root.add(autoPushBtn, 0, 4)
val autoPullBtn = WToggleButton(TranslatableText("item.indrev.wrench.autopull"))
autoPullBtn.toggle = configuration.autoPull
autoPullBtn.onToggle = Consumer { v ->
configuration.autoPull = v
val buf = PacketByteBuf(Unpooled.buffer())
buf.writeEnumConstant(type)
buf.writeByte(1)
buf.writeBlockPos(pos)
buf.writeBoolean(v)
ClientPlayNetworking.send(ConfigureIOPackets.UPDATE_AUTO_OPERATION_PACKET_ID, buf)
}
root.add(autoPullBtn, 0.0, 4.8)
}
val blockState = world.getBlockState(pos)
val machineVisualizerPanel = WGridPanel()
MachineSide.values().forEach { side ->
var facing =
when {
blockState.contains(HorizontalFacingMachineBlock.HORIZONTAL_FACING) ->
blockState[HorizontalFacingMachineBlock.HORIZONTAL_FACING]
blockState.contains(FacingMachineBlock.FACING) ->
blockState[FacingMachineBlock.FACING]
else ->
Direction.UP
}
if (facing.axis.isVertical) {
facing = playerInventory.player.horizontalFacing.opposite
}
val direction = offset(facing, side.direction)
val mode = configuration[direction]!!
val widget = WMachineSideDisplay(side, direction, mode, world, pos)
widget.setOnClick {
widget.mode = widget.mode.next(configurable.getValidConfigurations(type))
configuration[direction] = widget.mode
val buf = PacketByteBuf(Unpooled.buffer())
buf.writeEnumConstant(type)
buf.writeBlockPos(pos)
buf.writeInt(direction.id)
buf.writeInt(widget.mode.ordinal)
ClientPlayNetworking.send(ConfigureIOPackets.UPDATE_MACHINE_SIDE_PACKET_ID, buf)
}
machineVisualizerPanel.add(widget, (side.x) * 1.2, (side.y) * 1.2)
}
root.add(machineVisualizerPanel, 0.5, 0.0)
return root
}
private fun offset(facing: Direction, side: Direction): Direction {
return if (side.axis.isVertical) side
else when (facing) {
Direction.NORTH -> side
Direction.SOUTH -> side.opposite
Direction.WEST -> side.rotateYCounterclockwise()
Direction.EAST -> side.rotateYClockwise()
else -> side
}
}
enum class MachineSide(val x: Int, val y: Int, val direction: Direction, val u1: Float, val v1: Float, val u2: Float, val v2: Float) {
FRONT(1, 1, Direction.NORTH, 5.333f, 5.333f, 10.666f, 10.666f),
LEFT(0, 1, Direction.EAST, 0.0f, 5.333f, 5.332f, 10.666f),
BACK(2, 2, Direction.SOUTH, 10.667f, 10.667f, 16.0f, 16f),
RIGHT(2, 1, Direction.WEST, 10.667f, 5.333f, 16.0f, 10.665f),
TOP(1, 0, Direction.UP, 5.333f, 0.0f, 10.666f, 5.333f),
BOTTOM(1, 2, Direction.DOWN, 5.333f, 10.667f, 10.666f, 15.998f)
}
companion object {
val EMPTY_ITEM = SideConfiguration(ConfigurationType.ITEM)
val EMPTY_FLUID = SideConfiguration(ConfigurationType.FLUID)
val EMPTY_ENERGY = SideConfiguration(ConfigurationType.ENERGY)
}
}
================================================
FILE: src/main/kotlin/me/steven/indrev/armor/IRArmorMaterial.kt
================================================
package me.steven.indrev.armor
import me.steven.indrev.registry.IRItemRegistry
import net.minecraft.entity.EquipmentSlot
import net.minecraft.item.ArmorMaterial
import net.minecraft.recipe.Ingredient
import net.minecraft.sound.SoundEvent
import net.minecraft.sound.SoundEvents
enum class IRArmorMaterial(
private val armorName: String,
private val durabilityMultiplier: Int,
private val armorValues: IntArray,
private val enchantability: Int,
private val equipSound: SoundEvent,
private val toughness: Float,
private val knockbackResistance: Float,
private val repairIngredient: () -> Ingredient?) : ArmorMaterial {
MODULAR(
"modular", 0, intArrayOf(1, 3, 2, 1), 15,
SoundEvents.ITEM_ARMOR_EQUIP_IRON, 1.0F, 1.0F, { null }
),
STEEL_ELYTRA(
"reinforced_elytra", 30, intArrayOf(1, 1, 1, 1), 15,
SoundEvents.ITEM_ARMOR_EQUIP_IRON, 1.0F, 0F, { Ingredient.ofItems(IRItemRegistry.STEEL_PLATE()) }
),
JETPACK(
"jetpack", 30, intArrayOf(1, 1, 1, 1), 15,
SoundEvents.ITEM_ARMOR_EQUIP_IRON, 1.0F, 0F, { null }
),
STEEL(
"steel", 30, intArrayOf(2, 6, 7, 2), 15,
SoundEvents.ITEM_ARMOR_EQUIP_IRON, 1.0F, 0F, { Ingredient.ofItems(IRItemRegistry.STEEL_INGOT()) }
),
COPPER(
"copper", 14, intArrayOf(2, 4, 5, 2), 15,
SoundEvents.ITEM_ARMOR_EQUIP_GENERIC, 0.0F, 0.0F, { Ingredient.ofItems(IRItemRegistry.COPPER_INGOT()) }
),
TIN(
"tin", 10, intArrayOf(1, 4, 5, 2), 15,
SoundEvents.ITEM_ARMOR_EQUIP_GENERIC, 0.0F, 0.0F, { Ingredient.ofItems(IRItemRegistry.TIN_INGOT()) }
),
BRONZE(
"bronze", 15, intArrayOf(2, 5, 6, 2), 15,
SoundEvents.ITEM_ARMOR_EQUIP_GENERIC, 0.0F, 0.0F, { Ingredient.ofItems(IRItemRegistry.BRONZE_INGOT()) }
),
LEAD(
"lead", 20, intArrayOf(2, 4, 4, 1), 15,
SoundEvents.ITEM_ARMOR_EQUIP_GENERIC, 0.0F, 0.0F, { Ingredient.ofItems(IRItemRegistry.LEAD_INGOT()) }
),
SILVER(
"silver", 30, intArrayOf(1, 4, 4, 1), 15,
SoundEvents.ITEM_ARMOR_EQUIP_GENERIC, 0.0F, 0.0F, { Ingredient.ofItems(IRItemRegistry.SILVER_INGOT()) }
);
override fun getName(): String = armorName
override fun getEquipSound(): SoundEvent = equipSound
override fun getRepairIngredient(): Ingredient? = repairIngredient()
override fun getEnchantability(): Int = enchantability
override fun getProtectionAmount(slot: EquipmentSlot): Int = this.armorValues[slot.entitySlotId]
override fun getDurability(slot: EquipmentSlot): Int = BASE_DURABILITY[slot.entitySlotId] * durabilityMultiplier
override fun getKnockbackResistance(): Float = knockbackResistance
override fun getToughness(): Float = toughness
companion object {
private val BASE_DURABILITY = intArrayOf(13, 15, 16, 11)
}
}
================================================
FILE: src/main/kotlin/me/steven/indrev/armor/ModuleFeatureRenderer.kt
================================================
package me.steven.indrev.armor
import me.steven.indrev.items.armor.IRModularArmorItem
import me.steven.indrev.utils.identifier
import net.minecraft.client.render.OverlayTexture
import net.minecraft.client.render.RenderLayer
import net.minecraft.client.render.VertexConsumerProvider
import net.minecraft.client.render.entity.feature.ArmorFeatureRenderer
import net.minecraft.client.render.entity.feature.FeatureRendererContext
import net.minecraft.client.render.entity.model.BipedEntityModel
import net.minecraft.client.render.item.ItemRenderer
import net.minecraft.client.util.math.MatrixStack
import net.minecraft.entity.EquipmentSlot
import net.minecraft.entity.LivingEntity
import net.minecraft.item.ArmorItem
import net.minecraft.util.Identifier
class ModuleFeatureRenderer<T : LivingEntity, M : BipedEntityModel<T>, A : BipedEntityModel<T>>(
context: FeatureRendererContext<T, M>,
private val leggingsModel: A,
private val bodyModel: A
) : ArmorFeatureRenderer<T, M, A>(context, leggingsModel, bodyModel) {
override fun render(matrixStack: MatrixStack, vertexConsumerProvider: VertexConsumerProvider, i: Int, livingEntity: T, f: Float, g: Float, h: Float, j: Float, k: Float, l: Float) {
renderArmor(matrixStack, vertexConsumerProvider, livingEntity, EquipmentSlot.CHEST, i, getArmor(EquipmentSlot.CHEST))
renderArmor(matrixStack, vertexConsumerProvider, livingEntity, EquipmentSlot.LEGS, i, getArmor(EquipmentSlot.LEGS))
renderArmor(matrixStack, vertexConsumerProvider, livingEntity, EquipmentSlot.FEET, i, getArmor(EquipmentSlot.FEET))
renderArmor(matrixStack, vertexConsumerProvider, livingEntity, EquipmentSlot.HEAD, i, getArmor(EquipmentSlot.HEAD))
}
private fun renderArmor(matrices: MatrixStack, vertexConsumers: VertexConsumerProvider, livingEntity: T, equipmentSlot: EquipmentSlot, light: Int, bipedEntityModel: A) {
val itemStack = livingEntity.getEquippedStack(equipmentSlot)
val item = itemStack.item as? IRModularArmorItem ?: return
if (item.slotType == equipmentSlot) {
(this.contextModel as? BipedEntityModel<T>)?.setAttributes(bipedEntityModel) ?: return
setVisible(bipedEntityModel, equipmentSlot)
val rgb = item.getColor(itemStack)
val r = (rgb and 0xFF0000 shr 16) / 255f
val g = (rgb and 0xFF00 shr 8) / 255f
val b = (rgb and 0xFF) / 255f
item.getInstalled(itemStack).filter { it.slots.contains(equipmentSlot) }.forEach { module ->
if (module.hasTexture) {
renderArmorParts(
matrices, vertexConsumers, light, item, itemStack.hasGlint(), bipedEntityModel, usesSecondLayer(equipmentSlot), r, g, b, module.key
)
if (module.hasOverlay) {
renderArmorParts(
matrices, vertexConsumers, 15728880, item, itemStack.hasGlint(), bipedEntityModel, usesSecondLayer(equipmentSlot), r, g, b, "${module.key}_overlay"
)
}
}
}
}
}
private fun renderArmorParts(
matrixStack: MatrixStack,
vertexConsumerProvider: VertexConsumerProvider,
light: Int,
armorItem: ArmorItem,
hasGlint: Boolean,
bipedEntityModel: A,
secondLayer: Boolean,
r: Float, g: Float, b: Float,
overlay: String?) {
val vertexConsumer = ItemRenderer.getArmorGlintConsumer(vertexConsumerProvider, RenderLayer.getArmorCutoutNoCull(getArmorTexture(armorItem, secondLayer, overlay)), false, hasGlint)
bipedEntityModel.render(matrixStack, vertexConsumer, light, OverlayTexture.DEFAULT_UV, r, g, b, 1.0f)
}
private fun getArmor(slot: EquipmentSlot): A {
return if (usesSecondLayer(slot)) leggingsModel else bodyModel
}
private fun usesSecondLayer(slot: EquipmentSlot): Boolean {
return slot == EquipmentSlot.LEGS
}
private fun getArmorTexture(armorItem: ArmorItem, secondLayer: Boolean, overlay: String?): Identifier {
val path = "textures/models/armor/" + armorItem.material.name + "_layer_" + (if (secondLayer) 2 else 1) + (if (overlay == null) "" else "_$overlay") + ".png"
return MODULAR_ARMOR_TEXTURE_CACHE.computeIfAbsent(path) { id -> identifier(id) }
}
companion object {
val MODULAR_ARMOR_TEXTURE_CACHE = mutableMapOf<String, Identifier>()
}
}
================================================
FILE: src/main/kotlin/me/steven/indrev/armor/ReinforcedElytraFeatureRenderer.kt
================================================
package me.steven.indrev.armor
import me.steven.indrev.items.armor.ReinforcedElytraItem
import me.steven.indrev.utils.identifier
import net.fabricmc.api.EnvType
import net.fabricmc.api.Environment
import net.minecraft.client.network.AbstractClientPlayerEntity
import net.minecraft.client.render.OverlayTexture
import net.minecraft.client.render.RenderLayer
import net.minecraft.client.render.VertexConsumerProvider
import net.minecraft.client.render.entity.PlayerModelPart
import net.minecraft.client.render.entity.feature.FeatureRenderer
import net.minecraft.client.render.entity.feature.FeatureRendererContext
import net.minecraft.client.render.entity.model.ElytraEntityModel
import net.minecraft.client.render.entity.model.EntityModel
import net.minecraft.client.render.entity.model.EntityModelLayers
import net.minecraft.client.render.entity.model.EntityModelLoader
import net.minecraft.client.render.item.ItemRenderer
import net.minecraft.client.util.math.MatrixStack
import net.minecraft.entity.EquipmentSlot
import net.minecraft.entity.LivingEntity
@Environment(EnvType.CLIENT)
class ReinforcedElytraFeatureRenderer<T : LivingEntity, M : EntityModel<T>>(
context: FeatureRendererContext<T, M>,
loader: EntityModelLoader
) : FeatureRenderer<T, M>(context) {
private val elytraModel: ElytraEntityModel<T> = ElytraEntityModel(loader.getModelPart(EntityModelLayers.ELYTRA))
override fun render(
matrices: MatrixStack,
vertexConsumers: VertexConsumerProvider,
light: Int,
entity: T,
limbAngle: Float,
limbDistance: Float,
tickDelta: Float,
animationProgress: Float,
headYaw: Float,
headPitch: Float
) {
val itemStack = entity.getEquippedStack(EquipmentSlot.CHEST)
if (ReinforcedElytraItem.hasValidElytra(itemStack)) {
val textureId = when {
entity !is AbstractClientPlayerEntity -> REINFORCED_ELYTRA_SKIN
entity.canRenderElytraTexture() && entity.elytraTexture != null -> entity.elytraTexture!!
entity.canRenderCapeTexture() && entity.capeTexture != null && entity.isPartVisible(PlayerModelPart.CAPE) -> entity.capeTexture!!
else -> REINFORCED_ELYTRA_SKIN
}
matrices.push()
matrices.translate(0.0, 0.0, 0.125)
this.contextModel.copyStateTo(elytraModel)
elytraModel.setAngles(entity, limbAngle, limbDistance, animationProgress, headYaw, headPitch)
val vertexConsumer = ItemRenderer.getArmorGlintConsumer(
vertexConsumers,
RenderLayer.getArmorCutoutNoCull(textureId),
false,
itemStack.hasGlint()
)
elytraModel.render(matrices, vertexConsumer, light, OverlayTexture.DEFAULT_UV, 1.0f, 1.0f, 1.0f, 1.0f)
matrices.pop()
}
}
companion object {
private val REINFORCED_ELYTRA_SKIN = identifier("textures/entity/reinforced_elytra.png")
}
}
================================================
FILE: src/main/kotlin/me/steven/indrev/blockentities/BaseBlockEntity.kt
================================================
package me.steven.indrev.blockentities
import com.google.common.base.Preconditions
import me.steven.indrev.components.GuiSyncableComponent
import net.minecraft.block.BlockState
import net.minecraft.block.entity.BlockEntity
import net.minecraft.block.entity.BlockEntityType
import net.minecraft.nbt.NbtCompound
import net.minecraft.network.packet.s2c.play.BlockEntityUpdateS2CPacket
import net.minecraft.server.world.ServerWorld
import net.minecraft.util.math.BlockPos
abstract class BaseBlockEntity(type: BlockEntityType<*>, pos: BlockPos, state: BlockState) : BlockEntity(type, pos, state) {
open val guiSyncableComponent: GuiSyncableComponent? = null
fun sync() {
Preconditions.checkNotNull(world) // Maintain distinct failure case from below
check(world is ServerWorld) { "Cannot call sync() on the logical client! Did you check world.isClient first?" }
(world as ServerWorld).chunkManager.markForUpdate(getPos())
}
abstract fun toTag(tag: NbtCompound)
abstract fun fromTag(tag: NbtCompound)
open fun toClientTag(tag: NbtCompound) {
toTag(tag)
}
open fun fromClientTag(tag: NbtCompound) {
fromTag(tag)
}
override fun toUpdatePacket(): BlockEntityUpdateS2CPacket {
return BlockEntityUpdateS2CPacket.create(this)
}
override fun toInitialChunkDataNbt(): NbtCompound {
val nbt = super.toInitialChunkDataNbt()
toClientTag(nbt)
nbt.putBoolean("#c", true)
return nbt
}
override fun writeNbt(nbt: NbtCompound) {
super.writeNbt(nbt)
toTag(nbt)
}
override fun readNbt(nbt: NbtCompound) {
super.readNbt(nbt)
if (nbt.contains("#c")) {
fromClientTag(nbt)
} else {
fromTag(nbt)
}
}
}
================================================
FILE: src/main/kotlin/me/steven/indrev/blockentities/BaseMachineBlockEntity.kt
================================================
package me.steven.indrev.blockentities
import me.steven.indrev.api.sideconfigs.Configurable
import net.minecraft.block.BlockState
import net.minecraft.block.InventoryProvider
import net.minecraft.block.entity.BlockEntityType
import net.minecraft.util.math.BlockPos
abstract class BaseMachineBlockEntity(type: BlockEntityType<*>, pos: BlockPos, state: BlockState)
: BaseBlockEntity(type, pos, state), InventoryProvider, Configurable, Syncable {
/**
* Whether the machine should call #sync or not
*/
open val syncToWorld = false
var isMarkedForUpdate: Boolean = true
override fun markForUpdate(condition: () -> Boolean) {
isMarkedForUpdate = isMarkedForUpdate || condition()
}
}
================================================
FILE: src/main/kotlin/me/steven/indrev/blockentities/GlobalStateController.kt
================================================
package me.steven.indrev.blockentities
import it.unimi.dsi.fastutil.longs.Long2BooleanOpenHashMap
import it.unimi.dsi.fastutil.longs.Long2ObjectMap
import it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap
import me.steven.indrev.packets.client.MachineStateUpdatePacket
import me.steven.indrev.utils.component1
import me.steven.indrev.utils.component2
import me.steven.indrev.utils.component3
import net.fabricmc.api.EnvType
import net.fabricmc.api.Environment
import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientTickEvents
import net.fabricmc.fabric.api.networking.v1.PacketByteBufs
import net.fabricmc.fabric.api.networking.v1.ServerPlayNetworking
import net.minecraft.client.MinecraftClient
import net.minecraft.util.math.BlockPos
import net.minecraft.util.math.ChunkPos
import net.minecraft.world.World
import java.util.function.LongFunction
object GlobalStateController {
@Environment(EnvType.CLIENT)
val chunksToUpdate: Long2ObjectMap<MutableSet<BlockPos>> = Long2ObjectOpenHashMap()
@Environment(EnvType.CLIENT)
val workingStateTracker = Long2BooleanOpenHashMap()
@Environment(EnvType.CLIENT)
fun queueUpdate(pos: BlockPos) {
val chunkPos = ChunkPos.toLong(pos.x shr 4, pos.z shr 4)
if (MinecraftClient.getInstance().isOnThread)
chunksToUpdate.computeIfAbsent(chunkPos, LongFunction { hashSetOf() }).add(pos)
else
MinecraftClient.getInstance().execute { chunksToUpdate.computeIfAbsent(chunkPos, LongFunction { hashSetOf() }).add(pos) }
}
fun update(world: World, pos: BlockPos, workingState: Boolean) {
val (x, y, z) = pos
val players = world.server!!.playerManager.playerList
for (i in players.indices) {
val player = players[i]
if (player.world.registryKey === world.registryKey) {
val xOffset = x - player.x
val yOffset = y - player.y
val zOffset = z - player.z
if (xOffset * xOffset + yOffset * yOffset + zOffset * zOffset < 64 * 64) {
val buf = PacketByteBufs.create()
buf.writeLong(pos.asLong())
buf.writeBoolean(workingState)
ServerPlayNetworking.send(player, MachineStateUpdatePacket.UPDATE_PACKET_ID, buf)
}
}
}
}
@Environment(EnvType.CLIENT)
fun initClient() {
var ticks = 0
ClientTickEvents.END_CLIENT_TICK.register { client ->
ticks++
val world = client.world
if (world != null && ticks % 15 == 0) {
chunksToUpdate.values.removeIf { positions ->
positions.forEach { (x, y, z) ->
client.worldRenderer.scheduleBlockRenders(x , y, z, x, y,z)
}
true
}
}
}
}
}
================================================
FILE: src/main/kotlin/me/steven/indrev/blockentities/MachineBlockEntity.kt
================================================
package me.steven.indrev.blockentities
import me.steven.indrev.IREnergyStorage
import me.steven.indrev.api.machines.Tier
import me.steven.indrev.api.machines.TransferMode
import me.steven.indrev.api.sideconfigs.ConfigurationType
import me.steven.indrev.api.sideconfigs.SideConfiguration
import me.steven.indrev.blocks.machine.MachineBlock
import me.steven.indrev.components.*
import me.steven.indrev.components.multiblock.MultiBlockComponent
import me.steven.indrev.config.IConfig
import me.steven.indrev.config.IRConfig
import me.steven.indrev.items.upgrade.Enhancer
import me.steven.indrev.registry.MachineRegistry
import me.steven.indrev.utils.bucket
import me.steven.indrev.utils.transferEnergy
import me.steven.indrev.utils.transferFluids
import me.steven.indrev.utils.transferItems
import net.fabricmc.api.EnvType
import net.fabricmc.api.Environment
import net.minecraft.block.BlockState
import net.minecraft.client.MinecraftClient
import net.minecraft.inventory.SidedInventory
import net.minecraft.nbt.NbtCompound
import net.minecraft.util.math.BlockPos
import net.minecraft.util.math.Direction
import net.minecraft.world.WorldAccess
import kotlin.collections.set
abstract class MachineBlockEntity<T : IConfig>(val tier: Tier, val registry: MachineRegistry, pos: BlockPos, state: BlockState)
: BaseMachineBlockEntity(registry.blockEntityType(tier), pos, state) {
val validConnections = Direction.values().toMutableList()
override var guiSyncableComponent: GuiSyncableComponent? = GuiSyncableComponent()
var energy: Long by autosync(ENERGY_ID, 0L) { value ->
when (tier) {
Tier.CREATIVE -> energyCapacity
else -> value.coerceIn(0, energyCapacity)
}
}
var inventoryComponent: InventoryComponent? = null
var temperatureComponent: TemperatureComponent? = null
var fluidComponent: FluidComponent? = null
var multiblockComponent: MultiBlockComponent? = null
var enhancerComponent: EnhancerComponent? = null
var itemTransferCooldown = 0
var workingState: Boolean = false
set(value) {
val update = value != field
field = value
if (update && world?.isClient == false)
GlobalStateController.update(world!!, pos, value)
}
get() {
if (world?.isClient == true && GlobalStateController.workingStateTracker.contains(pos.asLong())) {
MinecraftClient.getInstance().execute { field = GlobalStateController.workingStateTracker.remove(pos.asLong()) }
}
return field
}
var ticks = 0
@Suppress("UNCHECKED_CAST")
val config: T by lazy { registry.config(tier) as T }
open val maxInput: Long = tier.io
open val maxOutput: Long = tier.io
open val energyCapacity: Long get() = config.maxEnergyStored + (IRConfig.upgrades.bufferUpgradeModifier * (enhancerComponent?.getCount(Enhancer.BUFFER) ?: 0))
init {
trackLong(MAX_ENERGY_ID) { energyCapacity }
}
open val storage = MachineEnergyStorage()
protected open fun machineTick() {}
@Environment(EnvType.CLIENT)
open fun machineClientTick() {}
fun tick() {
inventoryComponent?.run { enhancerComponent?.updateEnhancers(inventory) }
ticks++
multiblockComponent?.tick(world!!, pos, cachedState)
if (multiblockComponent?.isBuilt(world!!, pos, cachedState) == false) return
transferEnergy()
transferItems()
transferFluids()
machineTick()
if (isMarkedForUpdate) {
markDirty()
if (syncToWorld) sync()
isMarkedForUpdate = false
}
}
open fun getProcessingSpeed(): Double {
return 1.0 + (IRConfig.upgrades.speedUpgradeModifier * (enhancerComponent?.getCount(Enhancer.SPEED) ?: 0))
}
open fun getEnergyCost(): Long = 0
// internal consumption
fun use(amount: Long): Boolean {
val extracted = amount.coerceAtMost(energy)
if (extracted == amount) {
this.energy -= extracted
return true
}
return false
}
fun canUse(amount: Long): Boolean {
val extracted = amount.coerceAtMost(energy)
return extracted == amount
}
override fun getInventory(state: BlockState?, world: WorldAccess?, pos: BlockPos?): SidedInventory? = inventoryComponent?.inventory
override fun isConfigurable(type: ConfigurationType): Boolean {
return when (type) {
ConfigurationType.ITEM -> inventoryComponent != null
&& (inventoryComponent?.inventory?.inputSlots?.isNotEmpty() == true
|| inventoryComponent?.inventory?.outputSlots?.isNotEmpty() == true)
ConfigurationType.FLUID -> fluidComponent != null
ConfigurationType.ENERGY -> false
}
}
override fun applyDefault(state: BlockState, type: ConfigurationType, configuration: MutableMap<Direction, TransferMode>) {
val direction = (state.block as MachineBlock).getFacing(state)
when (type) {
ConfigurationType.ITEM -> {
configuration[direction.rotateYClockwise()] = TransferMode.INPUT
configuration[direction.rotateYCounterclockwise()] = TransferMode.OUTPUT
}
ConfigurationType.ENERGY -> throw IllegalArgumentException("cannot apply energy configuration to $this")
else -> return
}
}
override fun getValidConfigurations(type: ConfigurationType): Array<TransferMode> {
return when (type) {
ConfigurationType.ITEM -> TransferMode.DEFAULT
ConfigurationType.FLUID, ConfigurationType.ENERGY -> arrayOf(TransferMode.INPUT, TransferMode.OUTPUT, TransferMode.NONE)
}
}
override fun getCurrentConfiguration(type: ConfigurationType): SideConfiguration {
return when (type) {
ConfigurationType.ITEM -> inventoryComponent!!.itemConfig
ConfigurationType.FLUID -> fluidComponent!!.transferConfig
ConfigurationType.ENERGY -> error("nope")
}
}
override fun isFixed(type: ConfigurationType): Boolean = false
open fun getFluidTransferRate(): Long = when (tier) {
Tier.MK1 -> bucket / 3
Tier.MK2 -> bucket * 2 / 3
else -> bucket
}
override fun fromTag(tag: NbtCompound) {
inventoryComponent?.readNbt(tag)
inventoryComponent?.run { enhancerComponent?.updateEnhancers(inventory) }
temperatureComponent?.readNbt(tag)
fluidComponent?.fromTag(tag)
multiblockComponent?.readNbt(tag)
energy = tag.getLong("Energy")
}
override fun toTag(tag: NbtCompound) {
tag.putLong("Energy", energy)
inventoryComponent?.writeNbt(tag)
temperatureComponent?.writeNbt(tag)
fluidComponent?.toTag(tag)
multiblockComponent?.writeNbt(tag)
}
override fun fromClientTag(tag: NbtCompound) {
}
override fun toClientTag(tag: NbtCompound) {
}
open inner class MachineEnergyStorage : IREnergyStorage() {
override fun getAmount(): Long = energy
override fun setAmount(v: Long) {
energy = v
}
override fun getCapacity(): Long = energyCapacity
override fun getMaxExtract(side: Direction?): Long = maxOutput
override fun getMaxInsert(side: Direction?): Long = maxInput
override fun onFinalCommit() {
super.onFinalCommit()
markForUpdate()
}
}
companion object {
const val ENERGY_ID = 0
const val MAX_ENERGY_ID = 1
const val TEMPERATURE_ID = 2
const val MAX_TEMPERATURE_ID = 3
}
}
================================================
FILE: src/main/kotlin/me/steven/indrev/blockentities/Syncable.kt
================================================
package me.steven.indrev.blockentities
interface Syncable {
fun markForUpdate(condition: () -> Boolean = { true })
}
================================================
FILE: src/main/kotlin/me/steven/indrev/blockentities/cables/BasePipeBlockEntity.kt
================================================
package me.steven.indrev.blockentities.cables
import com.google.common.base.Preconditions
import it.unimi.dsi.fastutil.objects.Object2ObjectOpenHashMap
import me.steven.indrev.api.machines.Tier
import me.steven.indrev.blocks.machine.pipes.BasePipeBlock
import me.steven.indrev.networks.Network
import me.steven.indrev.registry.IRBlockRegistry
import net.fabricmc.fabric.api.rendering.data.v1.RenderAttachmentBlockEntity
import net.minecraft.block.BlockState
import net.minecraft.block.entity.BlockEntity
import net.minecraft.client.MinecraftClient
import net.minecraft.nbt.NbtCompound
import net.minecraft.nbt.NbtList
import net.minecraft.nbt.NbtOps
import net.minecraft.network.packet.s2c.play.BlockEntityUpdateS2CPacket
import net.minecraft.server.world.ServerWorld
import net.minecraft.util.math.BlockPos
import net.minecraft.util.math.Direction
class BasePipeBlockEntity(val pipeType: Network.Type<*>, tier: Tier, pos: BlockPos, state: BlockState) :
BlockEntity(when (tier) {
Tier.MK1 -> IRBlockRegistry.COVERABLE_BLOCK_ENTITY_TYPE_MK1
Tier.MK2 -> IRBlockRegistry.COVERABLE_BLOCK_ENTITY_TYPE_MK2
Tier.MK3 -> IRBlockRegistry.COVERABLE_BLOCK_ENTITY_TYPE_MK3
Tier.MK4 -> IRBlockRegistry.COVERABLE_BLOCK_ENTITY_TYPE_MK4
Tier.CREATIVE -> error("no creative cable")
}, pos, state), RenderAttachmentBlockEntity {
val connections = Object2ObjectOpenHashMap<Direction, BasePipeBlock.ConnectionType>()
init {
connections.defaultReturnValue(BasePipeBlock.ConnectionType.NONE)
}
var coverState: BlockState? = null
override fun getRenderAttachmentData(): Any {
return PipeRenderData(
coverState,
connections.filterValues { type -> type == BasePipeBlock.ConnectionType.CONNECTED }.keys.toTypedArray()
)
}
override fun readNbt(tag: NbtCompound) {
this.coverState = null
if (tag.contains("coverState")) {
BlockState.CODEC.decode(NbtOps.INSTANCE, tag.getCompound("coverState")).result().ifPresent { pair ->
this.coverState = pair.first
}
}
val list = tag.getList("connections", 10)
connections.clear()
list?.forEach { t ->
t as NbtCompound
val dir = Direction.byId(t.getByte("d").toInt())
val type = BasePipeBlock.ConnectionType.byId(t.getByte("c").toInt())
connections[dir] = type
}
super.readNbt(tag)
if (world != null && world!!.isClient) {
MinecraftClient.getInstance().worldRenderer.updateBlock(world!!, pos, null, null, 0)
}
}
override fun writeNbt(tag: NbtCompound) {
if (this.coverState != null) {
BlockState.CODEC.encode(this.coverState, NbtOps.INSTANCE, NbtCompound()).result().ifPresent { t ->
tag.put("coverState", t)
}
}
val list = NbtList()
connections.forEach { (dir, conn) ->
if (conn != BasePipeBlock.ConnectionType.NONE) {
val t = NbtCompound()
t.putByte("d", dir.id.toByte())
t.putByte("c", conn.id.toByte())
list.add(t)
}
}
tag.put("connections", list)
}
fun sync() {
Preconditions.checkNotNull(world) // Maintain distinct failure case from below
check(world is ServerWorld) { "Cannot call sync() on the logical client! Did you check world.isClient first?" }
(world as ServerWorld).chunkManager.markForUpdate(getPos())
}
override fun toUpdatePacket(): BlockEntityUpdateS2CPacket {
return BlockEntityUpdateS2CPacket.create(this)
}
override fun toInitialChunkDataNbt(): NbtCompound {
val nbt = super.toInitialChunkDataNbt()
writeNbt(nbt)
return nbt
}
data class PipeRenderData(val cover: BlockState?, val connections: Array<Direction>)
}
================================================
FILE: src/main/kotlin/me/steven/indrev/blockentities/crafters/CompressorBlockEntity.kt
================================================
package me.steven.indrev.blockentities.crafters
import me.steven.indrev.api.machines.Tier
import me.steven.indrev.components.EnhancerComponent
import me.steven.indrev.components.TemperatureComponent
import me.steven.indrev.components.trackObject
import me.steven.indrev.inventories.inventory
import me.steven.indrev.items.upgrade.Enhancer
import me.steven.indrev.recipes.machines.CompressorRecipe
import me.steven.indrev.recipes.machines.IRRecipeType
import me.steven.indrev.registry.MachineRegistry
import net.minecraft.block.BlockState
import net.minecraft.util.math.BlockPos
class CompressorBlockEntity(tier: Tier, pos: BlockPos, state: BlockState) :
CraftingMachineBlockEntity<CompressorRecipe>(tier, MachineRegistry.COMPRESSOR_REGISTRY, pos, state) {
init {
this.temperatureComponent = TemperatureComponent(this, 0.06, 700..1100, 1500)
this.enhancerComponent = EnhancerComponent(intArrayOf(4, 5, 6, 7), Enhancer.DEFAULT, this::getMaxCount)
this.inventoryComponent = inventory(this) {
input { slot = 2 }
output { slot = 3 }
}
trackObject(CRAFTING_COMPONENT_ID, craftingComponents[0])
}
override val type: IRRecipeType<CompressorRecipe> = CompressorRecipe.TYPE
companion object {
const val CRAFTING_COMPONENT_ID = 4
}
}
================================================
FILE: src/main/kotlin/me/steven/indrev/blockentities/crafters/CompressorFactoryBlockEntity.kt
================================================
package me.steven.indrev.blockentities.crafters
import me.steven.indrev.api.machines.Tier
import me.steven.indrev.components.CraftingComponent
import me.steven.indrev.components.EnhancerComponent
import me.steven.indrev.components.TemperatureComponent
import me.steven.indrev.components.multiblock.MultiBlockComponent
import me.steven.indrev.components.multiblock.definitions.FactoryStructureDefinition
import me.steven.indrev.components.trackObject
import me.steven.indrev.inventories.inventory
import me.steven.indrev.items.upgrade.Enhancer
import me.steven.indrev.recipes.machines.CompressorRecipe
import me.steven.indrev.recipes.machines.IRRecipeType
import me.steven.indrev.registry.MachineRegistry
import net.minecraft.block.BlockState
import net.minecraft.nbt.NbtCompound
import net.minecraft.util.math.BlockPos
class CompressorFactoryBlockEntity(tier: Tier, pos: BlockPos, state: BlockState) :
CraftingMachineBlockEntity<CompressorRecipe>(tier, MachineRegistry.COMPRESSOR_FACTORY_REGISTRY, pos, state) {
init {
this.temperatureComponent = TemperatureComponent(this, 0.06, 700..1100, 1400)
this.enhancerComponent = EnhancerComponent(intArrayOf(2, 3, 4, 5), Enhancer.DEFAULT, this::getMaxCount)
this.inventoryComponent = inventory(this) {
input { slots = intArrayOf(6, 8, 10, 12, 14) }
output { slots = intArrayOf(7, 9, 11, 13, 15) }
}
this.craftingComponents = Array(5) { index ->
val component = CraftingComponent(index, this).apply {
inputSlots = intArrayOf(6 + (index * 2))
outputSlots = intArrayOf(6 + (index * 2) + 1)
}
trackObject(CRAFTING_COMPONENT_START_ID + index, component)
component
}
this.multiblockComponent = MultiBlockComponent(FactoryStructureDefinition.SELECTOR)
}
override val syncToWorld: Boolean = true
override val type: IRRecipeType<CompressorRecipe> = CompressorRecipe.TYPE
override fun fromClientTag(tag: NbtCompound) {
multiblockComponent?.readNbt(tag)
}
override fun toClientTag(tag: NbtCompound) {
multiblockComponent?.writeNbt(tag)
}
companion object {
const val CRAFTING_COMPONENT_START_ID = 4
}
}
================================================
FILE: src/main/kotlin/me/steven/indrev/blockentities/crafters/CondenserBlockEntity.kt
================================================
package me.steven.indrev.blockentities.crafters
import me.steven.indrev.api.machines.Tier
import me.steven.indrev.api.machines.TransferMode
import me.steven.indrev.api.sideconfigs.ConfigurationType
import me.steven.indrev.blocks.machine.MachineBlock
import me.steven.indrev.components.EnhancerComponent
import me.steven.indrev.components.FluidComponent
import me.steven.indrev.components.trackObject
import me.steven.indrev.inventories.inventory
import me.steven.indrev.items.upgrade.Enhancer
import me.steven.indrev.recipes.machines.CondenserRecipe
import me.steven.indrev.recipes.machines.IRRecipeType
import me.steven.indrev.registry.MachineRegistry
import me.steven.indrev.utils.bucket
import net.minecraft.block.BlockState
import net.minecraft.nbt.NbtCompound
import net.minecraft.util.math.BlockPos
import net.minecraft.util.math.Direction
class CondenserBlockEntity(tier: Tier, pos: BlockPos, state: BlockState) :
CraftingMachineBlockEntity<CondenserRecipe>(tier, MachineRegistry.CONDENSER_REGISTRY, pos, state) {
init {
this.enhancerComponent = EnhancerComponent(intArrayOf(3, 4, 5, 6), Enhancer.DEFAULT, this::getMaxCount)
this.inventoryComponent = inventory(this) {
output { slot = 2 }
coolerSlot = 1
}
this.fluidComponent = object : FluidComponent({ this }, bucket * 8) {
init {
this.inputTanks = intArrayOf(0)
}
}
trackObject(CRAFTING_COMPONENT_ID, craftingComponents[0])
trackObject(INPUT_TANK_ID, fluidComponent!![0])
}
override val syncToWorld: Boolean = true
override val type: IRRecipeType<CondenserRecipe> = CondenserRecipe.TYPE
override fun getMaxCount(enhancer: Enhancer): Int {
return if (enhancer == Enhancer.SPEED) 4 else super.getMaxCount(enhancer)
}
override fun applyDefault(
state: BlockState,
type: ConfigurationType,
configuration: MutableMap<Direction, TransferMode>
) {
val direction = (state.block as MachineBlock).getFacing(state)
when (type) {
ConfigurationType.ITEM -> {
configuration[direction.rotateYCounterclockwise()] = TransferMode.OUTPUT
}
else -> super.applyDefault(state, type, configuration)
}
}
override fun getValidConfigurations(type: ConfigurationType): Array<TransferMode> {
return when (type) {
ConfigurationType.ITEM -> arrayOf(TransferMode.OUTPUT, TransferMode.NONE)
else -> return super.getValidConfigurations(type)
}
}
override fun fromClientTag(tag: NbtCompound) {
fluidComponent!!.fromTag(tag)
}
override fun toClientTag(tag: NbtCompound) {
fluidComponent!!.toTag(tag)
}
companion object {
const val CRAFTING_COMPONENT_ID = 2
const val INPUT_TANK_ID = 3
}
}
================================================
FILE: src/main/kotlin/me/steven/indrev/blockentities/crafters/CondenserBlockEntityRenderer.kt
================================================
package me.steven.indrev.blockentities.crafters
import alexiil.mc.lib.attributes.fluid.render.FluidRenderFace
import me.steven.indrev.blocks.machine.HorizontalFacingMachineBlock
import net.minecraft.client.render.VertexConsumerProvider
import net.minecraft.client.render.block.entity.BlockEntityRenderer
import net.minecraft.client.util.math.MatrixStack
import net.minecraft.util.math.Direction
class CondenserBlockEntityRenderer : BlockEntityRenderer<CondenserBlockEntity> {
override fun render(
entity: CondenserBlockEntity?,
tickDelta: Float,
matrices: MatrixStack?,
vertexConsumers: VertexConsumerProvider?,
light: Int,
overlay: Int
) {
val fluidComponent = entity?.fluidComponent ?: return
val faces = when (entity.cachedState[HorizontalFacingMachineBlock.HORIZONTAL_FACING]) {
Direction.NORTH -> NORTH_FACE
Direction.SOUTH -> SOUTH_FACE
Direction.WEST -> WEST_FACE
Direction.EAST -> EAST_FACE
else -> return
}
val volume = fluidComponent[0]
if (!volume.isEmpty) {
volume.render(faces, vertexConsumers, matrices)
}
}
companion object {
private val NORTH_FACE =
listOf(FluidRenderFace.createFlatFaceZ(0.815, 0.625, -0.005, 0.19, 0.815, -0.005, 1.0, true, false))
private val SOUTH_FACE =
listOf(FluidRenderFace.createFlatFaceZ(0.185, 0.625, 1.005, 0.81, 0.815, 1.005, 1.0, true, false))
private val WEST_FACE =
listOf(FluidRenderFace.createFlatFaceX(-0.005, 0.625, 0.185, -0.005, 0.815, 0.81, 1.0, false, false))
private val EAST_FACE =
listOf(FluidRenderFace.createFlatFaceX(1.005, 0.625, 0.815, 1.005, 0.815, 0.19, 1.0, false, false))
}
}
================================================
FILE: src/main/kotlin/me/steven/indrev/blockentities/crafters/CraftingMachineBlockEntity.kt
================================================
package me.steven.indrev.blockentities.crafters
import it.unimi.dsi.fastutil.objects.Object2IntArrayMap
import it.unimi.dsi.fastutil.objects.Object2IntOpenHashMap
import me.steven.indrev.api.machines.Tier
import me.steven.indrev.blockentities.MachineBlockEntity
import me.steven.indrev.components.CraftingComponent
import me.steven.indrev.config.BasicMachineConfig
import me.steven.indrev.config.HeatMachineConfig
import me.steven.indrev.config.IRConfig
import me.steven.indrev.items.upgrade.Enhancer
import me.steven.indrev.recipes.IRecipeGetter
import me.steven.indrev.recipes.machines.IRRecipe
import me.steven.indrev.registry.MachineRegistry
import net.minecraft.block.BlockState
import net.minecraft.entity.ExperienceOrbEntity
import net.minecraft.entity.player.PlayerEntity
import net.minecraft.item.Item
import net.minecraft.item.ItemStack
import net.minecraft.nbt.NbtCompound
import net.minecraft.nbt.NbtList
import net.minecraft.recipe.SmeltingRecipe
import net.minecraft.server.world.ServerWorld
import net.minecraft.util.Identifier
import net.minecraft.util.math.BlockPos
import net.minecraft.util.math.Vec3d
import net.minecraft.world.World
import java.util.function.IntBinaryOperator
import kotlin.math.floor
abstract class CraftingMachineBlockEntity<T : IRRecipe>(tier: Tier, registry: MachineRegistry, pos: BlockPos, state: BlockState) :
MachineBlockEntity<BasicMachineConfig>(tier, registry, pos, state) {
override val maxOutput: Long = 0
private var currentRecipe: T? = null
val usedRecipes = Object2IntOpenHashMap<Identifier>()
abstract val type: IRecipeGetter<T>
var craftingComponents = Array(1) { CraftingComponent(0, this) }
var isSplitOn = false
override fun machineTick() {
ticks++
craftingComponents.forEach { it.tick() }
workingState = craftingComponents.any { it.isCrafting }
if (ticks % 20 == 0 && isSplitOn) { splitStacks() }
}
override fun getProcessingSpeed(): Double {
val isFullEfficiency = temperatureComponent?.isFullEfficiency() == true
val baseSpeed = if (isFullEfficiency)
((config as? HeatMachineConfig)?.processTemperatureBoost ?: 1.0) * config.processSpeed
else
config.processSpeed
return baseSpeed + (IRConfig.upgrades.speedUpgradeModifier * (enhancerComponent?.getCount(Enhancer.SPEED) ?: 0))
}
override fun getEnergyCost(): Long {
val speedEnhancers = (enhancerComponent!!.getCount(Enhancer.SPEED) * 2).coerceAtLeast(1)
return (if (temperatureComponent?.isFullEfficiency() == true) config.energyCost * 1.5
else config.energyCost).toLong() * speedEnhancers
}
open fun getMaxCount(enhancer: Enhancer): Int {
return when (enhancer) {
Enhancer.SPEED -> return 1
Enhancer.BUFFER -> 4
else -> 1
}
}
open fun splitStacks() {
if (craftingComponents.size <= 1) return
val inventory = inventoryComponent!!.inventory
splitStacks(inventory.inputSlots)
}
fun splitStacks(inputSlots: IntArray) {
if (craftingComponents.size <= 1) return
val inventory = inventoryComponent!!.inventory
val (item, sum) = inputSlots.associateStacks { inventory.getStack(it) }.maxByOrNull { it.value } ?: return
if (sum <= 0) return
val freeSlots = inputSlots.filter { inventory.fits(item, it) }
var remaining = sum
val slotsUsed = freeSlots.size.coerceAtMost(sum)
val rem = sum % slotsUsed
val isBelowLimit = slotsUsed > freeSlots.size
val baseAmount = Math.floorDiv(sum, slotsUsed)
freeSlots.forEachIndexed { index, slot ->
if (isBelowLimit && index + 1 > slotsUsed) {
inventory.setStack(slot, ItemStack.EMPTY)
return@forEachIndexed
}
var set = baseAmount
if (rem != 0 && rem > index && remaining > 0)
set++
if (index == slotsUsed - 1)
set += remaining
remaining -= set
if (remaining < 0) set += remaining
inventory.setStack(slot, ItemStack(item, set))
}
}
private inline fun IntArray.associateStacks(transform: (Int) -> ItemStack): Map<Item, Int> {
return associateToStacks(Object2IntArrayMap(5), transform)
}
private inline fun <M : Object2IntArrayMap<Item>> IntArray.associateToStacks(destination: M, transform: (Int) -> ItemStack): M {
for (element in this) {
val stack = transform(element)
if (!stack.isEmpty && stack.nbt?.isEmpty != false)
destination.mergeInt(stack.item, stack.count, IntBinaryOperator { old, new -> old + new })
}
return destination
}
override fun fromTag(tag: NbtCompound) {
val craftTags = tag.getList("craftingComponents", 10)
craftTags?.forEach { craftTag ->
val index = (craftTag as NbtCompound).getInt("index")
craftingComponents[index].readNbt(craftTag)
}
isSplitOn = tag.getBoolean("split")
super.fromTag(tag)
}
override fun toTag(tag: NbtCompound) {
val craftTags = NbtList()
craftingComponents.forEachIndexed { index, crafting ->
val craftTag = NbtCompound()
craftTags.add(crafting.writeNbt(craftTag))
craftTag.putInt("index", index)
}
tag.put("craftingComponents", craftTags)
tag.putBoolean("split", isSplitOn)
return super.toTag(tag)
}
@Suppress("UNCHECKED_CAST")
fun dropExperience(player: PlayerEntity) {
val list = mutableListOf<T>()
usedRecipes.forEach { (id, amount) ->
for (recipes in world!!.recipeManager.recipes.values) {
val recipe = recipes[id] ?: continue
list.add(recipe as? T ?: continue)
if (recipe is SmeltingRecipe)
spawnOrbs(world!!, player.pos, amount, recipe.experience)
break
}
}
player.unlockRecipes(list.toList())
usedRecipes.clear()
}
private fun spawnOrbs(world: World, pos: Vec3d, amount: Int, experience: Float) {
val xp = amount.toFloat() * experience
var n = floor(xp).toInt()
val decimal = xp % 1
if (decimal != 0.0f && Math.random() < decimal.toDouble()) {
++n
}
ExperienceOrbEntity.spawn(world as ServerWorld, pos, n)
}
}
================================================
FILE: src/main/kotlin/me/steven/indrev/blockentities/crafters/ElectricFurnaceBlockEntity.kt
================================================
package me.steven.indrev.blockentities.crafters
import me.steven.indrev.api.machines.Tier
import me.steven.indrev.components.EnhancerComponent
import me.steven.indrev.components.TemperatureComponent
import me.steven.indrev.components.trackObject
import me.steven.indrev.inventories.inventory
import me.steven.indrev.items.upgrade.Enhancer
import me.steven.indrev.mixin.common.MixinAbstractCookingRecipe
import me.steven.indrev.recipes.IRecipeGetter
import me.steven.indrev.recipes.machines.VanillaCookingRecipeCachedGetter
import me.steven.indrev.registry.MachineRegistry
import net.minecraft.block.BlockState
import net.minecraft.util.math.BlockPos
class ElectricFurnaceBlockEntity(tier: Tier, pos: BlockPos, state: BlockState) :
CraftingMachineBlockEntity<MixinAbstractCookingRecipe>(tier, MachineRegistry.ELECTRIC_FURNACE_REGISTRY, pos, state) {
init {
this.temperatureComponent = TemperatureComponent(this, 0.1, 1300..1700, 2000)
this.enhancerComponent = EnhancerComponent(intArrayOf(4, 5, 6, 7), Enhancer.FURNACE, this::getMaxCount)
this.inventoryComponent = inventory(this) {
input { slot = 2 }
output { slot = 3 }
}
trackObject(CRAFTING_COMPONENT_ID, craftingComponents[0])
}
@Suppress("UNCHECKED_CAST")
override val type: IRecipeGetter<MixinAbstractCookingRecipe>
get() {
val upgrades = enhancerComponent!!.enhancers
return when (upgrades.keys.firstOrNull { it == Enhancer.BLAST_FURNACE || it == Enhancer.SMOKER }) {
Enhancer.BLAST_FURNACE -> VanillaCookingRecipeCachedGetter.BLASTING
Enhancer.SMOKER -> VanillaCookingRecipeCachedGetter.SMOKING
else -> VanillaCookingRecipeCachedGetter.SMELTING
} as IRecipeGetter<MixinAbstractCookingRecipe>
}
companion object {
const val CRAFTING_COMPONENT_ID = 4
}
}
================================================
FILE: src/main/kotlin/me/steven/indrev/blockentities/crafters/ElectricFurnaceFactoryBlockEntity.kt
================================================
package me.steven.indrev.blockentities.crafters
import me.steven.indrev.api.machines.Tier
import me.steven.indrev.components.CraftingComponent
import me.steven.indrev.components.EnhancerComponent
import me.steven.indrev.components.TemperatureComponent
import me.steven.indrev.components.multiblock.MultiBlockComponent
import me.steven.indrev.components.multiblock.definitions.FactoryStructureDefinition
import me.steven.indrev.components.trackObject
import me.steven.indrev.inventories.inventory
import me.steven.indrev.items.upgrade.Enhancer
import me.steven.indrev.mixin.common.MixinAbstractCookingRecipe
import me.steven.indrev.recipes.IRecipeGetter
import me.steven.indrev.recipes.machines.VanillaCookingRecipeCachedGetter
import me.steven.indrev.registry.MachineRegistry
import net.minecraft.block.BlockState
import net.minecraft.nbt.NbtCompound
import net.minecraft.util.math.BlockPos
class ElectricFurnaceFactoryBlockEntity(tier: Tier, pos: BlockPos, state: BlockState) :
CraftingMachineBlockEntity<MixinAbstractCookingRecipe>(tier, MachineRegistry.ELECTRIC_FURNACE_FACTORY_REGISTRY, pos, state) {
init {
this.temperatureComponent = TemperatureComponent(this, 0.1, 1300..1700, 2000)
this.enhancerComponent = EnhancerComponent(intArrayOf(2, 3, 4, 5), Enhancer.FURNACE, this::getMaxCount)
this.inventoryComponent = inventory(this) {
input { slots = intArrayOf(6, 8, 10, 12, 14) }
output { slots = intArrayOf(7, 9, 11, 13, 15) }
}
this.craftingComponents = Array(5) { index ->
val component = CraftingComponent(index, this).apply {
inputSlots = intArrayOf(6 + (index * 2))
outputSlots = intArrayOf(6 + (index * 2) + 1)
}
trackObject(CRAFTING_COMPONENT_START_ID + index, component)
component
}
this.multiblockComponent = MultiBlockComponent(FactoryStructureDefinition.SELECTOR)
}
override val syncToWorld: Boolean = true
@Suppress("UNCHECKED_CAST")
override val type: IRecipeGetter<MixinAbstractCookingRecipe>
get() {
val upgrades = enhancerComponent!!.enhancers
return when (upgrades.keys.firstOrNull { it == Enhancer.BLAST_FURNACE || it == Enhancer.SMOKER }) {
Enhancer.BLAST_FURNACE -> VanillaCookingRecipeCachedGetter.BLASTING
Enhancer.SMOKER -> VanillaCookingRecipeCachedGetter.SMOKING
else -> VanillaCookingRecipeCachedGetter.SMELTING
} as IRecipeGetter<MixinAbstractCookingRecipe>
}
override fun fromClientTag(tag: NbtCompound) {
multiblockComponent?.readNbt(tag)
}
override fun toClientTag(tag: NbtCompound) {
multiblockComponent?.writeNbt(tag)
}
companion object {
const val CRAFTING_COMPONENT_START_ID = 4
}
}
================================================
FILE: src/main/kotlin/me/steven/indrev/blockentities/crafters/ElectrolyticSeparatorBlockEntity.kt
================================================
package me.steven.indrev.blockentities.crafters
import me.steven.indrev.api.machines.Tier
import me.steven.indrev.api.machines.TransferMode
import me.steven.indrev.api.sideconfigs.ConfigurationType
import me.steven.indrev.components.EnhancerComponent
import me.steven.indrev.components.FluidComponent
import me.steven.indrev.components.TemperatureComponent
import me.steven.indrev.components.trackObject
import me.steven.indrev.inventories.inventory
import me.steven.indrev.items.upgrade.Enhancer
import me.steven.indrev.recipes.machines.ElectrolysisRecipe
import me.steven.indrev.recipes.machines.IRRecipeType
import me.steven.indrev.registry.MachineRegistry
import me.steven.indrev.utils.bucket
import net.minecraft.block.BlockState
import net.minecraft.util.math.BlockPos
import net.minecraft.util.math.Direction
class ElectrolyticSeparatorBlockEntity(tier: Tier, pos: BlockPos, state: BlockState)
: CraftingMachineBlockEntity<ElectrolysisRecipe>(tier, MachineRegistry.ELECTROLYTIC_SEPARATOR_REGISTRY, pos, state) {
init {
this.temperatureComponent = TemperatureComponent(this, 0.06, 500..700, 900)
this.enhancerComponent = EnhancerComponent(intArrayOf(1, 2, 3, 4), Enhancer.DEFAULT, this::getMaxCount)
this.inventoryComponent = inventory(this) {
coolerSlot = 0
}
this.fluidComponent = ElectrolyticSeparatorFluidComponent()
trackObject(CRAFTING_COMPONENT_ID, craftingComponents[0])
trackObject(INPUT_TANK_ID, fluidComponent!![0])
trackObject(FIRST_OUTPUT_TANK_ID, fluidComponent!![1])
trackObject(SECOND_OUTPUT_TANK_ID, fluidComponent!![2])
}
override val type: IRRecipeType<ElectrolysisRecipe> = ElectrolysisRecipe.TYPE
override fun applyDefault(
state: BlockState,
type: ConfigurationType,
configuration: MutableMap<Direction, TransferMode>
) {
if (type != ConfigurationType.ITEM)
super.applyDefault(state, type, configuration)
}
override fun getValidConfigurations(type: ConfigurationType): Array<TransferMode> {
return when (type) {
ConfigurationType.FLUID -> TransferMode.ELECTROLYTIC_SEPARATOR
else -> return super.getValidConfigurations(type)
}
}
inner class ElectrolyticSeparatorFluidComponent : FluidComponent({ this }, bucket * 4, 3) {
init {
this.inputTanks = intArrayOf(0)
this.outputTanks = intArrayOf(1, 2)
}
override fun getValidTanks(dir: Direction): IntArray {
return when (transferConfig[dir]!!) {
TransferMode.OUTPUT_FIRST -> intArrayOf(1)
TransferMode.OUTPUT_SECOND -> intArrayOf(2)
else -> super.getValidTanks(dir)
}
}
}
companion object {
const val CRAFTING_COMPONENT_ID = 4
const val INPUT_TANK_ID = 5
const val FIRST_OUTPUT_TANK_ID = 6
const val SECOND_OUTPUT_TANK_ID = 7
}
}
================================================
FILE: src/main/kotlin/me/steven/indrev/blockentities/crafters/FluidInfuserBlockEntity.kt
================================================
package me.steven.indrev.blockentities.crafters
import me.steven.indrev.api.machines.Tier
import me.steven.indrev.components.EnhancerComponent
import me.steven.indrev.components.FluidComponent
import me.steven.indrev.components.TemperatureComponent
import me.steven.indrev.components.trackObject
import me.steven.indrev.inventories.inventory
import me.steven.indrev.items.upgrade.Enhancer
import me.steven.indrev.recipes.machines.FluidInfuserRecipe
import me.steven.indrev.recipes.machines.IRRecipeType
import me.steven.indrev.registry.MachineRegistry
import me.steven.indrev.utils.bucket
import net.minecraft.block.BlockState
import net.minecraft.nbt.NbtCompound
import net.minecraft.util.math.BlockPos
class FluidInfuserBlockEntity(tier: Tier, pos: BlockPos, state: BlockState)
: CraftingMachineBlockEntity<FluidInfuserRecipe>(tier, MachineRegistry.FLUID_INFUSER_REGISTRY, pos, state) {
init {
this.temperatureComponent = TemperatureComponent(this, 0.06, 700..1100, 1400)
this.enhancerComponent = EnhancerComponent(intArrayOf(4, 5, 6, 7), Enhancer.DEFAULT, this::getMaxCount)
this.inventoryComponent = inventory(this) {
input { slot = 2 }
output { slot = 3 }
}
this.fluidComponent = FluidInfuserFluidComponent()
trackObject(CRAFTING_COMPONENT_ID, craftingComponents[0])
trackObject(INPUT_TANK_ID, fluidComponent!![0])
trackObject(OUTPUT_TANK_ID, fluidComponent!![1])
}
override val syncToWorld: Boolean = true
override val type: IRRecipeType<FluidInfuserRecipe> = FluidInfuserRecipe.TYPE
override fun fromClientTag(tag: NbtCompound) {
fluidComponent!!.fromTag(tag)
}
override fun toClientTag(tag: NbtCompound) {
fluidComponent!!.toTag(tag)
}
inner class FluidInfuserFluidComponent : FluidComponent({ this }, bucket * 8 , 2) {
init {
this.inputTanks = intArrayOf(0)
this.outputTanks = intArrayOf(1)
}
}
companion object {
const val CRAFTING_COMPONENT_ID = 4
const val INPUT_TANK_ID = 5
const val OUTPUT_TANK_ID = 6
}
}
================================================
FILE: src/main/kotlin/me/steven/indrev/blockentities/crafters/FluidInfuserBlockEntityRenderer.kt
================================================
package me.steven.indrev.blockentities.crafters
import alexiil.mc.lib.attributes.fluid.render.FluidRenderFace
import me.steven.indrev.blocks.machine.HorizontalFacingMachineBlock
import net.minecraft.client.render.VertexConsumerProvider
import net.minecraft.client.render.block.entity.BlockEntityRenderer
import net.minecraft.client.util.math.MatrixStack
import net.minecraft.util.math.Direction
class FluidInfuserBlockEntityRenderer : BlockEntityRenderer<FluidInfuserBlockEntity>{
override fun render(
entity: FluidInfuserBlockEntity?,
tickDelta: Float,
matrices: MatrixStack?,
vertexConsumers: VertexConsumerProvider?,
light: Int,
overlay: Int
) {
val fluidComponent = entity?.fluidComponent ?: return
val inputFace = when (entity.cachedState[HorizontalFacingMachineBlock.HORIZONTAL_FACING]) {
Direction.NORTH -> INPUT_NORTH_FACE
Direction.SOUTH -> INPUT_SOUTH_FACE
Direction.WEST -> INPUT_WEST_FACE
Direction.EAST -> INPUT_EAST_FACE
else -> return
}
val inputVolume = fluidComponent[0]
if (!inputVolume.isEmpty) {
inputVolume.render(inputFace, vertexConsumers, matrices)
}
val outputFace = when (entity.cachedState[HorizontalFacingMachineBlock.HORIZONTAL_FACING]) {
Direction.NORTH -> OUTPUT_NORTH_FACE
Direction.SOUTH -> OUTPUT_SOUTH_FACE
Direction.WEST -> OUTPUT_WEST_FACE
Direction.EAST -> OUTPUT_EAST_FACE
else -> return
}
val outputVolume = fluidComponent[1]
if (!outputVolume.isEmpty) {
outputVolume.render(outputFace, vertexConsumers, matrices)
}
}
companion ob
gitextract_2rmcmr4g/
├── .github/
│ └── ISSUE_TEMPLATE/
│ ├── bugs.md
│ └── requests.md
├── .gitignore
├── LICENSE.txt
├── README.md
├── build.gradle
├── gradle/
│ └── wrapper/
│ ├── gradle-wrapper.jar
│ └── gradle-wrapper.properties
├── gradle.properties
├── gradlew
├── gradlew.bat
├── settings.gradle
└── src/
└── main/
├── java/
│ └── me/
│ └── steven/
│ └── indrev/
│ ├── AprilFools.java
│ ├── FabricRecipeRemainder.java
│ ├── IREnergyStorage.java
│ ├── WCustomTabPanel.java
│ └── mixin/
│ ├── aprilfools/
│ │ ├── AprilFoolsMixinConfigPlugin.java
│ │ └── MixinTranslatableText.java
│ ├── client/
│ │ ├── MixinBuiltChunk.java
│ │ ├── MixinClientPlayerInteractionManager.java
│ │ ├── MixinGameRenderer.java
│ │ ├── MixinItemRenderer.java
│ │ ├── MixinLivingEntityClient.java
│ │ ├── MixinMinecraftClient.java
│ │ └── MixinWItemSlot.java
│ └── common/
│ ├── MixinAbstractCookingRecipe.java
│ ├── MixinEnchantmentHelper.java
│ ├── MixinEntity.java
│ ├── MixinItemPredicate.java
│ ├── MixinItemStack.java
│ ├── MixinLivingEntity.java
│ ├── MixinPiglinBrain.java
│ ├── MixinPlayerEntity.java
│ ├── MixinPlayerInventory.java
│ ├── MixinServerPlayerEntity.java
│ └── MixinServerWorld.java
├── kotlin/
│ └── me/
│ └── steven/
│ └── indrev/
│ ├── IndustrialRevolution.kt
│ ├── IndustrialRevolutionClient.kt
│ ├── api/
│ │ ├── AttributeModifierProvider.kt
│ │ ├── CustomEnchantmentProvider.kt
│ │ ├── IREntityExtension.kt
│ │ ├── IRPlayerEntityExtension.kt
│ │ ├── IRServerPlayerEntityExtension.kt
│ │ ├── OreDataCards.kt
│ │ ├── ServerWorldExtension.kt
│ │ ├── machines/
│ │ │ ├── Tier.kt
│ │ │ └── TransferMode.kt
│ │ └── sideconfigs/
│ │ ├── Configurable.kt
│ │ ├── ConfigurationType.kt
│ │ └── SideConfiguration.kt
│ ├── armor/
│ │ ├── IRArmorMaterial.kt
│ │ ├── ModuleFeatureRenderer.kt
│ │ └── ReinforcedElytraFeatureRenderer.kt
│ ├── blockentities/
│ │ ├── BaseBlockEntity.kt
│ │ ├── BaseMachineBlockEntity.kt
│ │ ├── GlobalStateController.kt
│ │ ├── MachineBlockEntity.kt
│ │ ├── Syncable.kt
│ │ ├── cables/
│ │ │ └── BasePipeBlockEntity.kt
│ │ ├── crafters/
│ │ │ ├── CompressorBlockEntity.kt
│ │ │ ├── CompressorFactoryBlockEntity.kt
│ │ │ ├── CondenserBlockEntity.kt
│ │ │ ├── CondenserBlockEntityRenderer.kt
│ │ │ ├── CraftingMachineBlockEntity.kt
│ │ │ ├── ElectricFurnaceBlockEntity.kt
│ │ │ ├── ElectricFurnaceFactoryBlockEntity.kt
│ │ │ ├── ElectrolyticSeparatorBlockEntity.kt
│ │ │ ├── FluidInfuserBlockEntity.kt
│ │ │ ├── FluidInfuserBlockEntityRenderer.kt
│ │ │ ├── PulverizerBlockEntity.kt
│ │ │ ├── PulverizerFactoryBlockEntity.kt
│ │ │ ├── RecyclerBlockEntity.kt
│ │ │ ├── SawmillBlockEntity.kt
│ │ │ ├── SmelterBlockEntity.kt
│ │ │ ├── SolidInfuserBlockEntity.kt
│ │ │ └── SolidInfuserFactoryBlockEntity.kt
│ │ ├── farms/
│ │ │ ├── AOEMachineBlockEntity.kt
│ │ │ ├── AOEMachineBlockEntityRenderer.kt
│ │ │ ├── BiomassComposterBlockEntity.kt
│ │ │ ├── BiomassComposterBlockEntityRenderer.kt
│ │ │ ├── ChopperBlockEntity.kt
│ │ │ ├── ChopperBlockEntityRenderer.kt
│ │ │ ├── DirtOxygenatorBlockEntity.kt
│ │ │ ├── DrainBlockEntity.kt
│ │ │ ├── FarmerBlockEntity.kt
│ │ │ ├── FisherBlockEntity.kt
│ │ │ ├── PumpBlockEntity.kt
│ │ │ ├── PumpBlockEntityRenderer.kt
│ │ │ ├── RancherBlockEntity.kt
│ │ │ └── SlaughterBlockEntity.kt
│ │ ├── generators/
│ │ │ ├── BiomassGeneratorBlockEntity.kt
│ │ │ ├── CoalGeneratorBlockEntity.kt
│ │ │ ├── GasBurningGeneratorBlockEntity.kt
│ │ │ ├── GeneratorBlockEntity.kt
│ │ │ ├── HeatGeneratorBlockEntity.kt
│ │ │ ├── HeatGeneratorBlockEntityRenderer.kt
│ │ │ ├── SolarGeneratorBlockEntity.kt
│ │ │ ├── SolidFuelGeneratorBlockEntity.kt
│ │ │ ├── SteamTurbineBlockEntity.kt
│ │ │ └── SteamTurbineSteamInputValveBlockEntity.kt
│ │ ├── laser/
│ │ │ ├── CapsuleBlockEntity.kt
│ │ │ ├── CapsuleBlockEntityRenderer.kt
│ │ │ ├── LaserBlockEntity.kt
│ │ │ └── LaserBlockEntityRenderer.kt
│ │ ├── miningrig/
│ │ │ ├── DataCardWriterBlockEntity.kt
│ │ │ ├── DrillBlockEntity.kt
│ │ │ ├── DrillBlockEntityRenderer.kt
│ │ │ ├── MiningRigBlockEntity.kt
│ │ │ └── MiningRigBlockEntityRenderer.kt
│ │ ├── modularworkbench/
│ │ │ ├── ModularWorkbenchBlockEntity.kt
│ │ │ └── ModularWorkbenchBlockEntityRenderer.kt
│ │ ├── solarpowerplant/
│ │ │ ├── HeliostatBlockEntity.kt
│ │ │ ├── HeliostatBlockEntityRenderer.kt
│ │ │ ├── SolarPowerPlantTowerBlockEntity.kt
│ │ │ └── SolarReceiverBlockEntity.kt
│ │ └── storage/
│ │ ├── CabinetBlockEntity.kt
│ │ ├── ChargePadBlockEntity.kt
│ │ ├── ChargePadBlockEntityRenderer.kt
│ │ ├── LazuliFluxContainerBlockEntity.kt
│ │ ├── LazuliFluxContainerBlockEntityRenderer.kt
│ │ ├── TankBlockEntity.kt
│ │ └── TankBlockEntityRenderer.kt
│ ├── blocks/
│ │ ├── HeliostatBlock.kt
│ │ ├── machine/
│ │ │ ├── CapsuleBlock.kt
│ │ │ ├── ChargePadBlock.kt
│ │ │ ├── DirtOxygenatorBlock.kt
│ │ │ ├── DrillBlock.kt
│ │ │ ├── DrillHeadModel.kt
│ │ │ ├── ElectrolyticSeparatorBlock.kt
│ │ │ ├── FacingMachineBlock.kt
│ │ │ ├── HorizontalFacingMachineBlock.kt
│ │ │ ├── LaserBlock.kt
│ │ │ ├── LazuliFluxContainerBlock.kt
│ │ │ ├── MachineBlock.kt
│ │ │ ├── MiningRigBlock.kt
│ │ │ ├── PumpBlock.kt
│ │ │ ├── pipes/
│ │ │ │ ├── BasePipeBlock.kt
│ │ │ │ ├── CableBlock.kt
│ │ │ │ ├── FluidPipeBlock.kt
│ │ │ │ └── ItemPipeBlock.kt
│ │ │ └── solarpowerplant/
│ │ │ ├── FluidValveBlock.kt
│ │ │ ├── SolarPowerPlantFluidOutputBlock.kt
│ │ │ ├── SolarPowerPlantTowerBlock.kt
│ │ │ ├── SolarReceiverBlock.kt
│ │ │ ├── SteamTurbineBlock.kt
│ │ │ └── SteamTurbineSteamInputValveBlock.kt
│ │ ├── misc/
│ │ │ ├── AcidFluidBlock.kt
│ │ │ ├── BiomassComposterBlock.kt
│ │ │ ├── CabinetBlock.kt
│ │ │ ├── DuctBlock.kt
│ │ │ ├── HorizontalFacingBlock.kt
│ │ │ ├── NikoliteOreBlock.kt
│ │ │ ├── PlankBlock.kt
│ │ │ ├── SulfurCrystalBlock.kt
│ │ │ ├── TankBlock.kt
│ │ │ ├── VerticalFacingBlock.kt
│ │ │ └── WarningStrobeBlock.kt
│ │ └── models/
│ │ ├── LazuliFluxContainerBakedModel.kt
│ │ ├── MachineBakedModel.kt
│ │ ├── MinerBakedModel.kt
│ │ ├── PumpPipeBakedModel.kt
│ │ └── pipes/
│ │ ├── BasePipeModel.kt
│ │ ├── CableModel.kt
│ │ ├── FluidPipeModel.kt
│ │ └── ItemPipeModel.kt
│ ├── compat/
│ │ ├── dashloader/
│ │ │ └── models/
│ │ │ ├── DashCableModel.kt
│ │ │ ├── DashFluidPipeModel.kt
│ │ │ ├── DashItemPipeModel.kt
│ │ │ ├── DashLazuliFluxContainerModel.kt
│ │ │ ├── DashMachineModel.kt
│ │ │ ├── DashMinerModel.kt
│ │ │ └── DashTankModel.kt
│ │ └── rei/
│ │ ├── REIPlugin.kt
│ │ ├── categories/
│ │ │ ├── IRMachineRecipeCategory.kt
│ │ │ ├── IRModuleCraftingRecipeCategory.kt
│ │ │ └── IRSawmillRecipeCategory.kt
│ │ └── plugins/
│ │ └── IRMachinePlugin.kt
│ ├── components/
│ │ ├── CraftingComponent.kt
│ │ ├── EnhancerComponent.kt
│ │ ├── FluidComponent.kt
│ │ ├── GuiSyncableComponent.kt
│ │ ├── InventoryComponent.kt
│ │ ├── TemperatureComponent.kt
│ │ └── multiblock/
│ │ ├── BlockStateFilter.kt
│ │ ├── MultiBlockComponent.kt
│ │ ├── MultiblockBlockEntityRenderer.kt
│ │ ├── MultiblockMatcher.kt
│ │ ├── StructureDefinition.kt
│ │ ├── StructureHolder.kt
│ │ ├── StructureIdentifier.kt
│ │ └── definitions/
│ │ ├── FactoryStructureDefinition.kt
│ │ ├── SolarPowerPlantTowerStructureDefinition.kt
│ │ └── SteamTurbineStructureDefinition.kt
│ ├── config/
│ │ └── IRConfig.kt
│ ├── datagen/
│ │ ├── DataFactory.kt
│ │ ├── DataGenerator.kt
│ │ ├── DataGeneratorManager.kt
│ │ ├── ImageFactory.kt
│ │ ├── IndustrialRevolutionDatagen.kt
│ │ ├── JsonFactory.kt
│ │ ├── generators/
│ │ │ ├── BlockModelGenerator.kt
│ │ │ ├── ItemModelGenerator.kt
│ │ │ ├── LootTableGenerator.kt
│ │ │ ├── MaterialRecipeGenerator.kt
│ │ │ ├── MaterialTagGenerator.kt
│ │ │ └── MetalSpriteGenerator.kt
│ │ └── utils/
│ │ ├── MaterialColors.kt
│ │ ├── MetalModel.kt
│ │ ├── MetalSpriteRegistry.kt
│ │ └── SpriteColorHolder.kt
│ ├── events/
│ │ ├── client/
│ │ │ ├── IRClientTickEvents.kt
│ │ │ ├── IRHudRenderCallback.kt
│ │ │ ├── IRLivingEntityFeatureRendererCallback.kt
│ │ │ ├── IRTooltipComponentsCallback.kt
│ │ │ ├── IRWorldRenderer.kt
│ │ │ ├── MatterProjectorPreviewRenderer.kt
│ │ │ └── MiningRigInfoTooltipCallback.kt
│ │ └── common/
│ │ └── IRLootTableCallback.kt
│ ├── fluids/
│ │ ├── BaseFluid.kt
│ │ └── FluidType.kt
│ ├── gui/
│ │ ├── IRInventoryScreen.kt
│ │ ├── IRModularControllerScreen.kt
│ │ ├── IRScreenHandlerFactory.kt
│ │ ├── ScrewdriverScreenHandlerFactory.kt
│ │ ├── guiutils.kt
│ │ ├── properties/
│ │ │ └── SyncableProperty.kt
│ │ ├── screenhandlers/
│ │ │ ├── IRGuiScreenHandler.kt
│ │ │ ├── blockblacklister/
│ │ │ │ └── BlockBlacklisterScreenHandler.kt
│ │ │ ├── machines/
│ │ │ │ ├── BiomassGeneratorScreenHandler.kt
│ │ │ │ ├── ChopperScreenHandler.kt
│ │ │ │ ├── CoalGeneratorScreenHandler.kt
│ │ │ │ ├── CompressorFactoryScreenHandler.kt
│ │ │ │ ├── CompressorScreenHandler.kt
│ │ │ │ ├── CondenserScreenHandler.kt
│ │ │ │ ├── DataCardWriterScreenHandler.kt
│ │ │ │ ├── ElectricFurnaceFactoryScreenHandler.kt
│ │ │ │ ├── ElectricFurnaceScreenHandler.kt
│ │ │ │ ├── ElectrolyticSeparatorScreenHandler.kt
│ │ │ │ ├── FarmerScreenHandler.kt
│ │ │ │ ├── FisherScreenHandler.kt
│ │ │ │ ├── FluidInfuserScreenHandler.kt
│ │ │ │ ├── GasBurningGeneratorScreenHandler.kt
│ │ │ │ ├── HeatGeneratorScreenHandler.kt
│ │ │ │ ├── LaserEmitterScreenHandler.kt
│ │ │ │ ├── LazuliFluxContainerScreenHandler.kt
│ │ │ │ ├── MiningRigComputerScreenHandler.kt
│ │ │ │ ├── MiningRigDrillScreenHandler.kt
│ │ │ │ ├── ModularWorkbenchScreenHandler.kt
│ │ │ │ ├── PulverizerFactoryScreenHandler.kt
│ │ │ │ ├── PulverizerScreenHandler.kt
│ │ │ │ ├── PumpScreenHandler.kt
│ │ │ │ ├── RancherScreenHandler.kt
│ │ │ │ ├── RecyclerScreenHandler.kt
│ │ │ │ ├── SawmillScreenHandler.kt
│ │ │ │ ├── SlaughterScreenHandler.kt
│ │ │ │ ├── SmelterScreenHandler.kt
│ │ │ │ ├── SolarGeneratorScreenHandler.kt
│ │ │ │ ├── SolarPowerPlantTowerScreenHandler.kt
│ │ │ │ ├── SolidInfuserFactoryScreenHandler.kt
│ │ │ │ ├── SolidInfuserScreenHandler.kt
│ │ │ │ └── SteamTurbineScreenHandler.kt
│ │ │ ├── modular/
│ │ │ │ └── ModularItemConfigurationScreenHandler.kt
│ │ │ ├── pipes/
│ │ │ │ ├── PipeFilterScreen.kt
│ │ │ │ ├── PipeFilterScreenFactory.kt
│ │ │ │ └── PipeFilterScreenHandler.kt
│ │ │ ├── screenhandlers.kt
│ │ │ ├── storage/
│ │ │ │ └── CabinetScreenHandler.kt
│ │ │ └── wrench/
│ │ │ └── ScrewdriverScreenHandler.kt
│ │ ├── tooltip/
│ │ │ ├── energy/
│ │ │ │ ├── EnergyTooltipComponent.kt
│ │ │ │ └── EnergyTooltipData.kt
│ │ │ ├── modular/
│ │ │ │ ├── ModularTooltipComponent.kt
│ │ │ │ └── ModularTooltipData.kt
│ │ │ └── oredatacards/
│ │ │ ├── OreDataCardTooltipComponent.kt
│ │ │ └── OreDataCardTooltipData.kt
│ │ └── widgets/
│ │ ├── machines/
│ │ │ ├── WCustomBar.kt
│ │ │ └── WMachineSideDisplay.kt
│ │ └── misc/
│ │ ├── WBookEntryShortcut.kt
│ │ ├── WCircleProgressBar.kt
│ │ ├── WDynamicSprite.kt
│ │ ├── WKnob.kt
│ │ ├── WPlayerRender.kt
│ │ ├── WStaticTooltip.kt
│ │ ├── WText.kt
│ │ └── WTooltipedItemSlot.kt
│ ├── inventories/
│ │ ├── IRInventory.kt
│ │ └── IRInventoryDSL.kt
│ ├── items/
│ │ ├── armor/
│ │ │ ├── IRColorModuleItem.kt
│ │ │ ├── IRModularArmorItem.kt
│ │ │ ├── IRModuleItem.kt
│ │ │ ├── JetpackHandler.kt
│ │ │ ├── JetpackItem.kt
│ │ │ └── ReinforcedElytraItem.kt
│ │ ├── energy/
│ │ │ ├── IRBatteryItem.kt
│ │ │ ├── IREnergyItem.kt
│ │ │ ├── IRGamerAxeItem.kt
│ │ │ ├── IRMiningDrillItem.kt
│ │ │ ├── IRModularDrillItem.kt
│ │ │ ├── IRPortableChargerItem.kt
│ │ │ └── MachineBlockItem.kt
│ │ ├── misc/
│ │ │ ├── IRCraftingToolItem.kt
│ │ │ ├── IREnergyReaderItem.kt
│ │ │ ├── IRGuideBookItem.kt
│ │ │ ├── IRMachineUpgradeItem.kt
│ │ │ ├── IRServoItem.kt
│ │ │ ├── OreDataCardItem.kt
│ │ │ └── Tools.kt
│ │ ├── models/
│ │ │ └── TankItemBakedModel.kt
│ │ └── upgrade/
│ │ ├── Enhancer.kt
│ │ └── IREnhancerItem.kt
│ ├── networks/
│ │ ├── EndpointData.kt
│ │ ├── Network.kt
│ │ ├── NetworkEvents.kt
│ │ ├── NetworkState.kt
│ │ ├── Node.kt
│ │ ├── ServoNetworkState.kt
│ │ ├── client/
│ │ │ ├── ClientNetworkInfo.kt
│ │ │ ├── ClientNetworkState.kt
│ │ │ ├── ClientServoNetworkInfo.kt
│ │ │ └── node/
│ │ │ ├── ClientNodeInfo.kt
│ │ │ └── ClientServoNodeInfo.kt
│ │ ├── energy/
│ │ │ ├── CableEnergyIo.kt
│ │ │ ├── EnergyNetwork.kt
│ │ │ └── EnergyNetworkState.kt
│ │ ├── factory/
│ │ │ ├── NetworkFactory.kt
│ │ │ └── factories.kt
│ │ ├── fluid/
│ │ │ ├── FluidNetwork.kt
│ │ │ └── FluidNetworkState.kt
│ │ └── item/
│ │ ├── ItemFilterData.kt
│ │ ├── ItemNetwork.kt
│ │ └── ItemNetworkState.kt
│ ├── packets/
│ │ ├── PacketRegistry.kt
│ │ ├── client/
│ │ │ ├── ClientItemPipePackets.kt
│ │ │ ├── GuiPropertySyncPacket.kt
│ │ │ ├── MachineStateUpdatePacket.kt
│ │ │ ├── MiningRigSpawnBlockParticlesPacket.kt
│ │ │ ├── SyncAppliedModulesPacket.kt
│ │ │ ├── SyncConfigPacket.kt
│ │ │ └── SyncNetworkServosPacket.kt
│ │ └── common/
│ │ ├── ConfigureIOPackets.kt
│ │ ├── DataCardWriteStartPacket.kt
│ │ ├── FluidGuiHandInteractionPacket.kt
│ │ ├── ItemPipePackets.kt
│ │ ├── SelectModuleOnWorkbenchPacket.kt
│ │ ├── ToggleFactoryStackSplittingPacket.kt
│ │ ├── ToggleGamerAxePacket.kt
│ │ ├── UpdateAOEMachineRangePacket.kt
│ │ ├── UpdateKnobValue.kt
│ │ ├── UpdateMiningDrillBlockBlacklistPacket.kt
│ │ ├── UpdateModularToolLevelPacket.kt
│ │ └── UpdateRancherConfigPacket.kt
│ ├── recipes/
│ │ ├── IRecipeGetter.kt
│ │ ├── SelfRemainderRecipe.kt
│ │ └── machines/
│ │ ├── CompressorRecipe.kt
│ │ ├── CondenserRecipe.kt
│ │ ├── DistillerRecipe.kt
│ │ ├── ElectrolysisRecipe.kt
│ │ ├── FluidInfuserRecipe.kt
│ │ ├── IRFluidRecipe.kt
│ │ ├── IRRecipe.kt
│ │ ├── IRRecipeType.kt
│ │ ├── InfuserRecipe.kt
│ │ ├── LaserRecipe.kt
│ │ ├── ModuleRecipe.kt
│ │ ├── PulverizerRecipe.kt
│ │ ├── RecyclerRecipe.kt
│ │ ├── SawmillRecipe.kt
│ │ ├── SmelterRecipe.kt
│ │ ├── VanillaCookingRecipeCachedGetter.kt
│ │ └── entries/
│ │ ├── InputEntry.kt
│ │ └── OutputEntry.kt
│ ├── registry/
│ │ ├── IRBlockRegistry.kt
│ │ ├── IRFluidFuelRegistry.kt
│ │ ├── IRFluidRegistry.kt
│ │ ├── IRItemRegistry.kt
│ │ ├── IRModelManagers.kt
│ │ ├── MachineRegistry.kt
│ │ ├── MaterialHelper.kt
│ │ └── WorldGeneration.kt
│ ├── tools/
│ │ ├── IRToolMaterial.kt
│ │ └── modular/
│ │ ├── ArmorModule.kt
│ │ ├── DrillModule.kt
│ │ ├── GamerAxeModule.kt
│ │ ├── IRModularItem.kt
│ │ ├── MiningToolModule.kt
│ │ └── Module.kt
│ ├── utils/
│ │ ├── EmptyModel.kt
│ │ ├── EnergyDamageHandler.kt
│ │ ├── IRFluidTank.kt
│ │ ├── ReusableArrayDeque.kt
│ │ ├── accessorextensions.kt
│ │ ├── clientutils.kt
│ │ ├── energyutils.kt
│ │ ├── fluidutils.kt
│ │ ├── helperextensions.kt
│ │ ├── hiddenitems.kt
│ │ ├── interactions.kt
│ │ ├── itemutils.kt
│ │ ├── machineinteractions.kt
│ │ └── utils.kt
│ └── world/
│ └── features/
│ ├── IRConfiguredFeature.kt
│ └── SulfurCrystalFeature.kt
└── resources/
├── assets/
│ └── indrev/
│ ├── blockstates/
│ │ ├── biomass_composter.json
│ │ ├── block_base.json
│ │ ├── block_highlight.json
│ │ ├── block_shadow.json
│ │ ├── bronze_block.json
│ │ ├── cabinet.json
│ │ ├── capsule.json
│ │ ├── charge_pad_mk4.json
│ │ ├── composting.json
│ │ ├── controller.json
│ │ ├── coolant.json
│ │ ├── deepslate_lead_ore.json
│ │ ├── deepslate_nikolite_ore.json
│ │ ├── deepslate_silver_ore.json
│ │ ├── deepslate_tin_ore.json
│ │ ├── deepslate_tungsten_ore.json
│ │ ├── drain_mk1.json
│ │ ├── drill_bottom.json
│ │ ├── drill_middle.json
│ │ ├── drill_top.json
│ │ ├── duct.json
│ │ ├── electrum_block.json
│ │ ├── fisher_mk2.json
│ │ ├── fisher_mk3.json
│ │ ├── fisher_mk4.json
│ │ ├── frame.json
│ │ ├── heat_generator_mk4.json
│ │ ├── hydrogen.json
│ │ ├── intake.json
│ │ ├── laser_emitter_mk4.json
│ │ ├── lead_block.json
│ │ ├── lead_ore.json
│ │ ├── machine_block.json
│ │ ├── methane.json
│ │ ├── modular_workbench_mk4.json
│ │ ├── molten_copper.json
│ │ ├── molten_gold.json
│ │ ├── molten_iron.json
│ │ ├── molten_lead.json
│ │ ├── molten_netherite.json
│ │ ├── molten_silver.json
│ │ ├── molten_tin.json
│ │ ├── nikolite_ore.json
│ │ ├── ore_base.json
│ │ ├── ore_highlight.json
│ │ ├── oxygen.json
│ │ ├── plank_block.json
│ │ ├── planks.json
│ │ ├── pump_mk1.json
│ │ ├── raw_lead_block.json
│ │ ├── raw_silver_block.json
│ │ ├── raw_tin_block.json
│ │ ├── raw_tungsten_block.json
│ │ ├── silo.json
│ │ ├── silver_block.json
│ │ ├── silver_ore.json
│ │ ├── steel_block.json
│ │ ├── sulfur_crystal.json
│ │ ├── sulfuric_acid.json
│ │ ├── tank.json
│ │ ├── tin_block.json
│ │ ├── tin_ore.json
│ │ ├── toxic_mud.json
│ │ ├── tungsten_block.json
│ │ ├── tungsten_ore.json
│ │ ├── warning_strobe.json
│ │ └── wither_proof_obsidian.json
│ ├── lang/
│ │ ├── en_us.json
│ │ ├── pt_br.json
│ │ ├── ru_ru.json
│ │ ├── tr_tr.json
│ │ └── zh_cn.json
│ ├── models/
│ │ ├── block/
│ │ │ ├── block_base.json
│ │ │ ├── block_highlight.json
│ │ │ ├── block_shadow.json
│ │ │ ├── bronze_block.json
│ │ │ ├── cabinet.json
│ │ │ ├── cable_center_mk1.json
│ │ │ ├── cable_center_mk2.json
│ │ │ ├── cable_center_mk3.json
│ │ │ ├── cable_center_mk4.json
│ │ │ ├── cable_side_mk1.json
│ │ │ ├── cable_side_mk2.json
│ │ │ ├── cable_side_mk3.json
│ │ │ ├── cable_side_mk4.json
│ │ │ ├── capsule.json
│ │ │ ├── charge_pad_mk4.json
│ │ │ ├── controller.json
│ │ │ ├── deepslate_lead_ore.json
│ │ │ ├── deepslate_nikolite_ore.json
│ │ │ ├── deepslate_silver_ore.json
│ │ │ ├── deepslate_tin_ore.json
│ │ │ ├── deepslate_tungsten_ore.json
│ │ │ ├── diamond_drill_head.json
│ │ │ ├── drain_mk1.json
│ │ │ ├── drill.json
│ │ │ ├── drill_bottom.json
│ │ │ ├── drill_middle.json
│ │ │ ├── drill_top.json
│ │ │ ├── drill_top_on.json
│ │ │ ├── duct.json
│ │ │ ├── electrum_block.json
│ │ │ ├── fishing_farm_mk2.json
│ │ │ ├── fishing_farm_mk3.json
│ │ │ ├── fishing_farm_mk4.json
│ │ │ ├── fluid_pipe_center_mk1.json
│ │ │ ├── fluid_pipe_center_mk2.json
│ │ │ ├── fluid_pipe_center_mk3.json
│ │ │ ├── fluid_pipe_center_mk4.json
│ │ │ ├── fluid_pipe_side_mk1.json
│ │ │ ├── fluid_pipe_side_mk2.json
│ │ │ ├── fluid_pipe_side_mk3.json
│ │ │ ├── fluid_pipe_side_mk4.json
│ │ │ ├── frame.json
│ │ │ ├── gray_lava.json
│ │ │ ├── heat_generator_mk4.json
│ │ │ ├── intake.json
│ │ │ ├── iron_drill_head.json
│ │ │ ├── item_pipe_center_mk1.json
│ │ │ ├── item_pipe_center_mk2.json
│ │ │ ├── item_pipe_center_mk3.json
│ │ │ ├── item_pipe_center_mk4.json
│ │ │ ├── item_pipe_side_mk1.json
│ │ │ ├── item_pipe_side_mk2.json
│ │ │ ├── item_pipe_side_mk3.json
│ │ │ ├── item_pipe_side_mk4.json
│ │ │ ├── laser.json
│ │ │ ├── laser_on.json
│ │ │ ├── lazuli_flux_container.json
│ │ │ ├── lazuli_flux_container_input.json
│ │ │ ├── lazuli_flux_container_item_lf_level.json
│ │ │ ├── lazuli_flux_container_mk1_overlay.json
│ │ │ ├── lazuli_flux_container_mk2_overlay.json
│ │ │ ├── lazuli_flux_container_mk3_overlay.json
│ │ │ ├── lazuli_flux_container_mk4_overlay.json
│ │ │ ├── lazuli_flux_container_output.json
│ │ │ ├── lead_block.json
│ │ │ ├── lead_ore.json
│ │ │ ├── machine.json
│ │ │ ├── machine_block.json
│ │ │ ├── modular_workbench_mk4.json
│ │ │ ├── netherite_drill_head.json
│ │ │ ├── nikolite_ore.json
│ │ │ ├── ore_base.json
│ │ │ ├── ore_highlight.json
│ │ │ ├── plank_block.json
│ │ │ ├── planks_height10.json
│ │ │ ├── planks_height12.json
│ │ │ ├── planks_height14.json
│ │ │ ├── planks_height2.json
│ │ │ ├── planks_height4.json
│ │ │ ├── planks_height6.json
│ │ │ ├── planks_height8.json
│ │ │ ├── pump_mk1.json
│ │ │ ├── pump_pipe.json
│ │ │ ├── raw_lead_block.json
│ │ │ ├── raw_silver_block.json
│ │ │ ├── raw_tin_block.json
│ │ │ ├── raw_tungsten_block.json
│ │ │ ├── servo_output.json
│ │ │ ├── servo_output_item.json
│ │ │ ├── servo_retriever.json
│ │ │ ├── servo_retriever_item.json
│ │ │ ├── silo.json
│ │ │ ├── silver_block.json
│ │ │ ├── silver_ore.json
│ │ │ ├── smelter_mk4.json
│ │ │ ├── solar_generator_mk1.json
│ │ │ ├── solar_generator_mk1_on.json
│ │ │ ├── solar_generator_mk3.json
│ │ │ ├── solar_generator_mk3_on.json
│ │ │ ├── steel_block.json
│ │ │ ├── stone_drill_head.json
│ │ │ ├── sulfur_crystal.json
│ │ │ ├── tank.json
│ │ │ ├── tank_both.json
│ │ │ ├── tank_down.json
│ │ │ ├── tank_up.json
│ │ │ ├── tin_block.json
│ │ │ ├── tin_ore.json
│ │ │ ├── tungsten_block.json
│ │ │ ├── tungsten_ore.json
│ │ │ ├── warning_strobe.json
│ │ │ └── wither_proof_obsidian.json
│ │ └── item/
│ │ ├── axe_base.json
│ │ ├── axe_highlight.json
│ │ ├── axe_outline.json
│ │ ├── battery.json
│ │ ├── biomass.json
│ │ ├── blast_furnace_enhancer.json
│ │ ├── block_base.json
│ │ ├── block_highlight.json
│ │ ├── boots_base.json
│ │ ├── boots_highlight.json
│ │ ├── boots_outline.json
│ │ ├── broken_reinforced_elytra.json
│ │ ├── bronze_axe.json
│ │ ├── bronze_block.json
│ │ ├── bronze_boots.json
│ │ ├── bronze_chestplate.json
│ │ ├── bronze_dust.json
│ │ ├── bronze_helmet.json
│ │ ├── bronze_hoe.json
│ │ ├── bronze_ingot.json
│ │ ├── bronze_leggings.json
│ │ ├── bronze_nugget.json
│ │ ├── bronze_pickaxe.json
│ │ ├── bronze_plate.json
│ │ ├── bronze_shovel.json
│ │ ├── bronze_sword.json
│ │ ├── buffer_enhancer.json
│ │ ├── cabinet.json
│ │ ├── cable_mk1.json
│ │ ├── cable_mk2.json
│ │ ├── cable_mk3.json
│ │ ├── cable_mk4.json
│ │ ├── capsule.json
│ │ ├── charge_pad_mk4.json
│ │ ├── chestplate_base.json
│ │ ├── chestplate_highlight.json
│ │ ├── chestplate_outline.json
│ │ ├── chunk_base.json
│ │ ├── chunk_highlight.json
│ │ ├── chunk_outline.json
│ │ ├── chunk_scanner.json
│ │ ├── circuit_mk1.json
│ │ ├── circuit_mk2.json
│ │ ├── circuit_mk3.json
│ │ ├── circuit_mk4.json
│ │ ├── coal_dust.json
│ │ ├── controller.json
│ │ ├── coolant_bucket.json
│ │ ├── cooler_cell.json
│ │ ├── copper_axe.json
│ │ ├── copper_block.json
│ │ ├── copper_boots.json
│ │ ├── copper_chestplate.json
│ │ ├── copper_chunk.json
│ │ ├── copper_dust.json
│ │ ├── copper_gear.json
│ │ ├── copper_helmet.json
│ │ ├── copper_hoe.json
│ │ ├── copper_leggings.json
│ │ ├── copper_nether_ore.json
│ │ ├── copper_nugget.json
│ │ ├── copper_ore.json
│ │ ├── copper_pickaxe.json
│ │ ├── copper_plate.json
│ │ ├── copper_purified_ore.json
│ │ ├── copper_shovel.json
│ │ ├── copper_sword.json
│ │ ├── damage_enhancer.json
│ │ ├── deepslate_lead_ore.json
│ │ ├── deepslate_nikolite_ore.json
│ │ ├── deepslate_silver_ore.json
│ │ ├── deepslate_tin_ore.json
│ │ ├── deepslate_tungsten_ore.json
│ │ ├── diamond_drill_head.json
│ │ ├── diamond_dust.json
│ │ ├── drain_mk1.json
│ │ ├── drill_bottom.json
│ │ ├── duct.json
│ │ ├── dust_base.json
│ │ ├── dust_highlight.json
│ │ ├── dust_outline.json
│ │ ├── electrum_block.json
│ │ ├── electrum_dust.json
│ │ ├── electrum_ingot.json
│ │ ├── electrum_nugget.json
│ │ ├── electrum_plate.json
│ │ ├── empty_enhancer.json
│ │ ├── energy_enhancer.json
│ │ ├── energy_reader.json
│ │ ├── enriched_nikolite_dust.json
│ │ ├── enriched_nikolite_ingot.json
│ │ ├── fan.json
│ │ ├── fisher_mk2.json
│ │ ├── fisher_mk3.json
│ │ ├── fisher_mk4.json
│ │ ├── fluid_pipe_mk1.json
│ │ ├── fluid_pipe_mk2.json
│ │ ├── fluid_pipe_mk3.json
│ │ ├── fluid_pipe_mk4.json
│ │ ├── frame.json
│ │ ├── gamer_axe.json
│ │ ├── gamer_axe1.json
│ │ ├── gamer_axe10.json
│ │ ├── gamer_axe2.json
│ │ ├── gamer_axe3.json
│ │ ├── gamer_axe4.json
│ │ ├── gamer_axe5.json
│ │ ├── gamer_axe6.json
│ │ ├── gamer_axe7.json
│ │ ├── gamer_axe8.json
│ │ ├── gamer_axe9.json
│ │ ├── gold_chunk.json
│ │ ├── gold_dust.json
│ │ ├── gold_plate.json
│ │ ├── gold_purified_ore.json
│ │ ├── guide_book.json
│ │ ├── hammer.json
│ │ ├── heat_coil.json
│ │ ├── heat_generator_mk4.json
│ │ ├── heatsink.json
│ │ ├── helmet_base.json
│ │ ├── helmet_highlight.json
│ │ ├── helmet_outline.json
│ │ ├── hoe_base.json
│ │ ├── hoe_highlight.json
│ │ ├── hoe_outline.json
│ │ ├── ingot_base.json
│ │ ├── ingot_highlight.json
│ │ ├── ingot_outline.json
│ │ ├── intake.json
│ │ ├── iron_chunk.json
│ │ ├── iron_drill_head.json
│ │ ├── iron_dust.json
│ │ ├── iron_gear.json
│ │ ├── iron_plate.json
│ │ ├── iron_purified_ore.json
│ │ ├── jetpack_mk1.json
│ │ ├── jetpack_mk2.json
│ │ ├── jetpack_mk3.json
│ │ ├── jetpack_mk4.json
│ │ ├── laser_emitter_mk4.json
│ │ ├── lazuli_flux_container_creative.json
│ │ ├── lazuli_flux_container_mk1.json
│ │ ├── lazuli_flux_container_mk2.json
│ │ ├── lazuli_flux_container_mk3.json
│ │ ├── lazuli_flux_container_mk4.json
│ │ ├── lead_axe.json
│ │ ├── lead_block.json
│ │ ├── lead_boots.json
│ │ ├── lead_chestplate.json
│ │ ├── lead_chunk.json
│ │ ├── lead_dust.json
│ │ ├── lead_helmet.json
│ │ ├── lead_hoe.json
│ │ ├── lead_ingot.json
│ │ ├── lead_leggings.json
│ │ ├── lead_nugget.json
│ │ ├── lead_ore.json
│ │ ├── lead_pickaxe.json
│ │ ├── lead_plate.json
│ │ ├── lead_purified_ore.json
│ │ ├── lead_shovel.json
│ │ ├── lead_sword.json
│ │ ├── leggings_base.json
│ │ ├── leggings_highlight.json
│ │ ├── leggings_outline.json
│ │ ├── machine_block.json
│ │ ├── miner_mk4.json
│ │ ├── mining_drill_mk1.json
│ │ ├── mining_drill_mk2.json
│ │ ├── mining_drill_mk3.json
│ │ ├── mining_drill_mk4.json
│ │ ├── modular_armor_boots.json
│ │ ├── modular_armor_chest.json
│ │ ├── modular_armor_helmet.json
│ │ ├── modular_armor_legs.json
│ │ ├── modular_core.json
│ │ ├── modular_core_activated.json
│ │ ├── modular_workbench_mk4.json
│ │ ├── module_auto_feeder.json
│ │ ├── module_breathing.json
│ │ ├── module_charger.json
│ │ ├── module_color_black.json
│ │ ├── module_color_blue.json
│ │ ├── module_color_brown.json
│ │ ├── module_color_cyan.json
│ │ ├── module_color_green.json
│ │ ├── module_color_orange.json
│ │ ├── module_color_pink.json
│ │ ├── module_color_purple.json
│ │ ├── module_color_red.json
│ │ ├── module_color_yellow.json
│ │ ├── module_efficiency.json
│ │ ├── module_elytra.json
│ │ ├── module_feather_falling.json
│ │ ├── module_fire_aspect.json
│ │ ├── module_fire_resistance.json
│ │ ├── module_fortune.json
│ │ ├── module_jetpack.json
│ │ ├── module_jump_boost.json
│ │ ├── module_looting.json
│ │ ├── module_magnet.json
│ │ ├── module_night_vision.json
│ │ ├── module_piglin_tricker.json
│ │ ├── module_protection.json
│ │ ├── module_range.json
│ │ ├── module_reach.json
│ │ ├── module_sharpness.json
│ │ ├── module_silk_touch.json
│ │ ├── module_solar_panel.json
│ │ ├── module_speed.json
│ │ ├── module_water_affinity.json
│ │ ├── molten_bucket_base.json
│ │ ├── molten_bucket_highlight.json
│ │ ├── molten_bucket_outline.json
│ │ ├── molten_copper_bucket.json
│ │ ├── molten_gold_bucket.json
│ │ ├── molten_iron_bucket.json
│ │ ├── molten_lead_bucket.json
│ │ ├── molten_netherite_bucket.json
│ │ ├── molten_silver_bucket.json
│ │ ├── molten_tin_bucket.json
│ │ ├── netherite_drill_head.json
│ │ ├── netherite_scrap_chunk.json
│ │ ├── netherite_scrap_dust.json
│ │ ├── netherite_scrap_purified_ore.json
│ │ ├── nikolite_dust.json
│ │ ├── nikolite_ingot.json
│ │ ├── nikolite_nether_ore.json
│ │ ├── nikolite_ore.json
│ │ ├── nugget_base.json
│ │ ├── nugget_highlight.json
│ │ ├── nugget_outline.json
│ │ ├── ore_base.json
│ │ ├── ore_data_card.json
│ │ ├── ore_data_card_not_empty.json
│ │ ├── ore_highlight.json
│ │ ├── pickaxe_base.json
│ │ ├── pickaxe_highlight.json
│ │ ├── pickaxe_outline.json
│ │ ├── plank_block.json
│ │ ├── planks.json
│ │ ├── plate_base.json
│ │ ├── plate_highlight.json
│ │ ├── plate_outline.json
│ │ ├── portable_charger.json
│ │ ├── pump_mk1.json
│ │ ├── purified_ore_base.json
│ │ ├── purified_ore_highlight.json
│ │ ├── purified_ore_outline.json
│ │ ├── raw_lead.json
│ │ ├── raw_lead_block.json
│ │ ├── raw_silver.json
│ │ ├── raw_silver_block.json
│ │ ├── raw_tin.json
│ │ ├── raw_tin_block.json
│ │ ├── raw_tungsten.json
│ │ ├── raw_tungsten_block.json
│ │ ├── reinforced_elytra.json
│ │ ├── sawdust.json
│ │ ├── scan_output.json
│ │ ├── screwdriver.json
│ │ ├── servo_output.json
│ │ ├── servo_retriever.json
│ │ ├── shovel_base.json
│ │ ├── shovel_highlight.json
│ │ ├── shovel_outline.json
│ │ ├── silo.json
│ │ ├── silver_axe.json
│ │ ├── silver_block.json
│ │ ├── silver_boots.json
│ │ ├── silver_chestplate.json
│ │ ├── silver_chunk.json
│ │ ├── silver_dust.json
│ │ ├── silver_helmet.json
│ │ ├── silver_hoe.json
│ │ ├── silver_ingot.json
│ │ ├── silver_leggings.json
│ │ ├── silver_nugget.json
│ │ ├── silver_ore.json
│ │ ├── silver_pickaxe.json
│ │ ├── silver_plate.json
│ │ ├── silver_purified_ore.json
│ │ ├── silver_shovel.json
│ │ ├── silver_sword.json
│ │ ├── smelter_mk4.json
│ │ ├── smoker_enhancer.json
│ │ ├── soot.json
│ │ ├── speed_enhancer.json
│ │ ├── steel_axe.json
│ │ ├── steel_block.json
│ │ ├── steel_boots.json
│ │ ├── steel_chestplate.json
│ │ ├── steel_dust.json
│ │ ├── steel_gear.json
│ │ ├── steel_helmet.json
│ │ ├── steel_hoe.json
│ │ ├── steel_ingot.json
│ │ ├── steel_leggings.json
│ │ ├── steel_nugget.json
│ │ ├── steel_pickaxe.json
│ │ ├── steel_plate.json
│ │ ├── steel_shovel.json
│ │ ├── steel_sword.json
│ │ ├── stone_drill_head.json
│ │ ├── sulfur_crystal.json
│ │ ├── sulfur_dust.json
│ │ ├── sulfuric_acid_bucket.json
│ │ ├── sword_base.json
│ │ ├── sword_highlight.json
│ │ ├── sword_outline.json
│ │ ├── tank.json
│ │ ├── tech_soup.json
│ │ ├── tier_upgrade_mk2.json
│ │ ├── tier_upgrade_mk3.json
│ │ ├── tier_upgrade_mk4.json
│ │ ├── tin_axe.json
│ │ ├── tin_block.json
│ │ ├── tin_boots.json
│ │ ├── tin_chestplate.json
│ │ ├── tin_chunk.json
│ │ ├── tin_dust.json
│ │ ├── tin_gear.json
│ │ ├── tin_helmet.json
│ │ ├── tin_hoe.json
│ │ ├── tin_ingot.json
│ │ ├── tin_leggings.json
│ │ ├── tin_nugget.json
│ │ ├── tin_ore.json
│ │ ├── tin_pickaxe.json
│ │ ├── tin_plate.json
│ │ ├── tin_purified_ore.json
│ │ ├── tin_shovel.json
│ │ ├── tin_sword.json
│ │ ├── tool_stick.json
│ │ ├── toxic_mud_bucket.json
│ │ ├── tungsten_block.json
│ │ ├── tungsten_chunk.json
│ │ ├── tungsten_dust.json
│ │ ├── tungsten_ingot.json
│ │ ├── tungsten_nugget.json
│ │ ├── tungsten_ore.json
│ │ ├── tungsten_plate.json
│ │ ├── tungsten_purified_ore.json
│ │ ├── untanned_leather.json
│ │ ├── warning_strobe.json
│ │ ├── wither_proof_obsidian.json
│ │ └── wrench.json
│ ├── particles/
│ │ └── laser_particle.json
│ ├── sounds/
│ │ └── laser.ogg
│ ├── sounds.json
│ └── textures/
│ ├── block/
│ │ ├── biomass_generator_on.png.mcmeta
│ │ ├── cable_center_emissive_mk1.png.mcmeta
│ │ ├── cable_center_emissive_mk2.png.mcmeta
│ │ ├── cable_center_emissive_mk3.png.mcmeta
│ │ ├── cable_center_emissive_mk4.png.mcmeta
│ │ ├── cable_wire_emissive_mk1.png.mcmeta
│ │ ├── cable_wire_emissive_mk2.png.mcmeta
│ │ ├── cable_wire_emissive_mk3.png.mcmeta
│ │ ├── cable_wire_emissive_mk4.png.mcmeta
│ │ ├── chopper_on.png.mcmeta
│ │ ├── coal_generator_on.png.mcmeta
│ │ ├── compressor_on.png.mcmeta
│ │ ├── condenser_on.png.mcmeta
│ │ ├── data_card_writer_on.png.mcmeta
│ │ ├── drill_top_emissive_on.png.mcmeta
│ │ ├── drill_top_tracer_emissive_on.png.mcmeta
│ │ ├── electric_furnace_emissive_on.png.mcmeta
│ │ ├── fluid_infuser_on.png.mcmeta
│ │ ├── gray_lava_flow.png.mcmeta
│ │ ├── gray_lava_still.png.mcmeta
│ │ ├── mining_rig_screen_emissive.png.mcmeta
│ │ ├── pulverizer_on.png.mcmeta
│ │ ├── rancher_on.png.mcmeta
│ │ ├── recycler_on.png.mcmeta
│ │ ├── sawmill_on.png.mcmeta
│ │ └── solid_infuser_emissive_on.png.mcmeta
│ ├── entity/
│ │ └── laser.png.mcmeta
│ ├── gui/
│ │ ├── hud_damaged.png.mcmeta
│ │ ├── hud_regenerating.png.mcmeta
│ │ └── hud_warning.png.mcmeta
│ └── item/
│ ├── enriched_nikolite_dust.png.mcmeta
│ ├── enriched_nikolite_ingot.png.mcmeta
│ └── gamer_axe.png.mcmeta
├── data/
│ ├── c/
│ │ └── tags/
│ │ ├── blocks/
│ │ │ ├── bronze_blocks.json
│ │ │ ├── copper_blocks.json
│ │ │ ├── electrum_blocks.json
│ │ │ ├── lead_blocks.json
│ │ │ ├── lead_ores.json
│ │ │ ├── silver_blocks.json
│ │ │ ├── silver_ores.json
│ │ │ ├── tin_blocks.json
│ │ │ ├── tin_ores.json
│ │ │ ├── tungsten_blocks.json
│ │ │ └── tungsten_ores.json
│ │ └── items/
│ │ ├── ancient_debris_ores.json
│ │ ├── bronze_blocks.json
│ │ ├── bronze_dusts.json
│ │ ├── bronze_ingots.json
│ │ ├── bronze_nuggets.json
│ │ ├── bronze_plates.json
│ │ ├── coal_dusts.json
│ │ ├── coal_ores.json
│ │ ├── copper_blocks.json
│ │ ├── copper_dusts.json
│ │ ├── copper_ingots.json
│ │ ├── copper_nuggets.json
│ │ ├── copper_ores.json
│ │ ├── copper_plates.json
│ │ ├── diamond_dusts.json
│ │ ├── diamond_ores.json
│ │ ├── electrum_blocks.json
│ │ ├── electrum_dusts.json
│ │ ├── electrum_ingots.json
│ │ ├── electrum_nuggets.json
│ │ ├── electrum_plates.json
│ │ ├── emerald_ores.json
│ │ ├── gold_dusts.json
│ │ ├── gold_ingots.json
│ │ ├── gold_ores.json
│ │ ├── gold_plates.json
│ │ ├── iron_dusts.json
│ │ ├── iron_ingots.json
│ │ ├── iron_ores.json
│ │ ├── iron_plates.json
│ │ ├── lead_blocks.json
│ │ ├── lead_dusts.json
│ │ ├── lead_ingots.json
│ │ ├── lead_nuggets.json
│ │ ├── lead_ores.json
│ │ ├── lead_plates.json
│ │ ├── netherite_scrap_dusts.json
│ │ ├── nikolite_ores.json
│ │ ├── raw_copper_ores.json
│ │ ├── raw_gold_ores.json
│ │ ├── raw_iron_ores.json
│ │ ├── raw_lead_ores.json
│ │ ├── raw_silver_ores.json
│ │ ├── raw_tin_ores.json
│ │ ├── raw_tungsten_ores.json
│ │ ├── redstone_ores.json
│ │ ├── screwdrivers.json
│ │ ├── silver_blocks.json
│ │ ├── silver_dusts.json
│ │ ├── silver_ingots.json
│ │ ├── silver_nuggets.json
│ │ ├── silver_ores.json
│ │ ├── silver_plates.json
│ │ ├── steel_blocks.json
│ │ ├── steel_boots.json
│ │ ├── steel_chestplates.json
│ │ ├── steel_dusts.json
│ │ ├── steel_helmets.json
│ │ ├── steel_ingots.json
│ │ ├── steel_leggings.json
│ │ ├── steel_nuggets.json
│ │ ├── steel_plates.json
│ │ ├── sulfur_dusts.json
│ │ ├── sulfurs.json
│ │ ├── tin_blocks.json
│ │ ├── tin_dusts.json
│ │ ├── tin_ingots.json
│ │ ├── tin_nuggets.json
│ │ ├── tin_ores.json
│ │ ├── tin_plates.json
│ │ ├── tungsten_blocks.json
│ │ ├── tungsten_dusts.json
│ │ ├── tungsten_ingots.json
│ │ ├── tungsten_nuggets.json
│ │ ├── tungsten_ores.json
│ │ ├── tungsten_plates.json
│ │ └── wrenches.json
│ ├── fabric/
│ │ └── tags/
│ │ └── items/
│ │ ├── axes.json
│ │ ├── hoes.json
│ │ ├── pickaxes.json
│ │ ├── shovels.json
│ │ └── swords.json
│ ├── indrev/
│ │ ├── advancements/
│ │ │ ├── advanced_solar_generator.json
│ │ │ ├── basic_solar_generator.json
│ │ │ ├── biomass.json
│ │ │ ├── biomass_generator.json
│ │ │ ├── blast_furnace_enhancer.json
│ │ │ ├── buffer_enhancer.json
│ │ │ ├── cable_mk1.json
│ │ │ ├── cable_mk2.json
│ │ │ ├── cable_mk3.json
│ │ │ ├── cable_mk4.json
│ │ │ ├── chopper_mk4.json
│ │ │ ├── circuit_mk1.json
│ │ │ ├── circuit_mk2.json
│ │ │ ├── circuit_mk3.json
│ │ │ ├── circuit_mk4.json
│ │ │ ├── coal_generator.json
│ │ │ ├── compressor.json
│ │ │ ├── condenser.json
│ │ │ ├── electric_furnace.json
│ │ │ ├── empty_enhancer.json
│ │ │ ├── enriched_nikolite_dust.json
│ │ │ ├── enriched_nikolite_ingot.json
│ │ │ ├── farmer_mk1.json
│ │ │ ├── gamer_axe.json
│ │ │ ├── heat_generator.json
│ │ │ ├── industrial_smelter.json
│ │ │ ├── lazuli_flux_container_mk1.json
│ │ │ ├── lazuli_flux_container_mk2.json
│ │ │ ├── lazuli_flux_container_mk3.json
│ │ │ ├── lazuli_flux_container_mk4.json
│ │ │ ├── machine_block.json
│ │ │ ├── mk2_upgrade.json
│ │ │ ├── mk3_upgrade.json
│ │ │ ├── mk4_upgrade.json
│ │ │ ├── modular_armor.json
│ │ │ ├── modular_workbench.json
│ │ │ ├── nikolite.json
│ │ │ ├── nikolite_ingot.json
│ │ │ ├── pulverizer.json
│ │ │ ├── rancher_mk4.json
│ │ │ ├── recycler.json
│ │ │ ├── slaughter_mk1.json
│ │ │ ├── smoker_enhancer.json
│ │ │ ├── solid_infuser.json
│ │ │ └── speed_enhancer.json
│ │ ├── loot_tables/
│ │ │ └── blocks/
│ │ │ ├── biomass_generator_mk3.json
│ │ │ ├── bronze_block.json
│ │ │ ├── cabinet.json
│ │ │ ├── cable_mk1.json
│ │ │ ├── cable_mk2.json
│ │ │ ├── cable_mk3.json
│ │ │ ├── cable_mk4.json
│ │ │ ├── capsule.json
│ │ │ ├── charge_pad_mk4.json
│ │ │ ├── chopper_creative.json
│ │ │ ├── chopper_mk1.json
│ │ │ ├── chopper_mk2.json
│ │ │ ├── chopper_mk3.json
│ │ │ ├── chopper_mk4.json
│ │ │ ├── coal_generator_mk1.json
│ │ │ ├── compressor_creative.json
│ │ │ ├── compressor_factory_mk4.json
│ │ │ ├── compressor_mk1.json
│ │ │ ├── compressor_mk2.json
│ │ │ ├── compressor_mk3.json
│ │ │ ├── compressor_mk4.json
│ │ │ ├── condenser_mk4.json
│ │ │ ├── controller.json
│ │ │ ├── deepslate_lead_ore.json
│ │ │ ├── deepslate_nikolite_ore.json
│ │ │ ├── deepslate_silver_ore.json
│ │ │ ├── deepslate_tin_ore.json
│ │ │ ├── deepslate_tungsten_ore.json
│ │ │ ├── drain_mk1.json
│ │ │ ├── drill_bottom.json
│ │ │ ├── duct.json
│ │ │ ├── electric_furnace_creative.json
│ │ │ ├── electric_furnace_factory_mk4.json
│ │ │ ├── electric_furnace_mk1.json
│ │ │ ├── electric_furnace_mk2.json
│ │ │ ├── electric_furnace_mk3.json
│ │ │ ├── electric_furnace_mk4.json
│ │ │ ├── electrum_block.json
│ │ │ ├── farmer_creative.json
│ │ │ ├── farmer_mk1.json
│ │ │ ├── farmer_mk2.json
│ │ │ ├── farmer_mk3.json
│ │ │ ├── farmer_mk4.json
│ │ │ ├── fisher_mk2.json
│ │ │ ├── fisher_mk3.json
│ │ │ ├── fisher_mk4.json
│ │ │ ├── fluid_infuser_creative.json
│ │ │ ├── fluid_infuser_mk1.json
│ │ │ ├── fluid_infuser_mk2.json
│ │ │ ├── fluid_infuser_mk3.json
│ │ │ ├── fluid_infuser_mk4.json
│ │ │ ├── fluid_pipe_mk1.json
│ │ │ ├── fluid_pipe_mk2.json
│ │ │ ├── fluid_pipe_mk3.json
│ │ │ ├── fluid_pipe_mk4.json
│ │ │ ├── frame.json
│ │ │ ├── heat_generator_mk4.json
│ │ │ ├── intake.json
│ │ │ ├── item_pipe_mk1.json
│ │ │ ├── item_pipe_mk2.json
│ │ │ ├── item_pipe_mk3.json
│ │ │ ├── item_pipe_mk4.json
│ │ │ ├── laser_emitter_mk4.json
│ │ │ ├── lazuli_flux_container_creative.json
│ │ │ ├── lazuli_flux_container_mk1.json
│ │ │ ├── lazuli_flux_container_mk2.json
│ │ │ ├── lazuli_flux_container_mk3.json
│ │ │ ├── lazuli_flux_container_mk4.json
│ │ │ ├── lead_block.json
│ │ │ ├── lead_ore.json
│ │ │ ├── machine_block.json
│ │ │ ├── mining_rig_mk4.json
│ │ │ ├── modular_workbench_mk4.json
│ │ │ ├── nikolite_ore.json
│ │ │ ├── plank_block.json
│ │ │ ├── planks.json
│ │ │ ├── pulverizer_creative.json
│ │ │ ├── pulverizer_factory_mk4.json
│ │ │ ├── pulverizer_mk1.json
│ │ │ ├── pulverizer_mk2.json
│ │ │ ├── pulverizer_mk3.json
│ │ │ ├── pulverizer_mk4.json
│ │ │ ├── pump_mk1.json
│ │ │ ├── rancher_creative.json
│ │ │ ├── rancher_mk1.json
│ │ │ ├── rancher_mk2.json
│ │ │ ├── rancher_mk3.json
│ │ │ ├── rancher_mk4.json
│ │ │ ├── raw_lead_block.json
│ │ │ ├── raw_silver_block.json
│ │ │ ├── raw_tin_block.json
│ │ │ ├── raw_tungsten_block.json
│ │ │ ├── recycler_mk2.json
│ │ │ ├── sawmill_creative.json
│ │ │ ├── sawmill_mk1.json
│ │ │ ├── sawmill_mk2.json
│ │ │ ├── sawmill_mk3.json
│ │ │ ├── sawmill_mk4.json
│ │ │ ├── silo.json
│ │ │ ├── silver_block.json
│ │ │ ├── silver_ore.json
│ │ │ ├── slaughter_creative.json
│ │ │ ├── slaughter_mk1.json
│ │ │ ├── slaughter_mk2.json
│ │ │ ├── slaughter_mk3.json
│ │ │ ├── slaughter_mk4.json
│ │ │ ├── smelter_mk4.json
│ │ │ ├── solar_generator_mk1.json
│ │ │ ├── solar_generator_mk3.json
│ │ │ ├── solid_infuser_creative.json
│ │ │ ├── solid_infuser_factory_mk4.json
│ │ │ ├── solid_infuser_mk1.json
│ │ │ ├── solid_infuser_mk2.json
│ │ │ ├── solid_infuser_mk3.json
│ │ │ ├── solid_infuser_mk4.json
│ │ │ ├── steel_block.json
│ │ │ ├── sulfur_crystal.json
│ │ │ ├── tank.json
│ │ │ ├── tin_block.json
│ │ │ ├── tin_ore.json
│ │ │ ├── tungsten_block.json
│ │ │ ├── tungsten_ore.json
│ │ │ ├── warning_strobe.json
│ │ │ └── wither_proof_obsidian.json
│ │ ├── patchouli_books/
│ │ │ └── indrev/
│ │ │ ├── book.json
│ │ │ ├── en_us/
│ │ │ │ ├── categories/
│ │ │ │ │ ├── enhanced_ore_processing.json
│ │ │ │ │ ├── machines.json
│ │ │ │ │ ├── natural_resources.json
│ │ │ │ │ ├── temperature.json
│ │ │ │ │ ├── tools.json
│ │ │ │ │ ├── transportation.json
│ │ │ │ │ └── upgrades.json
│ │ │ │ └── entries/
│ │ │ │ ├── enhanced_ore_processing/
│ │ │ │ │ ├── doubling.json
│ │ │ │ │ ├── quadrupling.json
│ │ │ │ │ └── tripling.json
│ │ │ │ ├── machines/
│ │ │ │ │ ├── basic_machines.json
│ │ │ │ │ ├── batteries.json
│ │ │ │ │ ├── cables.json
│ │ │ │ │ ├── chopper.json
│ │ │ │ │ ├── factories.json
│ │ │ │ │ ├── farmer.json
│ │ │ │ │ ├── fisher.json
│ │ │ │ │ ├── generators.json
│ │ │ │ │ ├── miner.json
│ │ │ │ │ ├── pump.json
│ │ │ │ │ └── rancher.json
│ │ │ │ ├── natural_resources/
│ │ │ │ │ ├── lead_ore.json
│ │ │ │ │ ├── nikolite_ore.json
│ │ │ │ │ ├── silver_ore.json
│ │ │ │ │ ├── sulfur_crystals.json
│ │ │ │ │ ├── tin_ore.json
│ │ │ │ │ └── tungsten_ore.json
│ │ │ │ ├── temperature/
│ │ │ │ │ ├── coolers_and_fans.json
│ │ │ │ │ └── info.json
│ │ │ │ ├── tools/
│ │ │ │ │ ├── energy_reader.json
│ │ │ │ │ ├── gamer_axe.json
│ │ │ │ │ ├── hammer.json
│ │ │ │ │ ├── mining_drills.json
│ │ │ │ │ ├── modular_armor.json
│ │ │ │ │ ├── modular_core.json
│ │ │ │ │ ├── screwdriver.json
│ │ │ │ │ └── wrench.json
│ │ │ │ ├── transportation/
│ │ │ │ │ ├── energy.json
│ │ │ │ │ ├── fluid_pipes.json
│ │ │ │ │ ├── item_pipes.json
│ │ │ │ │ └── servos.json
│ │ │ │ └── upgrades/
│ │ │ │ ├── enhancement_upgrades.json
│ │ │ │ └── tier_upgrades.json
│ │ │ ├── ru_ru/
│ │ │ │ ├── book.json
│ │ │ │ ├── categories/
│ │ │ │ │ ├── enhanced_ore_processing.json
│ │ │ │ │ ├── machines.json
│ │ │ │ │ ├── natural_resources.json
│ │ │ │ │ ├── temperature.json
│ │ │ │ │ ├── tools.json
│ │ │ │ │ ├── transportation.json
│ │ │ │ │ └── upgrades.json
│ │ │ │ └── entries/
│ │ │ │ ├── enhanced_ore_processing/
│ │ │ │ │ ├── doubling.json
│ │ │ │ │ ├── quadrupling.json
│ │ │ │ │ └── tripling.json
│ │ │ │ ├── machines/
│ │ │ │ │ ├── basic_machines.json
│ │ │ │ │ ├── batteries.json
│ │ │ │ │ ├── cables.json
│ │ │ │ │ ├── chopper.json
│ │ │ │ │ ├── factories.json
│ │ │ │ │ ├── farmer.json
│ │ │ │ │ ├── fisher.json
│ │ │ │ │ ├── generators.json
│ │ │ │ │ ├── miner.json
│ │ │ │ │ ├── pump.json
│ │ │ │ │ └── rancher.json
│ │ │ │ ├── natural_resources/
│ │ │ │ │ ├── lead_ore.json
│ │ │ │ │ ├── nikolite_ore.json
│ │ │ │ │ ├── silver_ore.json
│ │ │ │ │ ├── sulfur_crystals.json
│ │ │ │ │ ├── tin_ore.json
│ │ │ │ │ └── tungsten_ore.json
│ │ │ │ ├── temperature/
│ │ │ │ │ ├── coolers_and_fans.json
│ │ │ │ │ └── info.json
│ │ │ │ ├── tools/
│ │ │ │ │ ├── energy_reader.json
│ │ │ │ │ ├── gamer_axe.json
│ │ │ │ │ ├── hammer.json
│ │ │ │ │ ├── mining_drills.json
│ │ │ │ │ ├── modular_armor.json
│ │ │ │ │ ├── modular_core.json
│ │ │ │ │ ├── screwdriver.json
│ │ │ │ │ └── wrench.json
│ │ │ │ ├── transportation/
│ │ │ │ │ ├── energy.json
│ │ │ │ │ ├── fluid_pipes.json
│ │ │ │ │ ├── item_pipes.json
│ │ │ │ │ └── servos.json
│ │ │ │ └── upgrades/
│ │ │ │ ├── enhancement_upgrades.json
│ │ │ │ └── tier_upgrades.json
│ │ │ └── zh_cn/
│ │ │ ├── categories/
│ │ │ │ ├── enhanced_ore_processing.json
│ │ │ │ ├── machines.json
│ │ │ │ ├── natural_resources.json
│ │ │ │ ├── temperature.json
│ │ │ │ ├── tools.json
│ │ │ │ ├── transportation.json
│ │ │ │ └── upgrades.json
│ │ │ └── entries/
│ │ │ ├── enhanced_ore_processing/
│ │ │ │ ├── doubling.json
│ │ │ │ ├── quadrupling.json
│ │ │ │ └── tripling.json
│ │ │ ├── machines/
│ │ │ │ ├── basic_machines.json
│ │ │ │ ├── batteries.json
│ │ │ │ ├── cables.json
│ │ │ │ ├── chopper.json
│ │ │ │ ├── factories.json
│ │ │ │ ├── farmer.json
│ │ │ │ ├── fisher.json
│ │ │ │ ├── generators.json
│ │ │ │ ├── miner.json
│ │ │ │ ├── pump.json
│ │ │ │ └── rancher.json
│ │ │ ├── natural_resources/
│ │ │ │ ├── lead_ore.json
│ │ │ │ ├── nikolite_ore.json
│ │ │ │ ├── silver_ore.json
│ │ │ │ ├── sulfur_crystals.json
│ │ │ │ ├── tin_ore.json
│ │ │ │ └── tungsten_ore.json
│ │ │ ├── temperature/
│ │ │ │ ├── coolers_and_fans.json
│ │ │ │ └── info.json
│ │ │ ├── tools/
│ │ │ │ ├── energy_reader.json
│ │ │ │ ├── gamer_axe.json
│ │ │ │ ├── hammer.json
│ │ │ │ ├── mining_drills.json
│ │ │ │ ├── modular_armor.json
│ │ │ │ ├── modular_core.json
│ │ │ │ ├── screwdriver.json
│ │ │ │ └── wrench.json
│ │ │ ├── transportation/
│ │ │ │ ├── energy.json
│ │ │ │ ├── fluid_pipes.json
│ │ │ │ ├── item_pipes.json
│ │ │ │ └── servos.json
│ │ │ └── upgrades/
│ │ │ ├── enhancement_upgrades.json
│ │ │ └── tier_upgrades.json
│ │ ├── recipes/
│ │ │ ├── blasting/
│ │ │ │ ├── bronze_ingot_from_smelting.json
│ │ │ │ ├── copper_ingot_from_ore.json
│ │ │ │ ├── copper_ingot_from_smelting.json
│ │ │ │ ├── electrum_ingot_from_smelting.json
│ │ │ │ ├── gold_ingot.json
│ │ │ │ ├── iron_ingot_from_dust.json
│ │ │ │ ├── lead_ingot_from_ore.json
│ │ │ │ ├── lead_ingot_from_raw_ore.json
│ │ │ │ ├── lead_ingot_from_smelting.json
│ │ │ │ ├── netherite_scrap.json
│ │ │ │ ├── silver_ingot_from_ore.json
│ │ │ │ ├── silver_ingot_from_raw_ores.json
│ │ │ │ ├── silver_ingot_from_smelting.json
│ │ │ │ ├── steel_ingot.json
│ │ │ │ ├── tin_ingot_from_ore.json
│ │ │ │ ├── tin_ingot_from_raw_ores.json
│ │ │ │ ├── tin_ingot_from_smelting.json
│ │ │ │ ├── tungsten_ingot_from_ore.json
│ │ │ │ ├── tungsten_ingot_from_raw_ores.json
│ │ │ │ └── tungsten_ingot_from_smelting.json
│ │ │ ├── compressing/
│ │ │ │ ├── bronze_plate_from_compressor.json
│ │ │ │ ├── carbon_fiber_plate.json
│ │ │ │ ├── copper_plate_from_compressor.json
│ │ │ │ ├── electrum_plate_from_compressor.json
│ │ │ │ ├── empty_upgrade.json
│ │ │ │ ├── gold_plate_from_compressor.json
│ │ │ │ ├── iron_plate_from_compressor.json
│ │ │ │ ├── lead_plate_from_compressor.json
│ │ │ │ ├── plank_block.json
│ │ │ │ ├── planks.json
│ │ │ │ ├── silver_plate_from_compressor.json
│ │ │ │ ├── steel_plate.json
│ │ │ │ ├── tin_plate_from_compressor.json
│ │ │ │ └── tungsten_plate_from_compressor.json
│ │ │ ├── condensing/
│ │ │ │ ├── copper_chunk_from_molten_copper.json
│ │ │ │ ├── gold_chunk_from_molten_gold.json
│ │ │ │ ├── iron_chunk_from_molten_iron.json
│ │ │ │ ├── lead_chunk_from_molten_lead.json
│ │ │ │ ├── netherite_chunk_from_molten_netherite.json
│ │ │ │ ├── silver_chunk_from_molten_silver.json
│ │ │ │ └── tin_chunk_from_molten_tin.json
│ │ │ ├── distiller/
│ │ │ │ └── salt_from_water.json
│ │ │ ├── electrolysis/
│ │ │ │ └── electrolyze_water.json
│ │ │ ├── fluid_infusing/
│ │ │ │ ├── clay.json
│ │ │ │ ├── coolant_fluid.json
│ │ │ │ ├── copper_purified_ore.json
│ │ │ │ ├── gold_purified_ore.json
│ │ │ │ ├── harden_black_concrete_powder.json
│ │ │ │ ├── harden_blue_concrete_powder.json
│ │ │ │ ├── harden_brown_concrete_powder.json
│ │ │ │ ├── harden_cyan_concrete_powder.json
│ │ │ │ ├── harden_gray_concrete_powder.json
│ │ │ │ ├── harden_green_concrete_powder.json
│ │ │ │ ├── harden_light_blue_concrete_powder.json
│ │ │ │ ├── harden_light_gray_concrete_powder.json
│ │ │ │ ├── harden_lime_concrete_powder.json
│ │ │ │ ├── harden_magenta_concrete_powder.json
│ │ │ │ ├── harden_orange_concrete_powder.json
│ │ │ │ ├── harden_pink_concrete_powder.json
│ │ │ │ ├── harden_purple_concrete_powder.json
│ │ │ │ ├── harden_red_concrete_powder.json
│ │ │ │ ├── harden_white_concrete_powder.json
│ │ │ │ ├── harden_yellow_concrete_powder.json
│ │ │ │ ├── iron_purified_ore.json
│ │ │ │ ├── lead_purified_ore.json
│ │ │ │ ├── netherite_purified_ore.json
│ │ │ │ ├── paper.json
│ │ │ │ ├── silver_purified_ore.json
│ │ │ │ ├── sulfuric_acid.json
│ │ │ │ ├── tin_purified_ore.json
│ │ │ │ ├── tungsten_purified_ore.json
│ │ │ │ └── wither_proof_obsidian.json
│ │ │ ├── infusing/
│ │ │ │ ├── allium.json
│ │ │ │ ├── azure_bluet.json
│ │ │ │ ├── big_dripleaf.json
│ │ │ │ ├── blue_orchid.json
│ │ │ │ ├── bronze_dust.json
│ │ │ │ ├── brown_mushroom.json
│ │ │ │ ├── cornflower.json
│ │ │ │ ├── crimson_fungus.json
│ │ │ │ ├── crimson_roots.json
│ │ │ │ ├── dandelion.json
│ │ │ │ ├── dead_bush.json
│ │ │ │ ├── electrum_dust.json
│ │ │ │ ├── enriched_nikolite.json
│ │ │ │ ├── enriched_nikolite_ingot.json
│ │ │ │ ├── fern.json
│ │ │ │ ├── glow_lichen.json
│ │ │ │ ├── grass.json
│ │ │ │ ├── kelp.json
│ │ │ │ ├── large_fern.json
│ │ │ │ ├── lilac.json
│ │ │ │ ├── lily_of_the_valley.json
│ │ │ │ ├── lily_pad.json
│ │ │ │ ├── nether_sprouts.json
│ │ │ │ ├── nikolite_ingot.json
│ │ │ │ ├── orange_tulip.json
│ │ │ │ ├── oxeye_daisy.json
│ │ │ │ ├── pink_tulip.json
│ │ │ │ ├── poppy.json
│ │ │ │ ├── red_mushroom.json
│ │ │ │ ├── red_tulip.json
│ │ │ │ ├── sea_pickle.json
│ │ │ │ ├── seagrass.json
│ │ │ │ ├── small_dripleaf.json
│ │ │ │ ├── spore_blossom.json
│ │ │ │ ├── steel_dust.json
│ │ │ │ ├── tall_grass.json
│ │ │ │ ├── twisting_vines.json
│ │ │ │ ├── untanned_leather.json
│ │ │ │ ├── vine.json
│ │ │ │ ├── warped_fungus.json
│ │ │ │ ├── warped_roots.json
│ │ │ │ ├── weeping_vines.json
│ │ │ │ └── white_tulip.json
│ │ │ ├── laser.json
│ │ │ ├── modules/
│ │ │ │ ├── module_auto_feeder.json
│ │ │ │ ├── module_breathing.json
│ │ │ │ ├── module_charger.json
│ │ │ │ ├── module_efficiency.json
│ │ │ │ ├── module_elytra.json
│ │ │ │ ├── module_feather_falling.json
│ │ │ │ ├── module_fire_aspect.json
│ │ │ │ ├── module_fire_resistance.json
│ │ │ │ ├── module_fortune.json
│ │ │ │ ├── module_jump_boost.json
│ │ │ │ ├── module_looting.json
│ │ │ │ ├── module_night_vision.json
│ │ │ │ ├── module_piglin_tricker.json
│ │ │ │ ├── module_protection.json
│ │ │ │ ├── module_range.json
│ │ │ │ ├── module_sharpness.json
│ │ │ │ ├── module_silk_touch.json
│ │ │ │ ├── module_solar_panel.json
│ │ │ │ └── module_speed.json
│ │ │ ├── pulverizer/
│ │ │ │ ├── blaze_power.json
│ │ │ │ ├── bone_meal.json
│ │ │ │ ├── bronze_dust_from_ingot.json
│ │ │ │ ├── coal_dust.json
│ │ │ │ ├── coal_dust_from_ore.json
│ │ │ │ ├── cobblestone_pulverizer.json
│ │ │ │ ├── copper_dust_from_chunk.json
│ │ │ │ ├── copper_dust_from_ingot.json
│ │ │ │ ├── copper_dust_from_ore.json
│ │ │ │ ├── copper_dust_from_purified_ore.json
│ │ │ │ ├── copper_dust_from_raw.json
│ │ │ │ ├── diamond_dust.json
│ │ │ │ ├── diamond_dust_from_ore.json
│ │ │ │ ├── electrum_dust_from_ingot.json
│ │ │ │ ├── gold_dust_from_chunk.json
│ │ │ │ ├── gold_dust_from_ingot.json
│ │ │ │ ├── gold_dust_from_ore.json
│ │ │ │ ├── gold_dust_from_raw.json
│ │ │ │ ├── gravel_pulverizer.json
│ │ │ │ ├── iron_dust_from_chunk.json
│ │ │ │ ├── iron_dust_from_ingot.json
│ │ │ │ ├── iron_dust_from_ore.json
│ │ │ │ ├── iron_dust_from_purified_ore.json
│ │ │ │ ├── iron_dust_from_raw.json
│ │ │ │ ├── lead_dust_from_chunk.json
│ │ │ │ ├── lead_dust_from_ingot.json
│ │ │ │ ├── lead_dust_from_ore.json
│ │ │ │ ├── lead_dust_from_purified_ore.json
│ │ │ │ ├── lead_dust_from_raw.json
│ │ │ │ ├── netherite_dust.json
│ │ │ │ ├── netherite_dust_from_chunk.json
│ │ │ │ ├── nikolite.json
│ │ │ │ ├── sand_pulverizer.json
│ │ │ │ ├── silver_dust_from_chunk.json
│ │ │ │ ├── silver_dust_from_ingot.json
│ │ │ │ ├── silver_dust_from_ore.json
│ │ │ │ ├── silver_dust_from_purified_ore.json
│ │ │ │ ├── silver_dust_from_raw.json
│ │ │ │ ├── sulfur_dust.json
│ │ │ │ ├── sulfur_dust_from_gunpowder.json
│ │ │ │ ├── tin_dust_from_chunk.json
│ │ │ │ ├── tin_dust_from_ingot.json
│ │ │ │ ├── tin_dust_from_ore.json
│ │ │ │ ├── tin_dust_from_purified_ore.json
│ │ │ │ ├── tin_dust_from_raw.json
│ │ │ │ ├── tungsten_dust_from_ingot.json
│ │ │ │ ├── tungsten_dust_from_ore.json
│ │ │ │ └── tungsten_dust_from_purified_ore.json
│ │ │ ├── recycling/
│ │ │ │ ├── recycle_baked_potato.json
│ │ │ │ ├── recycle_bamboo.json
│ │ │ │ ├── recycle_beetroot.json
│ │ │ │ ├── recycle_beetrot_seeds.json
│ │ │ │ ├── recycle_bread.json
│ │ │ │ ├── recycle_brown_mushroom.json
│ │ │ │ ├── recycle_cactus.json
│ │ │ │ ├── recycle_carrot.json
│ │ │ │ ├── recycle_cookie.json
│ │ │ │ ├── recycle_dirt.json
│ │ │ │ ├── recycle_flowers.json
│ │ │ │ ├── recycle_grass.json
│ │ │ │ ├── recycle_grass_block.json
│ │ │ │ ├── recycle_hay_block.json
│ │ │ │ ├── recycle_logs.json
│ │ │ │ ├── recycle_melon.json
│ │ │ │ ├── recycle_melon_seeds.json
│ │ │ │ ├── recycle_melon_slice.json
│ │ │ │ ├── recycle_nether_wart.json
│ │ │ │ ├── recycle_planks.json
│ │ │ │ ├── recycle_potato.json
│ │ │ │ ├── recycle_red_mushroom.json
│ │ │ │ ├── recycle_saplings.json
│ │ │ │ ├── recycle_wheat.json
│ │ │ │ └── recycle_wheat_seeds.json
│ │ │ ├── sawmill/
│ │ │ │ ├── acacia_planks.json
│ │ │ │ ├── birch_planks.json
│ │ │ │ ├── crimson_planks.json
│ │ │ │ ├── dark_oak_planks.json
│ │ │ │ ├── jungle_planks.json
│ │ │ │ ├── oak_planks.json
│ │ │ │ ├── spruce_planks.json
│ │ │ │ └── warped_planks.json
│ │ │ ├── shaped/
│ │ │ │ ├── battery.json
│ │ │ │ ├── biomass_generator_mk3.json
│ │ │ │ ├── blast_furnace_enhancer.json
│ │ │ │ ├── bronze_axe.json
│ │ │ │ ├── bronze_block.json
│ │ │ │ ├── bronze_boots.json
│ │ │ │ ├── bronze_chestplate.json
│ │ │ │ ├── bronze_helmet.json
│ │ │ │ ├── bronze_hoe.json
│ │ │ │ ├── bronze_ingot_from_nugget.json
│ │ │ │ ├── bronze_leggings.json
│ │ │ │ ├── bronze_pickaxe.json
│ │ │ │ ├── bronze_shovel.json
│ │ │ │ ├── bronze_sword.json
│ │ │ │ ├── buffer_enhancer.json
│ │ │ │ ├── cabinet.json
│ │ │ │ ├── cable_mk1.json
│ │ │ │ ├── cable_mk2.json
│ │ │ │ ├── cable_mk3.json
│ │ │ │ ├── cable_mk4.json
│ │ │ │ ├── capsule.json
│ │ │ │ ├── carbon_fiber_boots_frame.json
│ │ │ │ ├── carbon_fiber_chest_frame.json
│ │ │ │ ├── carbon_fiber_helmet_frame.json
│ │ │ │ ├── carbon_fiber_legs_frame.json
│ │ │ │ ├── carbon_fiber_rod.json
│ │ │ │ ├── charge_pad_mk4.json
│ │ │ │ ├── chopper_mk1.json
│ │ │ │ ├── circuit_mk1.json
│ │ │ │ ├── circuit_mk2.json
│ │ │ │ ├── circuit_mk3.json
│ │ │ │ ├── circuit_mk4.json
│ │ │ │ ├── coal_generator_mk1.json
│ │ │ │ ├── compressor_factory_mk4.json
│ │ │ │ ├── compressor_mk1.json
│ │ │ │ ├── condenser_mk4.json
│ │ │ │ ├── controller.json
│ │ │ │ ├── cooler_cell.json
│ │ │ │ ├── copper_axe.json
│ │ │ │ ├── copper_boots.json
│ │ │ │ ├── copper_chestplate.json
│ │ │ │ ├── copper_helmet.json
│ │ │ │ ├── copper_hoe.json
│ │ │ │ ├── copper_ingot_from_nuggets.json
│ │ │ │ ├── copper_leggings.json
│ │ │ │ ├── copper_pickaxe.json
│ │ │ │ ├── copper_shovel.json
│ │ │ │ ├── copper_sword.json
│ │ │ │ ├── damage_upgrade.json
│ │ │ │ ├── data_card_writer_mk4.json
│ │ │ │ ├── diamond_drill_head.json
│ │ │ │ ├── drain_mk1.json
│ │ │ │ ├── drill_bottom.json
│ │ │ │ ├── duct.json
│ │ │ │ ├── electric_furnace_factory_mk4.json
│ │ │ │ ├── electric_furnace_mk1.json
│ │ │ │ ├── electrum_block.json
│ │ │ │ ├── electrum_block_from_nugget.json
│ │ │ │ ├── energy_reader.json
│ │ │ │ ├── fan.json
│ │ │ │ ├── farmer_mk1.json
│ │ │ │ ├── fisher_mk2.json
│ │ │ │ ├── fisher_mk3.json
│ │ │ │ ├── fisher_mk4.json
│ │ │ │ ├── fluid_infuser_mk1.json
│ │ │ │ ├── fluid_pipe_mk1.json
│ │ │ │ ├── fluid_pipe_mk2.json
│ │ │ │ ├── fluid_pipe_mk3.json
│ │ │ │ ├── fluid_pipe_mk4.json
│ │ │ │ ├── frame.json
│ │ │ │ ├── gamer_axe.json
│ │ │ │ ├── hammer.json
│ │ │ │ ├── heat_coil.json
│ │ │ │ ├── heat_generator.json
│ │ │ │ ├── heatsink.json
│ │ │ │ ├── intake.json
│ │ │ │ ├── iron_drill_head.json
│ │ │ │ ├── item_pipe_mk1.json
│ │ │ │ ├── item_pipe_mk2.json
│ │ │ │ ├── item_pipe_mk3.json
│ │ │ │ ├── item_pipe_mk4.json
│ │ │ │ ├── laser_emitter_mk4.json
│ │ │ │ ├── lazuli_flux_container_mk1.json
│ │ │ │ ├── lazuli_flux_container_mk2.json
│ │ │ │ ├── lazuli_flux_container_mk3.json
│ │ │ │ ├── lazuli_flux_container_mk4.json
│ │ │ │ ├── lead_axe.json
│ │ │ │ ├── lead_block.json
│ │ │ │ ├── lead_boots.json
│ │ │ │ ├── lead_chestplate.json
│ │ │ │ ├── lead_helmet.json
│ │ │ │ ├── lead_hoe.json
│ │ │ │ ├── lead_ingot_from_nuggets.json
│ │ │ │ ├── lead_leggings.json
│ │ │ │ ├── lead_pickaxe.json
│ │ │ │ ├── lead_shovel.json
│ │ │ │ ├── lead_sword.json
│ │ │ │ ├── machine_block.json
│ │ │ │ ├── mining_drill_mk1.json
│ │ │ │ ├── mining_drill_mk2.json
│ │ │ │ ├── mining_drill_mk3.json
│ │ │ │ ├── mining_drill_mk4.json
│ │ │ │ ├── mining_rig_mk4.json
│ │ │ │ ├── modular_armor_boots.json
│ │ │ │ ├── modular_armor_chest.json
│ │ │ │ ├── modular_armor_helmet.json
│ │ │ │ ├── modular_armor_legs.json
│ │ │ │ ├── modular_core.json
│ │ │ │ ├── modular_workbench.json
│ │ │ │ ├── netherite_drill_head.json
│ │ │ │ ├── ore_data_card.json
│ │ │ │ ├── paper.json
│ │ │ │ ├── portable_charger.json
│ │ │ │ ├── pulverizer_factory_mk4.json
│ │ │ │ ├── pulverizer_mk1.json
│ │ │ │ ├── pump_mk1.json
│ │ │ │ ├── rancher_mk1.json
│ │ │ │ ├── raw_lead_block.json
│ │ │ │ ├── raw_silver_block.json
│ │ │ │ ├── raw_tin_block.json
│ │ │ │ ├── raw_tungsten_block.json
│ │ │ │ ├── recycler_mk2.json
│ │ │ │ ├── reinforced_elytra.json
│ │ │ │ ├── sawmill_mk1.json
│ │ │ │ ├── screwdriver.json
│ │ │ │ ├── servo_output.json
│ │ │ │ ├── servo_retriever.json
│ │ │ │ ├── silo.json
│ │ │ │ ├── silver_axe.json
│ │ │ │ ├── silver_block.json
│ │ │ │ ├── silver_boots.json
│ │ │ │ ├── silver_chestplate.json
│ │ │ │ ├── silver_helmet.json
│ │ │ │ ├── silver_hoe.json
│ │ │ │ ├── silver_ingot_from_nuggets.json
│ │ │ │ ├── silver_leggings.json
│ │ │ │ ├── silver_pickaxe.json
│ │ │ │ ├── silver_shovel.json
│ │ │ │ ├── silver_sword.json
│ │ │ │ ├── slaughter_mk1.json
│ │ │ │ ├── smelter_mk4.json
│ │ │ │ ├── smoker_enhancer.json
│ │ │ │ ├── solar_generator_mk1.json
│ │ │ │ ├── solar_generator_mk3.json
│ │ │ │ ├── solid_infuser_factory_mk4.json
│ │ │ │ ├── solid_infuser_mk1.json
│ │ │ │ ├── speed_enhancer.json
│ │ │ │ ├── steel_axe.json
│ │ │ │ ├── steel_block.json
│ │ │ │ ├── steel_boots.json
│ │ │ │ ├── steel_chestplate.json
│ │ │ │ ├── steel_helmet.json
│ │ │ │ ├── steel_hoe.json
│ │ │ │ ├── steel_ingot_from_nuggets.json
│ │ │ │ ├── steel_leggings.json
│ │ │ │ ├── steel_pickaxe.json
│ │ │ │ ├── steel_shovel.json
│ │ │ │ ├── steel_sword.json
│ │ │ │ ├── stone_drill_head.json
│ │ │ │ ├── tank.json
│ │ │ │ ├── tier_upgrade_mk2.json
│ │ │ │ ├── tier_upgrade_mk3.json
│ │ │ │ ├── tier_upgrade_mk4.json
│ │ │ │ ├── tin_axe.json
│ │ │ │ ├── tin_block.json
│ │ │ │ ├── tin_boots.json
│ │ │ │ ├── tin_chestplate.json
│ │ │ │ ├── tin_helmet.json
│ │ │ │ ├── tin_hoe.json
│ │ │ │ ├── tin_ingot_from_nuggets.json
│ │ │ │ ├── tin_leggings.json
│ │ │ │ ├── tin_pickaxe.json
│ │ │ │ ├── tin_shovel.json
│ │ │ │ ├── tin_sword.json
│ │ │ │ ├── tungsten_block.json
│ │ │ │ ├── tungsten_ingot_from_nuggets.json
│ │ │ │ ├── warning_strobe.json
│ │ │ │ └── wrench.json
│ │ │ ├── shapeless/
│ │ │ │ ├── bronze_ingot_from_block.json
│ │ │ │ ├── bronze_nugget.json
│ │ │ │ ├── copper_ingot_from_block.json
│ │ │ │ ├── copper_nugget.json
│ │ │ │ ├── copper_plate_from_hammer.json
│ │ │ │ ├── electrum_ingot_from_block.json
│ │ │ │ ├── electrum_nugget.json
│ │ │ │ ├── gold_plate_from_hammer.json
│ │ │ │ ├── guide_book.json
│ │ │ │ ├── iron_plate_from_hammer.json
│ │ │ │ ├── lead_ingot_from_block.json
│ │ │ │ ├── lead_nugget.json
│ │ │ │ ├── planks.json
│ │ │ │ ├── raw_lead.json
│ │ │ │ ├── raw_silver.json
│ │ │ │ ├── raw_tin.json
│ │ │ │ ├── raw_tungsten.json
│ │ │ │ ├── silver_ingot_from_block.json
│ │ │ │ ├── silver_nugget.json
│ │ │ │ ├── steel_ingot_from_block.json
│ │ │ │ ├── steel_nugget.json
│ │ │ │ ├── tin_ingot_from_block.json
│ │ │ │ ├── tin_nugget.json
│ │ │ │ ├── tin_plate_from_hammer.json
│ │ │ │ ├── tungsten_ingot_from_block.json
│ │ │ │ └── tungsten_nugget.json
│ │ │ ├── smelter/
│ │ │ │ ├── molten_copper_from_block.json
│ │ │ │ ├── molten_copper_from_dust.json
│ │ │ │ ├── molten_copper_from_ingot.json
│ │ │ │ ├── molten_copper_from_nugget.json
│ │ │ │ ├── molten_copper_from_ore.json
│ │ │ │ ├── molten_copper_from_purified_ore.json
│ │ │ │ ├── molten_gold_from_block.json
│ │ │ │ ├── molten_gold_from_dust.json
│ │ │ │ ├── molten_gold_from_ingot.json
│ │ │ │ ├── molten_gold_from_nugget.json
│ │ │ │ ├── molten_gold_from_ore.json
│ │ │ │ ├── molten_gold_from_purified_ore.json
│ │ │ │ ├── molten_iron_from_block.json
│ │ │ │ ├── molten_iron_from_dust.json
│ │ │ │ ├── molten_iron_from_ingot.json
│ │ │ │ ├── molten_iron_from_nugget.json
│ │ │ │ ├── molten_iron_from_ore.json
│ │ │ │ ├── molten_iron_from_purified_ore.json
│ │ │ │ ├── molten_lead_from_block.json
│ │ │ │ ├── molten_lead_from_dust.json
│ │ │ │ ├── molten_lead_from_ingot.json
│ │ │ │ ├── molten_lead_from_nugget.json
│ │ │ │ ├── molten_lead_from_ore.json
│ │ │ │ ├── molten_lead_from_purified_ore.json
│ │ │ │ ├── molten_netherite_from_dust.json
│ │ │ │ ├── molten_netherite_from_ore.json
│ │ │ │ ├── molten_netherite_from_purified_ore.json
│ │ │ │ ├── molten_silver_from_block.json
│ │ │ │ ├── molten_silver_from_dust.json
│ │ │ │ ├── molten_silver_from_ingot.json
│ │ │ │ ├── molten_silver_from_nugget.json
│ │ │ │ ├── molten_silver_from_ore.json
│ │ │ │ ├── molten_silver_from_purified_ore.json
│ │ │ │ ├── molten_tin_from_block.json
│ │ │ │ ├── molten_tin_from_dust.json
│ │ │ │ ├── molten_tin_from_ingot.json
│ │ │ │ ├── molten_tin_from_nugget.json
│ │ │ │ ├── molten_tin_from_ore.json
│ │ │ │ └── molten_tin_from_purified_ore.json
│ │ │ ├── smelting/
│ │ │ │ ├── bronze_ingot_from_smelting.json
│ │ │ │ ├── copper_ingot_from_smelting.json
│ │ │ │ ├── electrum_ingot_from_smelting.json
│ │ │ │ ├── gold_ingot.json
│ │ │ │ ├── iron_ingot_from_dust.json
│ │ │ │ ├── lead_ingot_from_ore.json
│ │ │ │ ├── lead_ingot_from_raw_ore.json
│ │ │ │ ├── lead_ingot_from_smelting.json
│ │ │ │ ├── leather.json
│ │ │ │ ├── netherite_scrap.json
│ │ │ │ ├── silver_ingot_from_ore.json
│ │ │ │ ├── silver_ingot_from_raw_ores.json
│ │ │ │ ├── silver_ingot_from_smelting.json
│ │ │ │ ├── steel_ingot.json
│ │ │ │ ├── tin_ingot_from_ore.json
│ │ │ │ ├── tin_ingot_from_raw_ores.json
│ │ │ │ ├── tin_ingot_from_smelting.json
│ │ │ │ ├── tungsten_ingot_from_ore.json
│ │ │ │ ├── tungsten_ingot_from_raw_ores.json
│ │ │ │ └── tungsten_ingot_from_smelting.json
│ │ │ └── upgrade/
│ │ │ ├── chopper_mk1_to_mk2.json
│ │ │ ├── chopper_mk2_to_mk3.json
│ │ │ ├── chopper_mk3_to_mk4.json
│ │ │ ├── compressor_mk1_to_mk2.json
│ │ │ ├── compressor_mk2_to_mk3.json
│ │ │ ├── compressor_mk3_to_mk4.json
│ │ │ ├── electric_furnace_mk1_to_mk2.json
│ │ │ ├── electric_furnace_mk2_to_mk3.json
│ │ │ ├── electric_furnace_mk3_to_mk4.json
│ │ │ ├── electrolytic_separator_mk1_to_mk2.json
│ │ │ ├── electrolytic_separator_mk2_to_mk3.json
│ │ │ ├── electrolytic_separator_mk3_to_mk4.json
│ │ │ ├── farmer_mk1_to_mk2.json
│ │ │ ├── farmer_mk2_to_mk3.json
│ │ │ ├── farmer_mk3_to_mk4.json
│ │ │ ├── fluid_infuser_mk1_to_mk2.json
│ │ │ ├── fluid_infuser_mk2_to_mk3.json
│ │ │ ├── fluid_infuser_mk3_to_mk4.json
│ │ │ ├── pulverizer_mk1_to_mk2.json
│ │ │ ├── pulverizer_mk2_to_mk3.json
│ │ │ ├── pulverizer_mk3_to_mk4.json
│ │ │ ├── rancher_mk1_to_mk2.json
│ │ │ ├── rancher_mk2_to_mk3.json
│ │ │ ├── rancher_mk3_to_mk4.json
│ │ │ ├── sawmill_mk1_to_mk2.json
│ │ │ ├── sawmill_mk2_to_mk3.json
│ │ │ ├── sawmill_mk3_to_mk4.json
│ │ │ ├── slaughter_mk1_to_mk2.json
│ │ │ ├── slaughter_mk2_to_mk3.json
│ │ │ ├── slaughter_mk3_to_mk4.json
│ │ │ ├── solid_infuser_mk1_to_mk2.json
│ │ │ ├── solid_infuser_mk2_to_mk3.json
│ │ │ └── solid_infuser_mk3_to_mk4.json
│ │ └── tags/
│ │ └── items/
│ │ └── coolers.json
│ └── minecraft/
│ └── tags/
│ ├── blocks/
│ │ ├── mineable/
│ │ │ ├── axe.json
│ │ │ └── pickaxe.json
│ │ └── wither_immune.json
│ └── fluids/
│ ├── lava.json
│ └── water.json
├── fabric.mod.json
├── indrev.accesswidener
└── indrev.mixins.json
SYMBOL INDEX (152 symbols across 24 files)
FILE: src/main/java/me/steven/indrev/AprilFools.java
class AprilFools (line 15) | @Environment(EnvType.CLIENT)
method init (line 20) | public static void init() {
method isToday (line 35) | public static boolean isToday() {
FILE: src/main/java/me/steven/indrev/FabricRecipeRemainder.java
type FabricRecipeRemainder (line 7) | public interface FabricRecipeRemainder {
method getRemainder (line 8) | ItemStack getRemainder(ItemStack stack, CraftingInventory craftingInve...
FILE: src/main/java/me/steven/indrev/IREnergyStorage.java
class IREnergyStorage (line 14) | public abstract class IREnergyStorage extends SnapshotParticipant<Long> {
method IREnergyStorage (line 17) | public IREnergyStorage() {
method getCapacity (line 26) | public abstract long getCapacity();
method getMaxInsert (line 31) | public abstract long getMaxInsert(@Nullable Direction side);
method getMaxExtract (line 36) | public abstract long getMaxExtract(@Nullable Direction side);
method getSideStorage (line 41) | public EnergyStorage getSideStorage(@Nullable Direction side) {
method getAmount (line 45) | public long getAmount() {
method setAmount (line 49) | public void setAmount(long v) {
method createSnapshot (line 53) | @Override
method readSnapshot (line 58) | @Override
class SideStorage (line 63) | private class SideStorage implements EnergyStorage {
method SideStorage (line 66) | private SideStorage(Direction side) {
method supportsInsertion (line 70) | @Override
method insert (line 75) | @Override
method supportsExtraction (line 91) | @Override
method extract (line 96) | @Override
method getAmount (line 111) | @Override
method getCapacity (line 116) | @Override
FILE: src/main/java/me/steven/indrev/WCustomTabPanel.java
class WCustomTabPanel (line 51) | public class WCustomTabPanel extends WPanel {
method WCustomTabPanel (line 64) | public WCustomTabPanel() {
method add (line 69) | public void add(WWidget widget, int x, int y) {
method setBackgroundPainter (line 76) | @Override
method setForceBackgroundPainter (line 86) | public WPanel setForceBackgroundPainter(BackgroundPainter painter) {
method add (line 95) | public void add(WCustomTabPanel.Tab tab) {
method add (line 113) | public void add(WWidget widget, Consumer<WCustomTabPanel.Tab.Builder> ...
method setSize (line 119) | @Override
method addPainters (line 125) | @Environment(EnvType.CLIENT)
class Tab (line 134) | public static class Tab {
method Tab (line 150) | public Tab(Text title, Icon icon, WWidget widget, Consumer<TooltipBu...
method getTitle (line 166) | public Text getTitle() {
method getIcon (line 175) | public Icon getIcon() {
method getWidget (line 184) | public WWidget getWidget() {
method addTooltip (line 193) | public void addTooltip(TooltipBuilder tooltip) {
class Builder (line 201) | public static final class Builder {
method Builder (line 215) | public Builder(WWidget widget) {
method title (line 226) | public Builder title(Text title) {
method icon (line 238) | public Builder icon(Icon icon) {
method tooltip (line 250) | public Builder tooltip(Text... lines) {
method tooltip (line 264) | public Builder tooltip(Collection<? extends Text> lines) {
method build (line 275) | public Tab build() {
class WTab (line 294) | private final class WTab extends WWidget {
method WTab (line 298) | WTab(WCustomTabPanel.Tab data) {
method canFocus (line 302) | @Override
method onClick (line 307) | @Environment(EnvType.CLIENT)
method onKeyPressed (line 323) | @Environment(EnvType.CLIENT)
method paint (line 331) | @Environment(EnvType.CLIENT)
method addTooltip (line 376) | @Override
class Painters (line 385) | @Environment(EnvType.CLIENT)
FILE: src/main/java/me/steven/indrev/mixin/aprilfools/AprilFoolsMixinConfigPlugin.java
class AprilFoolsMixinConfigPlugin (line 14) | public class AprilFoolsMixinConfigPlugin implements IMixinConfigPlugin {
method onLoad (line 20) | @Override
method getRefMapperConfig (line 23) | @Override
method shouldApplyMixin (line 28) | @Override
method acceptTargets (line 33) | @Override
method getMixins (line 36) | @Override
method preApply (line 41) | @Override
method postApply (line 44) | @Override
FILE: src/main/java/me/steven/indrev/mixin/aprilfools/MixinTranslatableText.java
class MixinTranslatableText (line 11) | @Mixin(TranslatableText.class)
method owo (line 15) | @ModifyVariable(name = "string", at = @At("STORE"), method = "updateTr...
FILE: src/main/java/me/steven/indrev/mixin/client/MixinBuiltChunk.java
class MixinBuiltChunk (line 14) | @Mixin(ChunkBuilder.BuiltChunk.class)
method getOrigin (line 16) | @Shadow public abstract BlockPos getOrigin();
method indrev_removeBuiltChunk (line 18) | @Inject(method = "rebuild", at = @At("INVOKE"))
FILE: src/main/java/me/steven/indrev/mixin/client/MixinClientPlayerInteractionManager.java
class MixinClientPlayerInteractionManager (line 10) | @Mixin(ClientPlayerInteractionManager.class)
method indrev_fixGamerAxe (line 12) | @Redirect(method = "isCurrentlyBreaking", at = @At(value = "INVOKE", t...
FILE: src/main/java/me/steven/indrev/mixin/client/MixinGameRenderer.java
class MixinGameRenderer (line 12) | @Mixin(value = GameRenderer.class, priority = 999)
method indrev_nightVisionStrength (line 14) | @Inject(method = "getNightVisionStrength", at = @At("INVOKE"), cancell...
FILE: src/main/java/me/steven/indrev/mixin/client/MixinItemRenderer.java
class MixinItemRenderer (line 16) | @Mixin(ItemRenderer.class)
method renderGuiQuad (line 19) | @Shadow protected abstract void renderGuiQuad(BufferBuilder buffer, in...
method indrev_renderModularArmorFluidTank (line 21) | @Inject(
FILE: src/main/java/me/steven/indrev/mixin/client/MixinLivingEntityClient.java
class MixinLivingEntityClient (line 13) | @Mixin(LivingEntity.class)
method indrev_nightVision (line 15) | @Inject(method = "hasStatusEffect", at = @At("INVOKE"), cancellable = ...
FILE: src/main/java/me/steven/indrev/mixin/client/MixinMinecraftClient.java
class MixinMinecraftClient (line 17) | @Mixin(MinecraftClient.class)
method indrev_requestProperties (line 19) | @Inject(method = "setScreen", at = @At("RETURN"))
FILE: src/main/java/me/steven/indrev/mixin/client/MixinWItemSlot.java
class MixinWItemSlot (line 12) | @Mixin(value = WItemSlot.class, remap = false)
method indrev_dontOverridePainters (line 17) | @Inject(method = "addPainters", at = @At("HEAD"), cancellable = true, ...
FILE: src/main/java/me/steven/indrev/mixin/common/MixinAbstractCookingRecipe.java
class MixinAbstractCookingRecipe (line 28) | @Mixin(AbstractCookingRecipe.class)
method a (line 43) | @Inject(method = "<init>", at = @At("TAIL"))
method getIdentifier (line 49) | @NotNull
method getInput (line 55) | @NotNull
method getOutputs (line 61) | @NotNull
method getTicks (line 67) | @Override
method matches (line 72) | @Override
method craft (line 77) | @NotNull
method getId (line 83) | @NotNull
method isIgnoredInRecipeBook (line 89) | @Override
method getIngredients (line 94) | @NotNull
method isEmpty (line 102) | @Override
method canStart (line 108) | @Override
FILE: src/main/java/me/steven/indrev/mixin/common/MixinEnchantmentHelper.java
class MixinEnchantmentHelper (line 17) | @Mixin(EnchantmentHelper.class)
method indrev_customEnchantProvider (line 19) | @Inject(method = "getLevel", at = @At("HEAD"), cancellable = true)
method indrev_waterAffinityChest (line 28) | @Inject(method = "hasAquaAffinity", at = @At("HEAD"), cancellable = true)
method indrev_waterAffinityLegs (line 39) | @Inject(method = "getDepthStrider", at = @At("HEAD"), cancellable = true)
FILE: src/main/java/me/steven/indrev/mixin/common/MixinEntity.java
class MixinEntity (line 19) | @Mixin(Entity.class)
method getX (line 23) | @Shadow public abstract double getX();
method getY (line 25) | @Shadow public abstract double getY();
method getZ (line 27) | @Shadow public abstract double getZ();
method indrev_breathingModule (line 31) | @Inject(method = "setAir", at = @At("INVOKE"), cancellable = true)
method indrev_jumpBoostModule (line 38) | @Inject(method = "getJumpVelocityMultiplier", at = @At(value = "RETURN...
method indrev_onDropItem (line 45) | @Inject(method = "dropStack(Lnet/minecraft/item/ItemStack;F)Lnet/minec...
method getMachineInv (line 57) | @Nullable
method setMachineInv (line 63) | @Override
FILE: src/main/java/me/steven/indrev/mixin/common/MixinItemPredicate.java
class MixinItemPredicate (line 15) | @Mixin(ItemPredicate.class)
method indrev_customEnchantProvider (line 19) | @Inject(
FILE: src/main/java/me/steven/indrev/mixin/common/MixinItemStack.java
class MixinItemStack (line 20) | @Mixin(ItemStack.class)
method getItem (line 23) | @Shadow public abstract Item getItem();
method indrev_modifiableAttributeModifiers (line 25) | @Inject(method = "getAttributeModifiers", at = @At("TAIL"), cancellabl...
FILE: src/main/java/me/steven/indrev/mixin/common/MixinLivingEntity.java
class MixinLivingEntity (line 12) | @Mixin(LivingEntity.class)
method MixinLivingEntity (line 15) | public MixinLivingEntity(EntityType<?> type, World world) {
FILE: src/main/java/me/steven/indrev/mixin/common/MixinPiglinBrain.java
class MixinPiglinBrain (line 12) | @Mixin(PiglinBrain.class)
method indrev_hasPiglinTrickerModule (line 14) | @Inject(method = "wearsGoldArmor", at = @At("RETURN"), cancellable = t...
FILE: src/main/java/me/steven/indrev/mixin/common/MixinPlayerEntity.java
class MixinPlayerEntity (line 30) | @Mixin(PlayerEntity.class)
method MixinPlayerEntity (line 37) | protected MixinPlayerEntity(EntityType<? extends LivingEntity> entityT...
method indrev_checkEnergyTool (line 41) | @Inject(method = "getBlockBreakingSpeed", at = @At("HEAD"), cancellabl...
method indrev_writeShieldToPlayerTag (line 61) | @Inject(method = "writeCustomDataToNbt", at = @At("RETURN"))
method indrev_readShieldToPlayerTag (line 66) | @Inject(method = "readCustomDataFromNbt", at = @At("RETURN"))
method getShieldDurability (line 71) | @Override
method setShieldDurability (line 76) | @Override
method getMaxShieldDurability (line 81) | @Override
method getAppliedModules (line 93) | @Override
method isApplied (line 98) | @Override
method applyModule (line 103) | @Override
method getAppliedLevel (line 108) | @Override
method setRegenerating (line 113) | @Override
method isRegenerating (line 118) | @Override
FILE: src/main/java/me/steven/indrev/mixin/common/MixinPlayerInventory.java
class MixinPlayerInventory (line 15) | @Mixin(PlayerInventory.class)
method getArmorStack (line 17) | @Shadow public abstract ItemStack getArmorStack(int slot);
method indrev_tickJetpack (line 21) | @Inject(method = "updateItems", at = @At("TAIL"))
FILE: src/main/java/me/steven/indrev/mixin/common/MixinServerPlayerEntity.java
class MixinServerPlayerEntity (line 46) | @Mixin(ServerPlayerEntity.class)
method isInvulnerableTo (line 49) | @Shadow public abstract boolean isInvulnerableTo(DamageSource damageSo...
method playSound (line 51) | @Shadow public abstract void playSound(SoundEvent event, SoundCategory...
method MixinServerPlayerEntity (line 59) | public MixinServerPlayerEntity(World world, BlockPos pos, float yaw, G...
method indrev_applyEffects (line 63) | @Inject(method = "tick", at = @At("TAIL"))
method indrev_absorbDamage (line 74) | @ModifyVariable(method = "damage(Lnet/minecraft/entity/damage/DamageSo...
method indrev_syncOnDimChange (line 94) | @Inject(method = "worldChanged", at = @At("TAIL"))
method shouldApplyToShield (line 101) | private boolean shouldApplyToShield(DamageSource source) {
method applyArmorEffects (line 107) | private void applyArmorEffects() {
method indrev_tickMagnet (line 169) | private void indrev_tickMagnet() {
method regenerateShield (line 194) | private void regenerateShield() {
method applyDamageToShield (line 198) | private double applyDamageToShield(double damage) {
method shouldSync (line 204) | @Override
method sync (line 209) | @Override
method isRegenerating (line 226) | @Override
FILE: src/main/java/me/steven/indrev/mixin/common/MixinServerWorld.java
class MixinServerWorld (line 21) | @Mixin(ServerWorld.class)
method getPersistentStateManager (line 30) | @Shadow
method indrev_getEnergyCache (line 33) | @NotNull
method indrev_getEnergyNetworkState (line 39) | @NotNull
method indrev_getFluidNetworkState (line 53) | @NotNull
method indrev_getItemNetworkState (line 67) | @NotNull
Condensed preview — 1883 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (2,356K chars).
[
{
"path": ".github/ISSUE_TEMPLATE/bugs.md",
"chars": 514,
"preview": "---\nname: Bug report\nabout: Something isn't working right\ntitle: '[BUG] '\nlabels: bug\nassignees: ''\n\n---\n\n**Description:"
},
{
"path": ".github/ISSUE_TEMPLATE/requests.md",
"chars": 255,
"preview": "---\nname: Request\nabout: I have a really cool idea!\ntitle: '[REQUEST] '\nlabels: enhancement\nassignees: ''\n\n---\n\n**Descri"
},
{
"path": ".gitignore",
"chars": 80,
"preview": "# gradle\n\n.gradle/\nbuild/\nout/\n\n# idea\n\n.idea/\n*.iml\n*.ipr\n*.iws\n\n# fabric\n\nrun/"
},
{
"path": "LICENSE.txt",
"chars": 11357,
"preview": " Apache License\n Version 2.0, January 2004\n "
},
{
"path": "README.md",
"chars": 1427,
"preview": "<p align=\"center\"><img src=\"https://i.imgur.com/1ZwHaAt.png\"></p>\n<h3 align=\"center\">Industrial Revolution</h3>\n<p align"
},
{
"path": "build.gradle",
"chars": 6457,
"preview": "plugins {\n id \"fabric-loom\"\n id \"maven-publish\"\n id \"org.jetbrains.kotlin.jvm\"\n}\n\nsourceCompatibility = JavaVer"
},
{
"path": "gradle/wrapper/gradle-wrapper.properties",
"chars": 202,
"preview": "distributionBase=GRADLE_USER_HOME\ndistributionPath=wrapper/dists\ndistributionUrl=https\\://services.gradle.org/distributi"
},
{
"path": "gradle.properties",
"chars": 714,
"preview": "kotlin.code.style=official\norg.gradle.jvmargs=-Xmx2G\n# Fabric Properties\nminecraft_version=1.18.2\nyarn_mappings=1.18.2+b"
},
{
"path": "gradlew",
"chars": 5770,
"preview": "#!/usr/bin/env sh\n\n#\n# Copyright 2015 the original author or authors.\n#\n# Licensed under the Apache License, Version 2.0"
},
{
"path": "gradlew.bat",
"chars": 2954,
"preview": "@rem\n@rem Copyright 2015 the original author or authors.\n@rem\n@rem Licensed under the Apache License, Version 2.0 (the \""
},
{
"path": "settings.gradle",
"chars": 324,
"preview": "pluginManagement {\n repositories {\n jcenter()\n maven {\n name = 'Fabric'\n url = 'h"
},
{
"path": "src/main/java/me/steven/indrev/AprilFools.java",
"chars": 1485,
"preview": "package me.steven.indrev;\n\nimport net.fabricmc.api.EnvType;\nimport net.fabricmc.api.Environment;\nimport net.fabricmc.fab"
},
{
"path": "src/main/java/me/steven/indrev/FabricRecipeRemainder.java",
"chars": 315,
"preview": "package me.steven.indrev;\n\nimport net.minecraft.entity.player.PlayerEntity;\nimport net.minecraft.inventory.CraftingInven"
},
{
"path": "src/main/java/me/steven/indrev/IREnergyStorage.java",
"chars": 3385,
"preview": "package me.steven.indrev;\n\nimport net.fabricmc.fabric.api.transfer.v1.storage.StoragePreconditions;\nimport net.fabricmc."
},
{
"path": "src/main/java/me/steven/indrev/WCustomTabPanel.java",
"chars": 14285,
"preview": "/*\nOriginal code by Juuxel, part of https://github.com/CottonMC/LibGui\n\nMIT License\n\nCopyright (c) 2018 The Cotton Proje"
},
{
"path": "src/main/java/me/steven/indrev/mixin/aprilfools/AprilFoolsMixinConfigPlugin.java",
"chars": 1450,
"preview": "package me.steven.indrev.mixin.aprilfools;\n\nimport me.steven.indrev.AprilFools;\nimport net.fabricmc.api.EnvType;\nimport "
},
{
"path": "src/main/java/me/steven/indrev/mixin/aprilfools/MixinTranslatableText.java",
"chars": 1745,
"preview": "package me.steven.indrev.mixin.aprilfools;\n\nimport me.steven.indrev.IndustrialRevolution;\nimport net.minecraft.text.Tran"
},
{
"path": "src/main/java/me/steven/indrev/mixin/client/MixinBuiltChunk.java",
"chars": 1001,
"preview": "package me.steven.indrev.mixin.client;\n\nimport me.steven.indrev.blockentities.GlobalStateController;\nimport net.minecraf"
},
{
"path": "src/main/java/me/steven/indrev/mixin/client/MixinClientPlayerInteractionManager.java",
"chars": 898,
"preview": "package me.steven.indrev.mixin.client;\n\nimport me.steven.indrev.registry.IRItemRegistry;\nimport net.minecraft.client.net"
},
{
"path": "src/main/java/me/steven/indrev/mixin/client/MixinGameRenderer.java",
"chars": 950,
"preview": "package me.steven.indrev.mixin.client;\n\nimport me.steven.indrev.api.IRPlayerEntityExtension;\nimport me.steven.indrev.too"
},
{
"path": "src/main/java/me/steven/indrev/mixin/client/MixinItemRenderer.java",
"chars": 2172,
"preview": "package me.steven.indrev.mixin.client;\n\nimport com.mojang.blaze3d.systems.RenderSystem;\nimport me.steven.indrev.items.ar"
},
{
"path": "src/main/java/me/steven/indrev/mixin/client/MixinLivingEntityClient.java",
"chars": 1045,
"preview": "package me.steven.indrev.mixin.client;\n\nimport me.steven.indrev.api.IRPlayerEntityExtension;\nimport me.steven.indrev.too"
},
{
"path": "src/main/java/me/steven/indrev/mixin/client/MixinMinecraftClient.java",
"chars": 1393,
"preview": "package me.steven.indrev.mixin.client;\n\nimport me.steven.indrev.gui.screenhandlers.IRGuiScreenHandler;\nimport me.steven."
},
{
"path": "src/main/java/me/steven/indrev/mixin/client/MixinWItemSlot.java",
"chars": 819,
"preview": "package me.steven.indrev.mixin.client;\n\nimport io.github.cottonmc.cotton.gui.client.BackgroundPainter;\nimport io.github."
},
{
"path": "src/main/java/me/steven/indrev/mixin/common/MixinAbstractCookingRecipe.java",
"chars": 3356,
"preview": "package me.steven.indrev.mixin.common;\n\nimport alexiil.mc.lib.attributes.fluid.volume.FluidVolume;\nimport me.steven.indr"
},
{
"path": "src/main/java/me/steven/indrev/mixin/common/MixinEnchantmentHelper.java",
"chars": 2450,
"preview": "package me.steven.indrev.mixin.common;\n\nimport me.steven.indrev.api.CustomEnchantmentProvider;\nimport me.steven.indrev.a"
},
{
"path": "src/main/java/me/steven/indrev/mixin/common/MixinEntity.java",
"chars": 2617,
"preview": "package me.steven.indrev.mixin.common;\n\nimport me.steven.indrev.api.IREntityExtension;\nimport me.steven.indrev.api.IRPla"
},
{
"path": "src/main/java/me/steven/indrev/mixin/common/MixinItemPredicate.java",
"chars": 1626,
"preview": "package me.steven.indrev.mixin.common;\n\nimport me.steven.indrev.api.CustomEnchantmentProvider;\nimport net.minecraft.item"
},
{
"path": "src/main/java/me/steven/indrev/mixin/common/MixinItemStack.java",
"chars": 1387,
"preview": "package me.steven.indrev.mixin.common;\n\nimport com.google.common.collect.Multimap;\nimport me.steven.indrev.api.Attribute"
},
{
"path": "src/main/java/me/steven/indrev/mixin/common/MixinLivingEntity.java",
"chars": 1112,
"preview": "package me.steven.indrev.mixin.common;\n\nimport net.minecraft.entity.Entity;\nimport net.minecraft.entity.EntityType;\nimpo"
},
{
"path": "src/main/java/me/steven/indrev/mixin/common/MixinPiglinBrain.java",
"chars": 894,
"preview": "package me.steven.indrev.mixin.common;\n\nimport me.steven.indrev.api.IRPlayerEntityExtension;\nimport me.steven.indrev.too"
},
{
"path": "src/main/java/me/steven/indrev/mixin/common/MixinPlayerEntity.java",
"chars": 4331,
"preview": "package me.steven.indrev.mixin.common;\n\nimport it.unimi.dsi.fastutil.objects.Object2IntMap;\nimport it.unimi.dsi.fastutil"
},
{
"path": "src/main/java/me/steven/indrev/mixin/common/MixinPlayerInventory.java",
"chars": 1125,
"preview": "package me.steven.indrev.mixin.common;\n\nimport me.steven.indrev.items.armor.JetpackHandler;\nimport net.minecraft.entity."
},
{
"path": "src/main/java/me/steven/indrev/mixin/common/MixinServerPlayerEntity.java",
"chars": 10595,
"preview": "package me.steven.indrev.mixin.common;\n\nimport com.mojang.authlib.GameProfile;\nimport io.netty.buffer.Unpooled;\nimport i"
},
{
"path": "src/main/java/me/steven/indrev/mixin/common/MixinServerWorld.java",
"chars": 3386,
"preview": "package me.steven.indrev.mixin.common;\n\nimport it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap;\nimport me.steven.indr"
},
{
"path": "src/main/kotlin/me/steven/indrev/IndustrialRevolution.kt",
"chars": 8694,
"preview": "package me.steven.indrev\n\nimport dev.cafeteria.fakeplayerapi.server.FakePlayerBuilder\nimport dev.cafeteria.fakeplayerapi"
},
{
"path": "src/main/kotlin/me/steven/indrev/IndustrialRevolutionClient.kt",
"chars": 13278,
"preview": "package me.steven.indrev\n\nimport it.unimi.dsi.fastutil.objects.Object2ObjectOpenHashMap\nimport me.steven.indrev.api.OreD"
},
{
"path": "src/main/kotlin/me/steven/indrev/api/AttributeModifierProvider.kt",
"chars": 440,
"preview": "package me.steven.indrev.api\n\nimport com.google.common.collect.Multimap\nimport net.minecraft.entity.EquipmentSlot\nimport"
},
{
"path": "src/main/kotlin/me/steven/indrev/api/CustomEnchantmentProvider.kt",
"chars": 221,
"preview": "package me.steven.indrev.api\n\nimport net.minecraft.enchantment.Enchantment\nimport net.minecraft.item.ItemStack\n\ninterfac"
},
{
"path": "src/main/kotlin/me/steven/indrev/api/IREntityExtension.kt",
"chars": 144,
"preview": "package me.steven.indrev.api\n\nimport me.steven.indrev.inventories.IRInventory\n\ninterface IREntityExtension {\n var mac"
},
{
"path": "src/main/kotlin/me/steven/indrev/api/IRPlayerEntityExtension.kt",
"chars": 429,
"preview": "package me.steven.indrev.api\n\nimport me.steven.indrev.tools.modular.ArmorModule\n\ninterface IRPlayerEntityExtension {\n\n "
},
{
"path": "src/main/kotlin/me/steven/indrev/api/IRServerPlayerEntityExtension.kt",
"chars": 144,
"preview": "package me.steven.indrev.api\n\ninterface IRServerPlayerEntityExtension : IRPlayerEntityExtension {\n fun shouldSync(): "
},
{
"path": "src/main/kotlin/me/steven/indrev/api/OreDataCards.kt",
"chars": 4798,
"preview": "package me.steven.indrev.api\n\nimport me.steven.indrev.config.IRConfig\nimport me.steven.indrev.registry.IRItemRegistry\nim"
},
{
"path": "src/main/kotlin/me/steven/indrev/api/ServerWorldExtension.kt",
"chars": 711,
"preview": "package me.steven.indrev.api\n\nimport it.unimi.dsi.fastutil.longs.Long2ObjectOpenHashMap\nimport me.steven.indrev.networks"
},
{
"path": "src/main/kotlin/me/steven/indrev/api/machines/Tier.kt",
"chars": 505,
"preview": "package me.steven.indrev.api.machines\n\nenum class Tier(val io: Long, val id: String) {\n MK1(64, \"mk1\"),\n MK2(128, "
},
{
"path": "src/main/kotlin/me/steven/indrev/api/machines/TransferMode.kt",
"chars": 1410,
"preview": "package me.steven.indrev.api.machines\n\nenum class TransferMode(val rgb: Long, val input: Boolean, val output: Boolean) {"
},
{
"path": "src/main/kotlin/me/steven/indrev/api/sideconfigs/Configurable.kt",
"chars": 576,
"preview": "package me.steven.indrev.api.sideconfigs\n\nimport me.steven.indrev.api.machines.TransferMode\nimport net.minecraft.block.B"
},
{
"path": "src/main/kotlin/me/steven/indrev/api/sideconfigs/ConfigurationType.kt",
"chars": 1400,
"preview": "package me.steven.indrev.api.sideconfigs\n\nimport me.steven.indrev.api.machines.TransferMode\nimport net.minecraft.text.Te"
},
{
"path": "src/main/kotlin/me/steven/indrev/api/sideconfigs/SideConfiguration.kt",
"chars": 7867,
"preview": "package me.steven.indrev.api.sideconfigs\n\nimport io.github.cottonmc.cotton.gui.widget.WGridPanel\nimport io.github.cotton"
},
{
"path": "src/main/kotlin/me/steven/indrev/armor/IRArmorMaterial.kt",
"chars": 2847,
"preview": "package me.steven.indrev.armor\n\nimport me.steven.indrev.registry.IRItemRegistry\nimport net.minecraft.entity.EquipmentSlo"
},
{
"path": "src/main/kotlin/me/steven/indrev/armor/ModuleFeatureRenderer.kt",
"chars": 4494,
"preview": "package me.steven.indrev.armor\n\nimport me.steven.indrev.items.armor.IRModularArmorItem\nimport me.steven.indrev.utils.ide"
},
{
"path": "src/main/kotlin/me/steven/indrev/armor/ReinforcedElytraFeatureRenderer.kt",
"chars": 3029,
"preview": "package me.steven.indrev.armor\n\nimport me.steven.indrev.items.armor.ReinforcedElytraItem\nimport me.steven.indrev.utils.i"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/BaseBlockEntity.kt",
"chars": 1804,
"preview": "package me.steven.indrev.blockentities\n\nimport com.google.common.base.Preconditions\nimport me.steven.indrev.components.G"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/BaseMachineBlockEntity.kt",
"chars": 722,
"preview": "package me.steven.indrev.blockentities\n\nimport me.steven.indrev.api.sideconfigs.Configurable\nimport net.minecraft.block."
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/GlobalStateController.kt",
"chars": 2902,
"preview": "package me.steven.indrev.blockentities\n\nimport it.unimi.dsi.fastutil.longs.Long2BooleanOpenHashMap\nimport it.unimi.dsi.f"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/MachineBlockEntity.kt",
"chars": 7734,
"preview": "package me.steven.indrev.blockentities\n\nimport me.steven.indrev.IREnergyStorage\nimport me.steven.indrev.api.machines.Tie"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/Syncable.kt",
"chars": 121,
"preview": "package me.steven.indrev.blockentities\n\ninterface Syncable {\n fun markForUpdate(condition: () -> Boolean = { true })\n"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/cables/BasePipeBlockEntity.kt",
"chars": 3955,
"preview": "package me.steven.indrev.blockentities.cables\n\nimport com.google.common.base.Preconditions\nimport it.unimi.dsi.fastutil."
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/crafters/CompressorBlockEntity.kt",
"chars": 1324,
"preview": "package me.steven.indrev.blockentities.crafters\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indrev.compo"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/crafters/CompressorFactoryBlockEntity.kt",
"chars": 2270,
"preview": "package me.steven.indrev.blockentities.crafters\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indrev.compo"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/crafters/CondenserBlockEntity.kt",
"chars": 2899,
"preview": "package me.steven.indrev.blockentities.crafters\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indrev.api.m"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/crafters/CondenserBlockEntityRenderer.kt",
"chars": 1816,
"preview": "package me.steven.indrev.blockentities.crafters\n\nimport alexiil.mc.lib.attributes.fluid.render.FluidRenderFace\nimport me"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/crafters/CraftingMachineBlockEntity.kt",
"chars": 6520,
"preview": "package me.steven.indrev.blockentities.crafters\n\nimport it.unimi.dsi.fastutil.objects.Object2IntArrayMap\nimport it.unimi"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/crafters/ElectricFurnaceBlockEntity.kt",
"chars": 1915,
"preview": "package me.steven.indrev.blockentities.crafters\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indrev.compo"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/crafters/ElectricFurnaceFactoryBlockEntity.kt",
"chars": 2862,
"preview": "package me.steven.indrev.blockentities.crafters\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indrev.compo"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/crafters/ElectrolyticSeparatorBlockEntity.kt",
"chars": 2994,
"preview": "package me.steven.indrev.blockentities.crafters\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indrev.api.m"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/crafters/FluidInfuserBlockEntity.kt",
"chars": 2151,
"preview": "package me.steven.indrev.blockentities.crafters\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indrev.compo"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/crafters/FluidInfuserBlockEntityRenderer.kt",
"chars": 2993,
"preview": "package me.steven.indrev.blockentities.crafters\n\nimport alexiil.mc.lib.attributes.fluid.render.FluidRenderFace\nimport me"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/crafters/PulverizerBlockEntity.kt",
"chars": 1340,
"preview": "package me.steven.indrev.blockentities.crafters\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indrev.compo"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/crafters/PulverizerFactoryBlockEntity.kt",
"chars": 2270,
"preview": "package me.steven.indrev.blockentities.crafters\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indrev.compo"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/crafters/RecyclerBlockEntity.kt",
"chars": 1293,
"preview": "package me.steven.indrev.blockentities.crafters\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indrev.compo"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/crafters/SawmillBlockEntity.kt",
"chars": 1329,
"preview": "package me.steven.indrev.blockentities.crafters\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indrev.compo"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/crafters/SmelterBlockEntity.kt",
"chars": 2707,
"preview": "package me.steven.indrev.blockentities.crafters\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indrev.api.m"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/crafters/SolidInfuserBlockEntity.kt",
"chars": 2135,
"preview": "package me.steven.indrev.blockentities.crafters\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indrev.api.m"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/crafters/SolidInfuserFactoryBlockEntity.kt",
"chars": 3354,
"preview": "package me.steven.indrev.blockentities.crafters\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indrev.api.m"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/farms/AOEMachineBlockEntity.kt",
"chars": 1948,
"preview": "package me.steven.indrev.blockentities.farms\n\nimport io.netty.buffer.Unpooled\nimport me.steven.indrev.api.machines.Tier\n"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/farms/AOEMachineBlockEntityRenderer.kt",
"chars": 1097,
"preview": "package me.steven.indrev.blockentities.farms\n\nimport net.minecraft.client.render.RenderLayer\nimport net.minecraft.client"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/farms/BiomassComposterBlockEntity.kt",
"chars": 6094,
"preview": "package me.steven.indrev.blockentities.farms\n\nimport alexiil.mc.lib.attributes.fluid.amount.FluidAmount\nimport alexiil.m"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/farms/BiomassComposterBlockEntityRenderer.kt",
"chars": 2233,
"preview": "package me.steven.indrev.blockentities.farms\n\nimport alexiil.mc.lib.attributes.fluid.render.FluidRenderFace\nimport me.st"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/farms/ChopperBlockEntity.kt",
"chars": 8753,
"preview": "package me.steven.indrev.blockentities.farms\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indrev.componen"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/farms/ChopperBlockEntityRenderer.kt",
"chars": 1020,
"preview": "package me.steven.indrev.blockentities.farms\n\nimport net.minecraft.client.render.RenderLayer\nimport net.minecraft.client"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/farms/DirtOxygenatorBlockEntity.kt",
"chars": 2373,
"preview": "package me.steven.indrev.blockentities.farms\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indrev.blockent"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/farms/DrainBlockEntity.kt",
"chars": 3464,
"preview": "package me.steven.indrev.blockentities.farms\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indrev.api.mach"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/farms/FarmerBlockEntity.kt",
"chars": 6765,
"preview": "package me.steven.indrev.blockentities.farms\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indrev.componen"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/farms/FisherBlockEntity.kt",
"chars": 3856,
"preview": "package me.steven.indrev.blockentities.farms\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indrev.blockent"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/farms/PumpBlockEntity.kt",
"chars": 7552,
"preview": "package me.steven.indrev.blockentities.farms\n\nimport it.unimi.dsi.fastutil.longs.LongArrayFIFOQueue\nimport it.unimi.dsi."
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/farms/PumpBlockEntityRenderer.kt",
"chars": 4438,
"preview": "package me.steven.indrev.blockentities.farms\n\nimport alexiil.mc.lib.attributes.fluid.render.FluidRenderFace\nimport me.st"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/farms/RancherBlockEntity.kt",
"chars": 6749,
"preview": "package me.steven.indrev.blockentities.farms\n\nimport me.steven.indrev.IndustrialRevolution\nimport me.steven.indrev.api.m"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/farms/SlaughterBlockEntity.kt",
"chars": 3779,
"preview": "package me.steven.indrev.blockentities.farms\n\nimport me.steven.indrev.IndustrialRevolution\nimport me.steven.indrev.api.m"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/generators/BiomassGeneratorBlockEntity.kt",
"chars": 1014,
"preview": "package me.steven.indrev.blockentities.generators\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indrev.com"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/generators/CoalGeneratorBlockEntity.kt",
"chars": 1059,
"preview": "package me.steven.indrev.blockentities.generators\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indrev.com"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/generators/GasBurningGeneratorBlockEntity.kt",
"chars": 3545,
"preview": "package me.steven.indrev.blockentities.generators\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indrev.api"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/generators/GeneratorBlockEntity.kt",
"chars": 1261,
"preview": "package me.steven.indrev.blockentities.generators\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indrev.blo"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/generators/HeatGeneratorBlockEntity.kt",
"chars": 2904,
"preview": "package me.steven.indrev.blockentities.generators\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indrev.com"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/generators/HeatGeneratorBlockEntityRenderer.kt",
"chars": 2102,
"preview": "package me.steven.indrev.blockentities.generators\n\nimport alexiil.mc.lib.attributes.fluid.render.FluidRenderFace\nimport "
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/generators/SolarGeneratorBlockEntity.kt",
"chars": 792,
"preview": "package me.steven.indrev.blockentities.generators\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indrev.com"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/generators/SolidFuelGeneratorBlockEntity.kt",
"chars": 2860,
"preview": "package me.steven.indrev.blockentities.generators\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indrev.api"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/generators/SteamTurbineBlockEntity.kt",
"chars": 4401,
"preview": "package me.steven.indrev.blockentities.generators\n\nimport alexiil.mc.lib.attributes.fluid.amount.FluidAmount\nimport me.s"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/generators/SteamTurbineSteamInputValveBlockEntity.kt",
"chars": 798,
"preview": "package me.steven.indrev.blockentities.generators\n\nimport me.steven.indrev.registry.IRBlockRegistry\nimport net.minecraft"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/laser/CapsuleBlockEntity.kt",
"chars": 2184,
"preview": "package me.steven.indrev.blockentities.laser\n\nimport com.google.common.base.Preconditions\nimport me.steven.indrev.blocks"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/laser/CapsuleBlockEntityRenderer.kt",
"chars": 1388,
"preview": "package me.steven.indrev.blockentities.laser\n\nimport net.minecraft.client.MinecraftClient\nimport net.minecraft.client.re"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/laser/LaserBlockEntity.kt",
"chars": 6695,
"preview": "package me.steven.indrev.blockentities.laser\n\nimport me.steven.indrev.IndustrialRevolution\nimport me.steven.indrev.api.m"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/laser/LaserBlockEntityRenderer.kt",
"chars": 2148,
"preview": "package me.steven.indrev.blockentities.laser\n\nimport me.steven.indrev.blocks.machine.FacingMachineBlock\nimport me.steven"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/miningrig/DataCardWriterBlockEntity.kt",
"chars": 6221,
"preview": "package me.steven.indrev.blockentities.miningrig\n\nimport me.steven.indrev.api.OreDataCards\nimport me.steven.indrev.api.m"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/miningrig/DrillBlockEntity.kt",
"chars": 7430,
"preview": "package me.steven.indrev.blockentities.miningrig\n\nimport com.google.common.base.Preconditions\nimport io.netty.buffer.Unp"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/miningrig/DrillBlockEntityRenderer.kt",
"chars": 2328,
"preview": "package me.steven.indrev.blockentities.miningrig\n\nimport me.steven.indrev.blocks.machine.DrillBlock\nimport me.steven.ind"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/miningrig/MiningRigBlockEntity.kt",
"chars": 6595,
"preview": "package me.steven.indrev.blockentities.miningrig\n\nimport me.steven.indrev.api.OreDataCards\nimport me.steven.indrev.api.m"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/miningrig/MiningRigBlockEntityRenderer.kt",
"chars": 1691,
"preview": "package me.steven.indrev.blockentities.miningrig\n\nimport me.steven.indrev.blocks.machine.HorizontalFacingMachineBlock\nim"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/modularworkbench/ModularWorkbenchBlockEntity.kt",
"chars": 7306,
"preview": "package me.steven.indrev.blockentities.modularworkbench\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indr"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/modularworkbench/ModularWorkbenchBlockEntityRenderer.kt",
"chars": 7378,
"preview": "package me.steven.indrev.blockentities.modularworkbench\n\nimport me.steven.indrev.armor.ModuleFeatureRenderer\nimport me.s"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/solarpowerplant/HeliostatBlockEntity.kt",
"chars": 1752,
"preview": "package me.steven.indrev.blockentities.solarpowerplant\n\nimport me.steven.indrev.blockentities.BaseBlockEntity\nimport me."
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/solarpowerplant/HeliostatBlockEntityRenderer.kt",
"chars": 1502,
"preview": "package me.steven.indrev.blockentities.solarpowerplant\n\nimport net.minecraft.block.Blocks\nimport net.minecraft.block.Hor"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/solarpowerplant/SolarPowerPlantTowerBlockEntity.kt",
"chars": 3441,
"preview": "package me.steven.indrev.blockentities.solarpowerplant\n\nimport me.steven.indrev.blockentities.BaseBlockEntity\nimport me."
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/solarpowerplant/SolarReceiverBlockEntity.kt",
"chars": 752,
"preview": "package me.steven.indrev.blockentities.solarpowerplant\n\nimport me.steven.indrev.registry.IRBlockRegistry\nimport net.mine"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/storage/CabinetBlockEntity.kt",
"chars": 2203,
"preview": "package me.steven.indrev.blockentities.storage\n\nimport me.steven.indrev.gui.screenhandlers.storage.CabinetScreenHandler\n"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/storage/ChargePadBlockEntity.kt",
"chars": 3477,
"preview": "package me.steven.indrev.blockentities.storage\n\nimport com.google.common.collect.Iterables\nimport me.steven.indrev.api.m"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/storage/ChargePadBlockEntityRenderer.kt",
"chars": 2175,
"preview": "package me.steven.indrev.blockentities.storage\n\nimport me.steven.indrev.blocks.machine.HorizontalFacingMachineBlock\nimpo"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/storage/LazuliFluxContainerBlockEntity.kt",
"chars": 3679,
"preview": "package me.steven.indrev.blockentities.storage\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indrev.api.ma"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/storage/LazuliFluxContainerBlockEntityRenderer.kt",
"chars": 5574,
"preview": "package me.steven.indrev.blockentities.storage\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indrev.utils."
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/storage/TankBlockEntity.kt",
"chars": 3695,
"preview": "package me.steven.indrev.blockentities.storage\n\nimport me.steven.indrev.IndustrialRevolution\nimport me.steven.indrev.blo"
},
{
"path": "src/main/kotlin/me/steven/indrev/blockentities/storage/TankBlockEntityRenderer.kt",
"chars": 2071,
"preview": "package me.steven.indrev.blockentities.storage\n\nimport alexiil.mc.lib.attributes.fluid.render.FluidRenderFace\nimport me."
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/HeliostatBlock.kt",
"chars": 2694,
"preview": "package me.steven.indrev.blocks\n\nimport me.steven.indrev.blockentities.solarpowerplant.HeliostatBlockEntity\nimport net.m"
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/machine/CapsuleBlock.kt",
"chars": 3917,
"preview": "package me.steven.indrev.blocks.machine\n\nimport me.steven.indrev.blockentities.laser.CapsuleBlockEntity\nimport me.steven"
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/machine/ChargePadBlock.kt",
"chars": 6218,
"preview": "package me.steven.indrev.blocks.machine\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indrev.blockentities"
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/machine/DirtOxygenatorBlock.kt",
"chars": 674,
"preview": "package me.steven.indrev.blocks.machine\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indrev.config.IRConf"
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/machine/DrillBlock.kt",
"chars": 6320,
"preview": "package me.steven.indrev.blocks.machine\n\nimport me.steven.indrev.blockentities.miningrig.DrillBlockEntity\nimport me.stev"
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/machine/DrillHeadModel.kt",
"chars": 1614,
"preview": "package me.steven.indrev.blocks.machine\n\nimport com.mojang.datafixers.util.Pair\nimport me.steven.indrev.utils.identifier"
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/machine/ElectrolyticSeparatorBlock.kt",
"chars": 832,
"preview": "package me.steven.indrev.blocks.machine\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indrev.config.IRConf"
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/machine/FacingMachineBlock.kt",
"chars": 1650,
"preview": "package me.steven.indrev.blocks.machine\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indrev.config.IConfi"
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/machine/HorizontalFacingMachineBlock.kt",
"chars": 2152,
"preview": "package me.steven.indrev.blocks.machine\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indrev.config.IConfi"
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/machine/LaserBlock.kt",
"chars": 2408,
"preview": "package me.steven.indrev.blocks.machine\n\nimport me.steven.indrev.IndustrialRevolution\nimport me.steven.indrev.api.machin"
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/machine/LazuliFluxContainerBlock.kt",
"chars": 1637,
"preview": "package me.steven.indrev.blocks.machine\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indrev.api.sideconfi"
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/machine/MachineBlock.kt",
"chars": 10538,
"preview": "package me.steven.indrev.blocks.machine\n\nimport me.steven.indrev.IndustrialRevolution\nimport me.steven.indrev.api.machin"
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/machine/MiningRigBlock.kt",
"chars": 2104,
"preview": "package me.steven.indrev.blocks.machine\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indrev.blockentities"
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/machine/PumpBlock.kt",
"chars": 1696,
"preview": "package me.steven.indrev.blocks.machine\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indrev.config.IRConf"
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/machine/pipes/BasePipeBlock.kt",
"chars": 10884,
"preview": "package me.steven.indrev.blocks.machine.pipes\n\nimport me.steven.indrev.IndustrialRevolution\nimport me.steven.indrev.api."
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/machine/pipes/CableBlock.kt",
"chars": 4029,
"preview": "package me.steven.indrev.blocks.machine.pipes\n\nimport it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap\nimport me.steven."
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/machine/pipes/FluidPipeBlock.kt",
"chars": 4131,
"preview": "package me.steven.indrev.blocks.machine.pipes\n\nimport it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap\nimport me.steven."
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/machine/pipes/ItemPipeBlock.kt",
"chars": 5463,
"preview": "package me.steven.indrev.blocks.machine.pipes\n\nimport it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap\nimport me.steven."
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/machine/solarpowerplant/FluidValveBlock.kt",
"chars": 1137,
"preview": "package me.steven.indrev.blocks.machine.solarpowerplant\n\nimport net.minecraft.block.Block\nimport net.minecraft.block.Blo"
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/machine/solarpowerplant/SolarPowerPlantFluidOutputBlock.kt",
"chars": 207,
"preview": "package me.steven.indrev.blocks.machine.solarpowerplant\n\nimport me.steven.indrev.blocks.misc.HorizontalFacingBlock\n\nclas"
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/machine/solarpowerplant/SolarPowerPlantTowerBlock.kt",
"chars": 3599,
"preview": "package me.steven.indrev.blocks.machine.solarpowerplant\n\nimport me.steven.indrev.IndustrialRevolution\nimport me.steven.i"
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/machine/solarpowerplant/SolarReceiverBlock.kt",
"chars": 549,
"preview": "package me.steven.indrev.blocks.machine.solarpowerplant\n\nimport me.steven.indrev.blockentities.solarpowerplant.SolarRece"
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/machine/solarpowerplant/SteamTurbineBlock.kt",
"chars": 533,
"preview": "package me.steven.indrev.blocks.machine.solarpowerplant\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indr"
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/machine/solarpowerplant/SteamTurbineSteamInputValveBlock.kt",
"chars": 1061,
"preview": "package me.steven.indrev.blocks.machine.solarpowerplant\n\nimport me.steven.indrev.blockentities.generators.SteamTurbineSt"
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/misc/AcidFluidBlock.kt",
"chars": 1967,
"preview": "package me.steven.indrev.blocks.misc\n\nimport net.minecraft.block.BlockState\nimport net.minecraft.block.Blocks\nimport net"
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/misc/BiomassComposterBlock.kt",
"chars": 4543,
"preview": "package me.steven.indrev.blocks.misc\n\nimport me.steven.indrev.blockentities.farms.BiomassComposterBlockEntity\nimport me."
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/misc/CabinetBlock.kt",
"chars": 1139,
"preview": "package me.steven.indrev.blocks.misc\n\nimport me.steven.indrev.blockentities.storage.CabinetBlockEntity\nimport net.minecr"
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/misc/DuctBlock.kt",
"chars": 1147,
"preview": "package me.steven.indrev.blocks.misc\n\nimport net.minecraft.block.BlockState\nimport net.minecraft.block.ShapeContext\nimpo"
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/misc/HorizontalFacingBlock.kt",
"chars": 756,
"preview": "package me.steven.indrev.blocks.misc\n\nimport net.minecraft.block.Block\nimport net.minecraft.block.BlockState\nimport net."
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/misc/NikoliteOreBlock.kt",
"chars": 233,
"preview": "package me.steven.indrev.blocks.misc\n\nimport net.minecraft.block.OreBlock\nimport net.minecraft.util.math.intprovider.Uni"
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/misc/PlankBlock.kt",
"chars": 671,
"preview": "package me.steven.indrev.blocks.misc\n\nimport net.minecraft.block.BlockState\nimport net.minecraft.block.ShapeContext\nimpo"
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/misc/SulfurCrystalBlock.kt",
"chars": 9151,
"preview": "package me.steven.indrev.blocks.misc\n\nimport me.steven.indrev.registry.IRItemRegistry\nimport net.minecraft.block.Block\ni"
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/misc/TankBlock.kt",
"chars": 12566,
"preview": "package me.steven.indrev.blocks.misc\n\nimport alexiil.mc.lib.attributes.fluid.volume.FluidVolume\nimport me.steven.indrev."
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/misc/VerticalFacingBlock.kt",
"chars": 943,
"preview": "package me.steven.indrev.blocks.misc\n\nimport net.minecraft.block.Block\nimport net.minecraft.block.BlockState\nimport net."
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/misc/WarningStrobeBlock.kt",
"chars": 1342,
"preview": "package me.steven.indrev.blocks.misc\n\nimport net.minecraft.block.Block\nimport net.minecraft.block.BlockState\nimport net."
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/models/LazuliFluxContainerBakedModel.kt",
"chars": 3020,
"preview": "package me.steven.indrev.blocks.models\n\nimport me.steven.indrev.blockentities.storage.LazuliFluxContainerBlockEntity\nimp"
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/models/MachineBakedModel.kt",
"chars": 9725,
"preview": "package me.steven.indrev.blocks.models\n\nimport com.mojang.datafixers.util.Pair\nimport me.steven.indrev.api.machines.Tier"
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/models/MinerBakedModel.kt",
"chars": 2384,
"preview": "package me.steven.indrev.blocks.models\n\nimport com.mojang.datafixers.util.Pair\nimport me.steven.indrev.blockentities.min"
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/models/PumpPipeBakedModel.kt",
"chars": 1573,
"preview": "package me.steven.indrev.blocks.models\n\nimport com.mojang.datafixers.util.Pair\nimport me.steven.indrev.utils.identifier\n"
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/models/pipes/BasePipeModel.kt",
"chars": 7549,
"preview": "package me.steven.indrev.blocks.models.pipes\n\nimport com.mojang.datafixers.util.Pair\nimport me.steven.indrev.api.machine"
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/models/pipes/CableModel.kt",
"chars": 2426,
"preview": "package me.steven.indrev.blocks.models.pipes\n\nimport me.steven.indrev.api.machines.Tier\nimport me.steven.indrev.utils.bl"
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/models/pipes/FluidPipeModel.kt",
"chars": 4739,
"preview": "package me.steven.indrev.blocks.models.pipes\n\nimport me.steven.indrev.IndustrialRevolutionClient\nimport me.steven.indrev"
},
{
"path": "src/main/kotlin/me/steven/indrev/blocks/models/pipes/ItemPipeModel.kt",
"chars": 4448,
"preview": "package me.steven.indrev.blocks.models.pipes\n\nimport me.steven.indrev.IndustrialRevolutionClient\nimport me.steven.indrev"
},
{
"path": "src/main/kotlin/me/steven/indrev/compat/dashloader/models/DashCableModel.kt",
"chars": 1732,
"preview": "package me.steven.indrev.compat.dashloader.models\n\nimport io.activej.serializer.annotations.Deserialize\nimport io.active"
},
{
"path": "src/main/kotlin/me/steven/indrev/compat/dashloader/models/DashFluidPipeModel.kt",
"chars": 2559,
"preview": "package me.steven.indrev.compat.dashloader.models\n\nimport io.activej.serializer.annotations.Deserialize\nimport io.active"
},
{
"path": "src/main/kotlin/me/steven/indrev/compat/dashloader/models/DashItemPipeModel.kt",
"chars": 2554,
"preview": "package me.steven.indrev.compat.dashloader.models\n\nimport io.activej.serializer.annotations.Deserialize\nimport io.active"
},
{
"path": "src/main/kotlin/me/steven/indrev/compat/dashloader/models/DashLazuliFluxContainerModel.kt",
"chars": 1757,
"preview": "package me.steven.indrev.compat.dashloader.models\n\nimport io.activej.serializer.annotations.Deserialize\nimport io.active"
},
{
"path": "src/main/kotlin/me/steven/indrev/compat/dashloader/models/DashMachineModel.kt",
"chars": 2495,
"preview": "package me.steven.indrev.compat.dashloader.models\n\nimport io.activej.serializer.annotations.Deserialize\nimport io.active"
},
{
"path": "src/main/kotlin/me/steven/indrev/compat/dashloader/models/DashMinerModel.kt",
"chars": 2773,
"preview": "package me.steven.indrev.compat.dashloader.models\n\nimport io.activej.serializer.annotations.Deserialize\nimport io.active"
},
{
"path": "src/main/kotlin/me/steven/indrev/compat/dashloader/models/DashTankModel.kt",
"chars": 712,
"preview": "package me.steven.indrev.compat.dashloader.models\n\nimport me.steven.indrev.items.models.TankItemBakedModel\nimport net.mi"
},
{
"path": "src/main/kotlin/me/steven/indrev/compat/rei/REIPlugin.kt",
"chars": 8866,
"preview": "package me.steven.indrev.compat.rei\n\nimport me.shedaniel.rei.api.client.plugins.REIClientPlugin\nimport me.shedaniel.rei."
},
{
"path": "src/main/kotlin/me/steven/indrev/compat/rei/categories/IRMachineRecipeCategory.kt",
"chars": 3514,
"preview": "package me.steven.indrev.compat.rei.categories\n\nimport me.shedaniel.math.Point\nimport me.shedaniel.math.Rectangle\nimport"
},
{
"path": "src/main/kotlin/me/steven/indrev/compat/rei/categories/IRModuleCraftingRecipeCategory.kt",
"chars": 2585,
"preview": "package me.steven.indrev.compat.rei.categories\n\nimport me.shedaniel.math.Point\nimport me.shedaniel.math.Rectangle\nimport"
},
{
"path": "src/main/kotlin/me/steven/indrev/compat/rei/categories/IRSawmillRecipeCategory.kt",
"chars": 2039,
"preview": "package me.steven.indrev.compat.rei.categories\n\nimport me.shedaniel.math.Point\nimport me.shedaniel.math.Rectangle\nimport"
},
{
"path": "src/main/kotlin/me/steven/indrev/compat/rei/plugins/IRMachinePlugin.kt",
"chars": 2346,
"preview": "package me.steven.indrev.compat.rei.plugins\n\nimport me.shedaniel.rei.api.common.category.CategoryIdentifier\nimport me.sh"
},
{
"path": "src/main/kotlin/me/steven/indrev/components/CraftingComponent.kt",
"chars": 7253,
"preview": "package me.steven.indrev.components\n\nimport me.steven.indrev.blockentities.crafters.CraftingMachineBlockEntity\nimport me"
},
{
"path": "src/main/kotlin/me/steven/indrev/components/EnhancerComponent.kt",
"chars": 1209,
"preview": "package me.steven.indrev.components\n\nimport it.unimi.dsi.fastutil.ints.IntBinaryOperator\nimport it.unimi.dsi.fastutil.ob"
},
{
"path": "src/main/kotlin/me/steven/indrev/components/FluidComponent.kt",
"chars": 4400,
"preview": "package me.steven.indrev.components\n\nimport me.steven.indrev.api.machines.TransferMode\nimport me.steven.indrev.api.sidec"
},
{
"path": "src/main/kotlin/me/steven/indrev/components/GuiSyncableComponent.kt",
"chars": 6835,
"preview": "package me.steven.indrev.components\n\nimport me.steven.indrev.blockentities.BaseBlockEntity\nimport me.steven.indrev.gui.p"
},
{
"path": "src/main/kotlin/me/steven/indrev/components/InventoryComponent.kt",
"chars": 1655,
"preview": "package me.steven.indrev.components\n\nimport me.steven.indrev.api.sideconfigs.ConfigurationType\nimport me.steven.indrev.a"
},
{
"path": "src/main/kotlin/me/steven/indrev/components/TemperatureComponent.kt",
"chars": 3038,
"preview": "package me.steven.indrev.components\n\nimport me.steven.indrev.blockentities.BaseBlockEntity\nimport me.steven.indrev.block"
},
{
"path": "src/main/kotlin/me/steven/indrev/components/multiblock/BlockStateFilter.kt",
"chars": 389,
"preview": "package me.steven.indrev.components.multiblock\n\nimport net.minecraft.block.BlockState\nimport net.minecraft.block.Blocks\n"
},
{
"path": "src/main/kotlin/me/steven/indrev/components/multiblock/MultiBlockComponent.kt",
"chars": 1786,
"preview": "package me.steven.indrev.components.multiblock\n\nimport net.minecraft.block.BlockState\nimport net.minecraft.nbt.NbtCompou"
},
{
"path": "src/main/kotlin/me/steven/indrev/components/multiblock/MultiblockBlockEntityRenderer.kt",
"chars": 1979,
"preview": "package me.steven.indrev.components.multiblock\n\nimport me.steven.indrev.blocks.machine.HorizontalFacingMachineBlock\nimpo"
},
{
"path": "src/main/kotlin/me/steven/indrev/components/multiblock/MultiblockMatcher.kt",
"chars": 3237,
"preview": "package me.steven.indrev.components.multiblock\n\nimport me.steven.indrev.blocks.machine.HorizontalFacingMachineBlock\nimpo"
},
{
"path": "src/main/kotlin/me/steven/indrev/components/multiblock/StructureDefinition.kt",
"chars": 493,
"preview": "package me.steven.indrev.components.multiblock\n\nimport me.steven.indrev.blocks.machine.HorizontalFacingMachineBlock\nimpo"
},
{
"path": "src/main/kotlin/me/steven/indrev/components/multiblock/StructureHolder.kt",
"chars": 5080,
"preview": "package me.steven.indrev.components.multiblock\n\nimport com.google.common.collect.ImmutableMap\nimport net.minecraft.block"
},
{
"path": "src/main/kotlin/me/steven/indrev/components/multiblock/StructureIdentifier.kt",
"chars": 216,
"preview": "package me.steven.indrev.components.multiblock\n\nimport net.minecraft.util.Identifier\n\nclass StructureIdentifier(val modI"
},
{
"path": "src/main/kotlin/me/steven/indrev/components/multiblock/definitions/FactoryStructureDefinition.kt",
"chars": 3893,
"preview": "package me.steven.indrev.components.multiblock.definitions\n\nimport me.steven.indrev.blocks.machine.HorizontalFacingMachi"
},
{
"path": "src/main/kotlin/me/steven/indrev/components/multiblock/definitions/SolarPowerPlantTowerStructureDefinition.kt",
"chars": 4214,
"preview": "package me.steven.indrev.components.multiblock.definitions\n\nimport me.steven.indrev.blocks.machine.HorizontalFacingMachi"
},
{
"path": "src/main/kotlin/me/steven/indrev/components/multiblock/definitions/SteamTurbineStructureDefinition.kt",
"chars": 4811,
"preview": "package me.steven.indrev.components.multiblock.definitions\n\nimport me.steven.indrev.blocks.machine.HorizontalFacingMachi"
},
{
"path": "src/main/kotlin/me/steven/indrev/config/IRConfig.kt",
"chars": 12021,
"preview": "package me.steven.indrev.config\n\nimport com.google.gson.GsonBuilder\nimport me.steven.indrev.IndustrialRevolution\nimport "
},
{
"path": "src/main/kotlin/me/steven/indrev/datagen/DataFactory.kt",
"chars": 268,
"preview": "package me.steven.indrev.datagen\n\nimport net.minecraft.util.Identifier\nimport java.io.File\n\ninterface DataFactory<T, P> "
},
{
"path": "src/main/kotlin/me/steven/indrev/datagen/DataGenerator.kt",
"chars": 1112,
"preview": "package me.steven.indrev.datagen\n\nimport net.minecraft.util.Identifier\nimport java.io.File\n\nabstract class DataGenerator"
},
{
"path": "src/main/kotlin/me/steven/indrev/datagen/DataGeneratorManager.kt",
"chars": 13859,
"preview": "package me.steven.indrev.datagen\n\nimport com.google.gson.JsonArray\nimport com.google.gson.JsonObject\nimport me.steven.in"
},
{
"path": "src/main/kotlin/me/steven/indrev/datagen/ImageFactory.kt",
"chars": 6028,
"preview": "package me.steven.indrev.datagen\n\nimport me.steven.indrev.datagen.utils.MetalModel\nimport me.steven.indrev.datagen.utils"
},
{
"path": "src/main/kotlin/me/steven/indrev/datagen/IndustrialRevolutionDatagen.kt",
"chars": 1430,
"preview": "package me.steven.indrev.datagen\n\nimport me.steven.indrev.IndustrialRevolution\nimport net.fabricmc.fabric.api.datagen.v1"
},
{
"path": "src/main/kotlin/me/steven/indrev/datagen/JsonFactory.kt",
"chars": 540,
"preview": "package me.steven.indrev.datagen\n\nimport com.google.gson.GsonBuilder\nimport com.google.gson.JsonObject\nimport java.io.Fi"
},
{
"path": "src/main/kotlin/me/steven/indrev/datagen/generators/BlockModelGenerator.kt",
"chars": 1302,
"preview": "package me.steven.indrev.datagen.generators\n\nimport com.google.gson.JsonObject\nimport me.steven.indrev.datagen.DataGener"
}
]
// ... and 1683 more files (download for full content)
About this extraction
This page contains the full source code of the GabrielOlvH/Industrial-Revolution GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 1883 files (1.9 MB), approximately 611.4k tokens, and a symbol index with 152 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.