mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-21 04:32:24 +00:00
Feature/code improve (#221)
* Code improvement for genetics.api Code improvement for genetics.core Fix missed localization for info of Lab Stand * Code improvement for genetics.genetics package
This commit is contained in:
1 parent
9e1ec59b86
commit
3ff4957a10
105 files changed
+1500
-1443
No files matched your search
@@ -28,12 +28,12 @@ import binnie.genetics.machine.ModuleMachine;
|
||||
|
||||
public class PackageGenepool extends GeneticMachine.PackageGeneticBase implements IMachineInformation {
|
||||
public PackageGenepool() {
|
||||
super("genepool", GeneticsTexture.Genepool, 12661942, true);
|
||||
super("genepool", GeneticsTexture.GENEPOOL, 12661942, true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void createMachine(final Machine machine) {
|
||||
new ComponentGeneticGUI(machine, GeneticsGUI.Genepool);
|
||||
new ComponentGeneticGUI(machine, GeneticsGUI.GENEPOOL);
|
||||
ComponentInventorySlots inventory = new ComponentInventorySlots(machine);
|
||||
InventorySlot slotEnzyme = inventory.addSlot(Genepool.SLOT_ENZYME, "enzyme");
|
||||
slotEnzyme.setValidator(new SlotValidator.Item(GeneticsItems.Enzyme.get(1), ModuleMachine.spriteEnzyme));
|
||||
|
||||
Reference in new issue
Block a user