From 1a5accc1016612ec773cf774cc5ff53d36d48a4f Mon Sep 17 00:00:00 2001 From: m1919810 Date: Sun, 25 Aug 2024 23:35:07 +0800 Subject: [PATCH] feat: first pre version --- .idea/workspace.xml | 28 +- pom.xml | 1 - .../me/matl114/logitech/Items/CustomHead.java | 7 +- .../Listeners/Listeners/PortalTeleport.java | 7 +- .../java/me/matl114/logitech/MyAddon.java | 6 + .../PersistentEffects/CustomEffects.java | 41 +- .../PersistentEffects/PlayerEffects.java | 4 +- .../PersistentEffects/RadiationRegion.java | 77 ++ .../logitech/Schedule/ScheduleEffects.java | 140 ++-- .../logitech/Schedule/ScheduleSave.java | 6 +- .../matl114/logitech/Schedule/Schedules.java | 10 +- .../logitech/SlimefunItem/AddItem.java | 64 +- .../SlimefunItem/AddSlimefunItems.java | 791 ++++++++++++++---- .../MultiBlockAdvancedProcessor.java | 85 ++ .../MultiBlock/MultiBlockProcessor.java | 71 +- .../Blocks/MultiBlock/PortalCore.java | 6 +- .../Blocks/MultiBlock/SolarReactorCore.java | 94 +-- .../Blocks/MultiBlock/Transmutator.java | 412 +++++++++ .../SlimefunItem/Blocks/MultiBlockCore.java | 60 ++ .../SlimefunItem/Blocks/MultiBlockTypes.java | 71 ++ .../SlimefunItem/Blocks/MultiCore.java | 2 +- .../Cargo/CargoMachine/AbstractSorter.java | 3 +- .../Cargo/CargoMachine/StorageOperator.java | 4 + .../Cargo/Config/ChipCardCode.java | 5 + .../Transportation/AdjacentCargoPlus.java | 124 ++- .../Transportation/RedstoneAdjacentCargo.java | 5 + .../SlimefunItem/Items/CustomProps.java | 4 +- .../logitech/SlimefunItem/Items/HypLink.java | 10 +- .../Machines/AbstractAdvancedProcessor.java | 31 +- .../Machines/AbstractMachine.java | 6 +- .../SlimefunItem/Machines/AbstractManual.java | 2 +- .../Machines/AbstractProcessor.java | 2 +- .../Machines/AbstractTransformer.java | 60 +- .../Machines/AutoMachines/AEMachine.java | 122 +++ .../Machines/AutoMachines/AdvanceCrafter.java | 55 +- .../AutoMachines/AdvanceRecipeCrafter.java | 21 +- .../Machines/AutoMachines/EMachine.java | 51 +- .../Machines/AutoMachines/MMGenerator.java | 1 + .../Machines/AutoMachines/SMGenerator.java | 49 +- .../Machines/AutoMachines/SpecialCrafter.java | 3 +- .../AutoMachines/StackMGenerator.java | 22 +- .../Machines/AutoMachines/StackMachine.java | 6 +- .../Machines/Electrics/Capacitor.java | 42 + .../Machines/Electrics/EnergyTrash.java | 21 + .../TestGenerator.java} | 16 +- .../Machines/ManualMachines/FinalManual.java | 3 +- .../ManualMachines/ManualCrafter.java | 3 +- .../ManualMachines/ManualMachine.java | 3 +- .../ManualMachines/MultiBlockManual.java | 3 +- .../Machines/WorkBenchs/BugCrafter.java | 6 +- .../me/matl114/logitech/Utils/AddUtils.java | 71 +- .../me/matl114/logitech/Utils/CraftUtils.java | 156 +++- .../java/me/matl114/logitech/Utils/Debug.java | 1 + .../logitech/Utils/MachineRecipeUtils.java | 70 +- .../me/matl114/logitech/Utils/MenuUtils.java | 26 +- .../logitech/Utils/RecipeSupporter.java | 48 +- .../logitech/Utils/TransportUtils.java | 193 ++++- .../UtilClass/ItemClass/ConstItemStack.java | 21 + .../UtilClass/ItemClass/EqProRandomStack.java | 12 +- .../UtilClass/ItemClass/EquivalItemStack.java | 4 +- .../UtilClass/ItemClass/ItemConsumer.java | 19 +- .../UtilClass/ItemClass/ItemCounter.java | 29 +- .../ItemClass/ItemGreedyConsumer.java | 20 + .../Utils/UtilClass/ItemClass/ItemPusher.java | 9 +- .../UtilClass/ItemClass/ProbItemStack.java | 14 +- .../UtilClass/ItemClass/RandAmountStack.java | 10 +- .../UtilClass/ItemClass/RandOutItem.java | 13 + .../UtilClass/ItemClass/RandomItemStack.java | 61 +- .../AbstractMultiBlockHandler.java | 13 +- .../AbstractMultiBlockType.java | 13 +- .../CubeMultiBlock/CubeMultiBlock.java | 55 ++ .../CubeMultiBlock/CubeMultiBlockType.java | 205 +++++ .../MultiBlockClass/MultiBlockHandler.java | 86 +- .../MultiBlockClass/MultiBlockService.java | 38 +- .../UtilClass/RecipeClass/ImportRecipes.java | 12 + .../me/matl114/logitech/Utils/WorldUtils.java | 21 + src/main/resources/language.yml | 100 ++- src/main/resources/machines.yml | 116 ++- src/test/java/me/matl114/logitech/Tests.java | 52 ++ 79 files changed, 3389 insertions(+), 765 deletions(-) create mode 100644 src/main/java/me/matl114/logitech/Schedule/PersistentEffects/RadiationRegion.java create mode 100644 src/main/java/me/matl114/logitech/SlimefunItem/Blocks/MultiBlock/MultiBlockAdvancedProcessor.java create mode 100644 src/main/java/me/matl114/logitech/SlimefunItem/Blocks/MultiBlock/Transmutator.java create mode 100644 src/main/java/me/matl114/logitech/SlimefunItem/Cargo/CargoMachine/StorageOperator.java create mode 100644 src/main/java/me/matl114/logitech/SlimefunItem/Machines/Electrics/Capacitor.java create mode 100644 src/main/java/me/matl114/logitech/SlimefunItem/Machines/Electrics/EnergyTrash.java rename src/main/java/me/matl114/logitech/SlimefunItem/Machines/{SpecialMachines/TestMachine.java => Electrics/TestGenerator.java} (85%) create mode 100644 src/main/java/me/matl114/logitech/Utils/UtilClass/ItemClass/ConstItemStack.java create mode 100644 src/main/java/me/matl114/logitech/Utils/UtilClass/ItemClass/RandOutItem.java create mode 100644 src/main/java/me/matl114/logitech/Utils/UtilClass/MultiBlockClass/CubeMultiBlock/CubeMultiBlock.java create mode 100644 src/main/java/me/matl114/logitech/Utils/UtilClass/MultiBlockClass/CubeMultiBlock/CubeMultiBlockType.java create mode 100644 src/main/java/me/matl114/logitech/Utils/UtilClass/RecipeClass/ImportRecipes.java diff --git a/.idea/workspace.xml b/.idea/workspace.xml index c0347a9..a441304 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -4,7 +4,33 @@