mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-21 20:52:22 +00:00
port to forestry 4.2
This commit is contained in:
1 parent
dbc5c1a564
commit
f969f63b66
3697 files changed
+78372
No files matched your search
@@ -0,0 +1,36 @@
|
||||
//
|
||||
// Decompiled by Procyon v0.5.30
|
||||
//
|
||||
|
||||
package binnie.core.texture;
|
||||
|
||||
import binnie.core.BinnieCore;
|
||||
import binnie.Binnie;
|
||||
import binnie.core.resource.BinnieResource;
|
||||
import binnie.core.resource.ResourceType;
|
||||
import binnie.core.resource.IBinnieTexture;
|
||||
|
||||
public enum BinnieCoreTexture implements IBinnieTexture
|
||||
{
|
||||
Compartment(ResourceType.Tile, "Compartment"),
|
||||
CompartmentIron(ResourceType.Tile, "CompartmentIron"),
|
||||
CompartmentDiamond(ResourceType.Tile, "CompartmentDiamond"),
|
||||
CompartmentCopper(ResourceType.Tile, "CompartmentCopper"),
|
||||
CompartmentGold(ResourceType.Tile, "CompartmentGold"),
|
||||
CompartmentBronze(ResourceType.Tile, "CompartmentBronze"),
|
||||
GUIBreeding(ResourceType.GUI, "breeding"),
|
||||
GUIAnalyst(ResourceType.GUI, "guianalyst");
|
||||
|
||||
String texture;
|
||||
ResourceType type;
|
||||
|
||||
private BinnieCoreTexture(final ResourceType base, final String texture) {
|
||||
this.texture = texture;
|
||||
this.type = base;
|
||||
}
|
||||
|
||||
@Override
|
||||
public BinnieResource getTexture() {
|
||||
return Binnie.Resource.getPNG(BinnieCore.instance, this.type, this.texture);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
//
|
||||
// Decompiled by Procyon v0.5.30
|
||||
//
|
||||
|
||||
package binnie.core.texture;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import javax.swing.Icon;
|
||||
import java.util.List;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public class TextureManager
|
||||
{
|
||||
static List<Icon> textures;
|
||||
|
||||
public static void init() {
|
||||
}
|
||||
|
||||
static {
|
||||
TextureManager.textures = new ArrayList<Icon>();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user