- Added MFR support for 1.6.4

- Improved API for blocks
- NBT compound tags with non-identifier keys should now be output properly
This commit is contained in:
Stan Hebben committed 2014-08-09 12:06:26 +02:00
1 parent e644398505
commit e2b4f50dfc
97 files changed
+5307 -216

No files matched your search

@@ -183,7 +183,7 @@ public class MethodOutput {
}
public void checkCast(String newClass) {
visitor.visitTypeInsn(CHECKCAST, newClass.substring(1, newClass.length() - 1));
visitor.visitTypeInsn(CHECKCAST, newClass);
}
public void iNeg() {
@@ -227,6 +227,14 @@ public class MethodOutput {
visitor.visitInsn(IXOR);
}
public void iShr() {
visitor.visitInsn(ISHR);
}
public void iShl() {
visitor.visitInsn(ISHL);
}
public void lNeg() {
visitor.visitInsn(LNEG);
}
@@ -268,6 +276,14 @@ public class MethodOutput {
lXor();
}
public void lShr() {
visitor.visitInsn(LSHR);
}
public void lShl() {
visitor.visitInsn(LSHL);
}
public void fNeg() {
visitor.visitInsn(FNEG);
}
@@ -392,6 +408,10 @@ public class MethodOutput {
visitor.visitInsn(DCMPL);
}
public void instanceOf(String clsName) {
visitor.visitTypeInsn(INSTANCEOF, clsName);
}
public void invokeStatic(String owner, String name, String descriptor) {
if (owner == null)
throw new IllegalArgumentException("owner cannot be null");