mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-19 19:59:49 +00:00
Started on splitting ExtraBees
This commit is contained in:
1 parent
601e20fe99
commit
ac05f9013a
47 files changed
+355
-295
No files matched your search
@@ -0,0 +1,40 @@
|
||||
package binnie.extrabees.utils;
|
||||
|
||||
import binnie.Binnie;
|
||||
import binnie.core.AbstractMod;
|
||||
import forestry.api.circuits.ChipsetManager;
|
||||
import forestry.api.circuits.ICircuitLayout;
|
||||
import forestry.api.circuits.ICircuitSocketType;
|
||||
|
||||
public class BinnieCircuitLayout implements ICircuitLayout {
|
||||
private final String uid;
|
||||
private final AbstractMod mod;
|
||||
private final ICircuitSocketType socketType;
|
||||
|
||||
public BinnieCircuitLayout(final AbstractMod mod, final String uid, final ICircuitSocketType socketType) {
|
||||
this.uid = uid;
|
||||
this.mod = mod;
|
||||
this.socketType = socketType;
|
||||
ChipsetManager.circuitRegistry.registerLayout(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getUID() {
|
||||
return "binnie.circuitLayout" + this.uid;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getName() {
|
||||
return Binnie.LANGUAGE.localise(this.mod, "circuit.layout." + this.uid.toLowerCase());
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getUsage() {
|
||||
return Binnie.LANGUAGE.localise(this.mod, "circuit.layout." + this.uid.toLowerCase() + ".usage");
|
||||
}
|
||||
|
||||
@Override
|
||||
public ICircuitSocketType getSocketType() {
|
||||
return this.socketType;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user