Start changes model loading (early WIP)

This commit is contained in:
Aleksey 2021-05-10 22:21:51 +03:00
parent 807e25c907
commit ce98c5857e
57 changed files with 122 additions and 97 deletions

View file

@ -40,7 +40,7 @@ public class EndTrapdoorBlock extends TrapDoorBlock implements IRenderTypeable,
}
@Override
public String getModelPattern(String block) {
public String getModelString(String block) {
ResourceLocation blockId = Registry.BLOCK.getKey(this);
String name = blockId.getPath();
return Patterns.createJson(Patterns.BLOCK_TRAPDOOR, new HashMap<String, String>() {