mirror of
https://github.com/GTNewHorizons/Chisel.git
synced 2026-11-11 15:57:31 +00:00
Resolved lombok issue
This commit is contained in:
1 parent
d05e019479
commit
feef5a4e3a
6 files changed
+54
-10
No files matched your search
@@ -4,7 +4,7 @@ import cpw.mods.fml.common.ModAPIManager;
|
||||
|
||||
public class CTMLib {
|
||||
|
||||
public static final String VERSION = "GRADLETOKEN_VERSION";
|
||||
public static final String VERSION = "1.4.1";
|
||||
|
||||
private static boolean chiselPresent, chiselInitialized;
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@ import java.util.List;
|
||||
|
||||
import org.apache.commons.lang3.ArrayUtils;
|
||||
|
||||
import lombok.experimental.Delegate;
|
||||
import net.minecraft.util.IIcon;
|
||||
import net.minecraftforge.client.event.TextureStitchEvent;
|
||||
import net.minecraftforge.common.MinecraftForge;
|
||||
@@ -27,7 +26,7 @@ public class TextureSubmap implements IIcon, ISubmap {
|
||||
}
|
||||
|
||||
private int width, height;
|
||||
@Delegate
|
||||
|
||||
private IIcon baseIcon;
|
||||
|
||||
protected IIcon[][] icons;
|
||||
@@ -111,6 +110,51 @@ public class TextureSubmap implements IIcon, ISubmap {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getIconWidth() {
|
||||
return baseIcon.getIconWidth();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getIconHeight() {
|
||||
return baseIcon.getIconHeight();
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getMinU() {
|
||||
return baseIcon.getMinU();
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getMaxU() {
|
||||
return baseIcon.getMaxU();
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getInterpolatedU(double p_94214_1_) {
|
||||
return baseIcon.getInterpolatedU(p_94214_1_);
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getMinV() {
|
||||
return baseIcon.getMinV();
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getMaxV() {
|
||||
return baseIcon.getMaxV();
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getInterpolatedV(double p_94207_1_) {
|
||||
return baseIcon.getInterpolatedV(p_94207_1_);
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getIconName() {
|
||||
return baseIcon.getIconName();
|
||||
}
|
||||
|
||||
private class TextureVirtual implements IIcon {
|
||||
|
||||
private int width, height;
|
||||
|
||||
Reference in new issue
Block a user