mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-17 19:15:24 +00:00
Localization and refactoring (#77)
* Some refactoring for bee production * Code cleanup * Code cleanup * Added some localization * Fix wrong dropped class * Added some localization * Added some localization * Added some localization * Fix wrong import
This commit is contained in:
1 parent
68bbe7710c
commit
1ea7b62e5f
157 files changed
+3240
-5045
No files matched your search
@@ -0,0 +1,24 @@
|
||||
package binnie.genetics.machine.lab;
|
||||
|
||||
import binnie.core.machines.Machine;
|
||||
import binnie.genetics.core.GeneticsTexture;
|
||||
import binnie.genetics.machine.ComponentGUIHolder;
|
||||
import binnie.genetics.machine.MachineRendererLab;
|
||||
import binnie.genetics.machine.PackageGeneticBase;
|
||||
import net.minecraft.client.renderer.RenderBlocks;
|
||||
|
||||
public class LabMachinePackage extends PackageGeneticBase {
|
||||
public LabMachinePackage() {
|
||||
super("labMachine", GeneticsTexture.LabMachine, 0xffffff, false);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void createMachine(Machine machine) {
|
||||
new ComponentGUIHolder(machine);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void renderMachine(Machine machine, double x, double y, double z, float partialTick, RenderBlocks renderer) {
|
||||
MachineRendererLab.instance.renderMachine(machine, color, renderTexture, x, y, z, partialTick);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user