converter TEMP
This commit is contained in:
parent
3a1679f0e9
commit
ad6d6c12ca
1 changed files with 3 additions and 1 deletions
|
@ -295,7 +295,7 @@ public abstract class Converter {
|
|||
for(Entry<Property, Comparable> prop : state.getProperties().entrySet()) {
|
||||
sb.append(".withProperty(").append(block.getClass().getSimpleName()).append('.').append(prop.getKey().getName().toUpperCase()).append(", ").append(prop.getKey() instanceof PropertyEnum penum ? penum.getType().getSimpleName() + "." + ((Enum)prop.getValue()).name() : prop.getValue()).append(')');
|
||||
}
|
||||
Log.IO.debug("mapBlock(Blocks.%s.getState()%s, %d, %d)", BlockRegistry.getNameFromBlock(block), sb.toString(), id, z);
|
||||
System.out.printf("mapBlock(Blocks.%s.getState()%s, %d, %d);\n", BlockRegistry.getNameFromBlock(block), sb.toString(), id, z);
|
||||
mapBlock(state, id, z);
|
||||
}
|
||||
}
|
||||
|
@ -849,6 +849,8 @@ public abstract class Converter {
|
|||
}, 252);
|
||||
mapBlock(Blocks.obsidian, 255);
|
||||
|
||||
|
||||
|
||||
Log.IO.debug("Hash: %08x", Arrays.hashCode(BLOCK_MAP));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue