This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
val oreDictList = OreDictionary.getOreNames | |
for { | |
toolType <- ToolType.values | |
autodetectValues = configurationSettings.getAutodetectBlocksList(toolType) | |
if configurationSettings.getAutodetectBlocksToggle(toolType) | |
oreDictEntry <- oreDictList | |
autodetectValue <- autodetectValues | |
if !autodetectValue.isEmpty() && oreDictEntry.startsWith(autodetectValue) | |
itemStacks = OreDictionary.getOres(oreDictEntry) | |
item <- itemStacks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Test | |
{ | |
public static interface C | |
{ | |
public void foo(); | |
} | |
public static class B | |
{ | |
public void foo() {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/build.gradle b/build.gradle | |
index ac38343..0b827eb 100644 | |
--- a/build.gradle | |
+++ b/build.gradle | |
@@ -56,6 +56,12 @@ dependencies { | |
// stupid maven | |
deployerJars "org.apache.maven.wagon:wagon-ssh:2.2" | |
+ | |
+ compile "org.ow2.asm:asm-debug-all:4.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CL: a a | |
CL: b b | |
CL: c c | |
CL: d d | |
CL: e e | |
CL: f f | |
CL: g g | |
CL: h h | |
CL: i i | |
CL: j j |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
abstract class GatePart[P <: GatePart[P, L], L <: GateLogic[P, L]] { this: P => | |
def getLogic: L | |
def onChange() { | |
getLogic.onChange(this) | |
} | |
} | |
abstract class GateLogic[P <: GatePart[P, L], L <: GateLogic[P, L]] { | |
def onChange(gate: P) { | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[warn] /home/rainwarrior/minecraft/sc4/plugin-test/JavaTest.java:1: package <empty> { | |
[warn] object JavaTest extends { | |
[warn] def <init>() = _; | |
[warn] <static> def main(args: scala.Array[String] = _): Unit = _ | |
[warn] }; | |
[warn] class JavaTest extends _root_.java.lang.Object { | |
[warn] import JavaTest._; | |
[warn] def <init>() = _ | |
[warn] } | |
[warn] } source-/home/rainwarrior/minecraft/sc4/plugin-test/JavaTest.java,line-1,offset=0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/build.gradle b/build.gradle | |
index ac38343..0b827eb 100644 | |
--- a/build.gradle | |
+++ b/build.gradle | |
@@ -56,6 +56,12 @@ dependencies { | |
// stupid maven | |
deployerJars "org.apache.maven.wagon:wagon-ssh:2.2" | |
+ | |
+ compile "org.ow2.asm:asm-debug-all:4.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// GPL3+ | |
package asmstuff | |
import collection.JavaConversions._ | |
import org.objectweb.asm._ | |
import tree._ | |
import java.nio.file._ | |
import attribute.BasicFileAttributes | |
import java.net.URI |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.bytecode 50.0 | |
.class synchronized net/minecraft/client/renderer/ThreadDownloadImageData$1 | |
.super java/lang/Thread | |
.field final synthetic 'theThreadDownloadImageData' Lnet/minecraft/client/renderer/ThreadDownloadImageData; | |
.method public run()V | |
.catch java/lang/Exception from L0 to L1 using L2 | |
.catch java/lang/Exception from L3 to L4 using L2 | |
.catch all from L0 to L1 using L5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
o Block | |
v 0.5 0.5 0.5 | |
v 0.5 0.5 -0.5 | |
v 0.5 -0.5 0.5 | |
v 0.5 -0.5 -0.5 | |
v -0.5 0.5 0.5 | |
v -0.5 0.5 -0.5 | |
v -0.5 -0.5 0.5 | |
v -0.5 -0.5 -0.5 | |
vt 0.0 0.0 |
OlderNewer