Tons of changes:

- Added interface to game, client and server
- Added transformations
- Made ingredient conditions more practical to use, no longer requires imports
- Started implementation of event handling
- Moved commands and logic to the common API code
- Added common interface to MineTweaker recipes
- Added string methods
- Moved the logger from static value to static getter
- Fixed crashes on dedicated servers
- Fixed bracket resolution for <id:meta> values in 1.6.4
- Fixed scripts not being sent to multiplayer clients in 1.6.4
This commit is contained in:
Stan Hebben committed 2014-07-04 22:03:03 +02:00
1 parent 7f6235f30d
commit 115593efa5
131 files changed
+3215 -1930

No files matched your search

@@ -66,7 +66,7 @@ public abstract class Statement {
names.add(parser.required(T_ID, "identifier expected").getValue());
}
parser.required(T_COLON, ": expected");
parser.required(T_IN, "in expected");
ParsedExpression source = ParsedExpression.read(parser, environment);
Statement content = read(parser, environment);
return new StatementForeach(
@@ -41,8 +41,9 @@ public class StatementForeach extends Statement {
IEnvironmentMethod local = new EnvironmentScope(environment);
int[] localVariables = new int[varnames.length];
for (int i = 0; i < localVariables.length; i++) {
localVariables[i] = methodOutput.local(iterator.getType(i).toASMType());
local.putValue(varnames[i], new SymbolLocal(iterator.getType(i), true));
SymbolLocal localVar = new SymbolLocal(iterator.getType(i), true);
local.putValue(varnames[i], localVar);
localVariables[i] = local.getLocal(localVar);
}
cList.compile(true, environment);