Dump renderLayer as string, not ordinal

This commit is contained in:
David Vierra 2016-09-09 14:26:25 -10:00
parent 34ec62bae1
commit ee7da76b79
2 changed files with 1446 additions and 1445 deletions

View File

@ -98,6 +98,7 @@ public class BlockDumper extends Block {
attrs.add(String.format("\"opacity\": %s", defaultState.getLightOpacity()));
attrs.add(String.format("\"brightness\": %s", defaultState.getLightValue()));
attrs.add(String.format("\"useNeighborBrightness\": %s", defaultState.useNeighborBrightness()));
attrs.add(String.format("\"renderLayer\": \"%s\"", b.getBlockLayer()));
ArrayList<ItemStack> subBlocks = new ArrayList<ItemStack>();
Map<Integer, ItemStack> subBlocksByMeta = new HashMap<Integer, ItemStack>();

File diff suppressed because it is too large Load Diff