Constant rename

This commit is contained in:
paulevsGitch 2020-11-08 14:07:06 +03:00
parent dc0027afd9
commit a288703f08
27 changed files with 670 additions and 670 deletions

View file

@ -40,16 +40,16 @@ public class BlockStoneButton extends StoneButtonBlock implements Patterned {
Identifier blockId = Registry.BLOCK.getId(this);
Identifier parentId = Registry.BLOCK.getId(parent);
if (block.contains("item")) {
return Patterned.createJson(Patterned.BUTTON_ITEM_MODEL, parentId, blockId.getPath());
return Patterned.createJson(Patterned.ITEM_BUTTON, parentId, blockId.getPath());
}
if (block.contains("pressed")) {
return Patterned.createJson(Patterned.BUTTON_PRESSED_MODEL, parentId, blockId.getPath());
return Patterned.createJson(Patterned.BLOCK_BUTTON_PRESSED, parentId, blockId.getPath());
}
return Patterned.createJson(Patterned.BUTTON_BLOCK_MODEL, parentId, blockId.getPath());
return Patterned.createJson(Patterned.BLOCK_BUTTON, parentId, blockId.getPath());
}
@Override
public Identifier statePatternId() {
return Patterned.BUTTON_STATES_PATTERN;
return Patterned.STATE_BUTTON;
}
}