blob: 0fed13f044f2f7f61c075584c1f4c384eb122ff3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
package darkknight.jewelrycraft.events;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import darkknight.jewelrycraft.block.BlockList;
import net.minecraftforge.client.event.TextureStitchEvent;
public class TextureEvent {
@SubscribeEvent
@SideOnly(Side.CLIENT)
public void textureFix(TextureStitchEvent.Post e) {
if (e.map.getTextureType() == 0)
BlockList.moltenMetalFluid
.setIcons(BlockList.moltenMetal
.getBlockTextureFromSide(
0));
}
}
|