This commit is contained in:
Aleksey 2020-10-13 17:54:18 +03:00
parent 0d5e6d544c
commit f862bc8792
57 changed files with 493 additions and 225 deletions

View file

@ -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();
}