mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-15 09:44:50 +00:00
Improve code readability in binnie.genetics package
Drop unused (empty) method MachinePackage#register() from all classes
This commit is contained in:
1 parent
856f08b752
commit
730043ba9c
112 files changed
+4354
-4697
No files matched your search
@@ -1,25 +1,20 @@
|
||||
//
|
||||
// Decompiled by Procyon v0.5.30
|
||||
//
|
||||
|
||||
package binnie.genetics.gui;
|
||||
|
||||
import binnie.core.craftgui.controls.ControlTextCentered;
|
||||
import forestry.api.lepidopterology.IButterfly;
|
||||
import binnie.core.craftgui.geometry.IArea;
|
||||
import binnie.core.craftgui.IWidget;
|
||||
import binnie.core.craftgui.controls.ControlTextCentered;
|
||||
import binnie.core.craftgui.geometry.IArea;
|
||||
import forestry.api.lepidopterology.IButterfly;
|
||||
import net.minecraft.util.EnumChatFormatting;
|
||||
|
||||
public class AnalystPageSpecimen extends ControlAnalystPage
|
||||
{
|
||||
public AnalystPageSpecimen(final IWidget parent, final IArea area, final IButterfly ind) {
|
||||
public class AnalystPageSpecimen extends ControlAnalystPage {
|
||||
public AnalystPageSpecimen(IWidget parent, IArea area, IButterfly ind) {
|
||||
super(parent, area);
|
||||
this.setColor(3355443);
|
||||
setColor(3355443);
|
||||
int y = 4;
|
||||
new ControlTextCentered(this, y, EnumChatFormatting.UNDERLINE + "Specimen").setColor(this.getColor());
|
||||
new ControlTextCentered(this, y, EnumChatFormatting.UNDERLINE + "Specimen").setColor(getColor());
|
||||
y += 12;
|
||||
final float w = (this.w() - 16.0f) * ind.getSize();
|
||||
new ControlIndividualDisplay(this, (this.w() - w) / 2.0f, y + (this.w() - w) / 2.0f, w, ind);
|
||||
float w = (w() - 16.0f) * ind.getSize();
|
||||
new ControlIndividualDisplay(this, (w() - w) / 2.0f, y + (w() - w) / 2.0f, w, ind);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user