Patterns
This commit is contained in:
parent
0d5e6d544c
commit
f862bc8792
57 changed files with 493 additions and 225 deletions
|
@ -34,7 +34,7 @@ public abstract class ModelVariantMapMixin {
|
|||
Block block = Registry.BLOCK.get(blockId);
|
||||
idContext.removeId();
|
||||
if (block instanceof Patterned) {
|
||||
String pattern = ((Patterned) block).blockStatePattern(data[1]);
|
||||
String pattern = ((Patterned) block).getStatesPattern(reader, data[1]);
|
||||
info.setReturnValue(deserialize(context, new StringReader(pattern)));
|
||||
info.cancel();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue