26 lines
1.3 KiB
Java
26 lines
1.3 KiB
Java
package gregtech.loaders.misc;
|
|
|
|
import gregtech.api.GregTech_API;
|
|
import gregtech.api.enums.Textures;
|
|
import gregtech.api.enums.Textures.BlockIcons;
|
|
import gregtech.api.objects.GT_CopiedBlockTexture;
|
|
import gregtech.api.objects.GT_RenderedTexture;
|
|
import gregtech.api.util.GT_ModHandler;
|
|
import net.minecraft.init.Blocks;
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
public class GT_CoverLoader
|
|
implements Runnable
|
|
{
|
|
public void run()
|
|
{
|
|
for (byte i = 0; i < 16; i = (byte)(i + 1)) {
|
|
GregTech_API.registerCover(new ItemStack(Blocks.carpet, 1, i), new GT_CopiedBlockTexture(Blocks.wool, 0, i), null);
|
|
}
|
|
GregTech_API.registerCover(GT_ModHandler.getIC2Item("reactorVent", 1L), new GT_RenderedTexture(Textures.BlockIcons.VENT_NORMAL), null);
|
|
GregTech_API.registerCover(GT_ModHandler.getIC2Item("reactorVentCore", 1L), new GT_RenderedTexture(Textures.BlockIcons.VENT_NORMAL), null);
|
|
GregTech_API.registerCover(GT_ModHandler.getIC2Item("reactorVentGold", 1L), new GT_RenderedTexture(Textures.BlockIcons.VENT_ADVANCED), null);
|
|
GregTech_API.registerCover(GT_ModHandler.getIC2Item("reactorVentSpread", 1L), new GT_RenderedTexture(Textures.BlockIcons.VENT_NORMAL), null);
|
|
GregTech_API.registerCover(GT_ModHandler.getIC2Item("reactorVentDiamond", 1L), new GT_RenderedTexture(Textures.BlockIcons.VENT_ADVANCED), null);
|
|
}
|
|
}
|