Lots of integration. Graphics n stuff. Items. Everything.

This commit is contained in:
Bernhard Bonigl committed 2014-10-05 20:46:12 +02:00
1 parent 4bb32da4c8
commit 0bdf31912b
48 files changed
+119 -384

No files matched your search

@@ -0,0 +1,22 @@
package tconstruct.client;
import net.minecraft.util.IIcon;
// required to fix Mojansg bugs...
public class IconFlipped extends net.minecraft.client.renderer.IconFlipped {
private final IIcon baseIcon;
private final boolean flipV;
public IconFlipped(IIcon p_i1560_1_, boolean p_i1560_2_, boolean p_i1560_3_) {
super(p_i1560_1_, p_i1560_2_, p_i1560_3_);
this.baseIcon = p_i1560_1_;
this.flipV = p_i1560_3_;
}
// has a faulty implementation in original class
public float getMinV()
{
return this.flipV ? this.baseIcon.getMaxV() : this.baseIcon.getMinV();
}
}