Here are the examples of the java api mcjty.lib.McJtyLib.proxy taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
2 Examples
19
Source : PowerCellBlock.java
with MIT License
from McJtyMods
with MIT License
from McJtyMods
@Override
public void initModel() {
ResourceLocation name = getRegistryName();
McJtyLib.proxy.initCustomItemModel(Item.gereplacedemFromBlock(this), 0, new ModelResourceLocation(new ResourceLocation(name.getResourceDomain(), name.getResourcePath() + "item"), "inventory"));
// To make sure that our ISBM model is chosen for all states we use this custom state mapper:
McJtyLib.proxy.initStateMapper(this, GenericCellBakedModel.modelCell);
}
19
Source : PortalBlock.java
with MIT License
from McJtyMods
with MIT License
from McJtyMods
public void initModel() {
McJtyLib.proxy.initStandardItemModel(this);
PortalTESR.register();
}