- Added toString to the data values

- Added getPlayer to crafting inventory
- Added crafting inventory to recipe function
- Removed some print statements
- Renamed the global minetweaker variable to tweaker
- Bumped forge version to 1121 due to ore dictionary changes
- Added bracket handler for ore entries
- Enabled withTag(null)
- Fixed issues with the new ore dictionary implementation in Forge 1113+
- Fixed bug in Ore recipe conversion
- Fixed import errors not being detected and reported properly
- Fixed nested NBT tags not being converted properly
- Fixed something in any type implementation
- Added commas in function name generation
- Added class registries for IC2 and NEI integration
This commit is contained in:
Stan Hebben committed 2014-06-22 14:02:56 +02:00
1 parent 2de467d7d8
commit 3827eba3e2
39 files changed
+301 -50

No files matched your search

@@ -133,7 +133,7 @@ public class DataMap implements IData {
public String asString() {
StringBuilder result = new StringBuilder();
result.append('{');
boolean first = false;
boolean first = true;
for (Map.Entry<String, IData> entry : data.entrySet()) {
if (first) {
first = false;
@@ -142,7 +142,7 @@ public class DataMap implements IData {
}
result.append(entry.getKey());
result.append(": ");
result.append(entry.getValue().asString());
result.append(entry.getValue().toString());
}
result.append('}');
return result.toString();
@@ -207,7 +207,7 @@ public class DataMap implements IData {
for (Map.Entry<String, IData> dataEntry : dataMap.entrySet()) {
if (!this.data.containsKey(dataEntry.getKey())) {
return false;
} else if (!this.data.get(dataEntry.getKey()).contains(data)) {
} else if (!this.data.get(dataEntry.getKey()).contains(dataEntry.getValue())) {
return false;
}
}
@@ -269,4 +269,9 @@ public class DataMap implements IData {
public <T> T convert(IDataConverter<T> converter) {
return converter.fromMap(data);
}
@Override
public String toString() {
return asString();
}
}