More patterns fixes
This commit is contained in:
parent
8306f245e1
commit
835b2e56d6
11 changed files with 40 additions and 32 deletions
|
@ -37,8 +37,9 @@ public class BlockSlab extends SlabBlock implements Patterned {
|
|||
|
||||
@Override
|
||||
public String getModelPattern(String block) {
|
||||
Identifier blockId = Registry.BLOCK.getId(this);
|
||||
Identifier parentId = Registry.BLOCK.getId(parent);
|
||||
return Patterned.createJson(Patterned.SLAB_BLOCK_MODEL, parentId, block);
|
||||
return Patterned.createJson(Patterned.SLAB_BLOCK_MODEL, parentId, blockId.getPath());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue