Sign and Chest patterns

This commit is contained in:
Aleksey 2020-10-14 14:30:38 +03:00
parent d99f8225a8
commit 6c74d8c364
28 changed files with 120 additions and 70 deletions

View file

@ -23,9 +23,9 @@ public class BlockBase extends Block implements Patterned {
}
@Override
public String getStatesPattern(Reader data, String block) {
public String getStatesPattern(Reader data) {
Identifier blockId = Registry.BLOCK.getId(this);
return Patterned.createJson(data, blockId, block);
return Patterned.createJson(data, blockId, blockId.getPath());
}
@Override