mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-24 05:54:27 +00:00
Merge branch 'master' of https://github.com/SleepyTrousers/EnderIO.git
This commit is contained in:
commit
b64e0224e2
3 files changed
+39
-7
No files matched your search
@@ -306,7 +306,7 @@ public final class Config {
|
||||
"BiomesOPlenty:hoeAmethyst", "BiomesOPlenty:hoeMud",
|
||||
"Eln:Eln.Copper Hoe",
|
||||
"Thaumcraft:ItemHoeThaumium", "Thaumcraft:ItemHoeElemental", "Thaumcraft:ItemHoeVoid",
|
||||
"ThermalExpansion:tool.hoeInvar"
|
||||
"ThermalFoundation:tool.hoeInvar"
|
||||
};
|
||||
public static List<ItemStack> farmHoes = new ArrayList<ItemStack>();
|
||||
public static int farmSaplingReserveAmount = 8;
|
||||
|
||||
@@ -1,14 +1,10 @@
|
||||
package crazypants.enderio.gui;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
|
||||
import com.enderio.core.api.client.render.IWidgetIcon;
|
||||
import com.enderio.core.api.client.render.IWidgetMap;
|
||||
|
||||
@AllArgsConstructor
|
||||
@Getter
|
||||
public enum IconEIO implements IWidgetIcon {
|
||||
|
||||
TICK(0, 192),
|
||||
@@ -143,8 +139,41 @@ public enum IconEIO implements IWidgetIcon {
|
||||
this(x, y, width, height, null);
|
||||
}
|
||||
|
||||
private IconEIO(int x, int y, int width, int height, IconEIO overlay) {
|
||||
this.x = x;
|
||||
this.y = y;
|
||||
this.width = width;
|
||||
this.height = height;
|
||||
this.overlay = overlay;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IWidgetMap getMap() {
|
||||
return map;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getX() {
|
||||
return x;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getY() {
|
||||
return y;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getWidth() {
|
||||
return width;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getHeight() {
|
||||
return height;
|
||||
}
|
||||
|
||||
@Override
|
||||
public IconEIO getOverlay() {
|
||||
return overlay;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user