-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
49 changed files
with
669 additions
and
466 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
src/main/java/de/nedelosk/modularmachines/api/gui/GuiManager.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package de.nedelosk.modularmachines.api.gui; | ||
|
||
|
||
public class GuiManager { | ||
|
||
public static IGuiHelper helper; | ||
} |
47 changes: 47 additions & 0 deletions
47
src/main/java/de/nedelosk/modularmachines/api/gui/IGuiHelper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
package de.nedelosk.modularmachines.api.gui; | ||
|
||
import java.util.List; | ||
|
||
import de.nedelosk.modularmachines.api.energy.IEnergyBuffer; | ||
import de.nedelosk.modularmachines.api.modular.IModularAssembler; | ||
import de.nedelosk.modularmachines.api.modules.IModuleBurning; | ||
import de.nedelosk.modularmachines.api.modules.IModuleWorking; | ||
import de.nedelosk.modularmachines.api.modules.controller.IModuleControlled; | ||
import de.nedelosk.modularmachines.api.modules.handlers.IModulePage; | ||
import de.nedelosk.modularmachines.api.modules.position.IStoragePosition; | ||
import de.nedelosk.modularmachines.api.modules.state.IModuleState; | ||
import de.nedelosk.modularmachines.api.modules.tools.IModuleModeMachine; | ||
import net.minecraft.item.ItemStack; | ||
import net.minecraftforge.fluids.IFluidTank; | ||
import net.minecraftforge.fml.relauncher.Side; | ||
import net.minecraftforge.fml.relauncher.SideOnly; | ||
|
||
@SideOnly(Side.CLIENT) | ||
public interface IGuiHelper { | ||
|
||
Widget<IFluidTank> createFluidTank(int xPosition, int yPosition, IFluidTank provider); | ||
|
||
Widget<IModuleState<IModuleWorking>> createProgressBar(int xPosition, IModuleState<IModuleWorking> provider); | ||
|
||
Widget<IEnergyBuffer> createEnergyField(int xPosition, int yPosition, IEnergyBuffer provider); | ||
|
||
Widget<IEnergyBuffer> createEnergyBar(int xPosition, int yPosition, IEnergyBuffer provider); | ||
|
||
Widget<IModuleState<IModuleBurning>> createBurning(int xPosition, int yPosition, IModuleState<IModuleBurning> provider); | ||
|
||
Widget<IModuleState<IModuleControlled>> createRedstoneMode(int xPosition, int yPosition, IModuleState<IModuleControlled> provider); | ||
|
||
Widget<IModuleState<IModuleControlled>> createController(int xPosition, int yPosition, IModuleState<IModuleControlled> provider, IModuleState state); | ||
|
||
Widget<IModuleState<IModuleModeMachine>> createMode(int xPosition, int yPosition, IModuleState<IModuleModeMachine> provider); | ||
|
||
/* MODULAR */ | ||
Widget<IModuleState> createModuleTab(int xPosition, int yPosition, IModuleState provider, List<IModuleState> modulesWithPages); | ||
|
||
Widget<IModulePage> createModulePageTab(int xPosition, int yPosition, IModulePage provider); | ||
|
||
/* ASSEMBLER */ | ||
Widget<IModularAssembler> createAssemblerTab(int xPosition, int yPosition, IModularAssembler provider, IStoragePosition position, boolean right); | ||
|
||
Widget<ItemStack> createAssembleTab(int xPosition, int yPosition); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
src/main/java/de/nedelosk/modularmachines/api/modules/handlers/IHandlerHelper.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package de.nedelosk.modularmachines.api.modules.handlers; | ||
|
||
|
||
public interface IHandlerHelper { | ||
} |
Oops, something went wrong.