Dump renderLayer as string, not ordinal
This commit is contained in:
parent
34ec62bae1
commit
ee7da76b79
@ -98,6 +98,7 @@ public class BlockDumper extends Block {
|
|||||||
attrs.add(String.format("\"opacity\": %s", defaultState.getLightOpacity()));
|
attrs.add(String.format("\"opacity\": %s", defaultState.getLightOpacity()));
|
||||||
attrs.add(String.format("\"brightness\": %s", defaultState.getLightValue()));
|
attrs.add(String.format("\"brightness\": %s", defaultState.getLightValue()));
|
||||||
attrs.add(String.format("\"useNeighborBrightness\": %s", defaultState.useNeighborBrightness()));
|
attrs.add(String.format("\"useNeighborBrightness\": %s", defaultState.useNeighborBrightness()));
|
||||||
|
attrs.add(String.format("\"renderLayer\": \"%s\"", b.getBlockLayer()));
|
||||||
|
|
||||||
ArrayList<ItemStack> subBlocks = new ArrayList<ItemStack>();
|
ArrayList<ItemStack> subBlocks = new ArrayList<ItemStack>();
|
||||||
Map<Integer, ItemStack> subBlocksByMeta = new HashMap<Integer, ItemStack>();
|
Map<Integer, ItemStack> subBlocksByMeta = new HashMap<Integer, ItemStack>();
|
||||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user