@Override
public void registerIcons(IconRegister registry) {
Icons.top = registry.registerIcon("examplemod:top");
Icons.bottom = registry.registerIcon("examplemod:bottom");
Icons.front = registry.registerIcon("examplemod:front");
Icons.back = registry.registerIcon("examplemod:back");
Icons.left = registry.registerIcon("examplemod:left");
Icons.right = registry.registerIcon("examplemod:right");
setTexture(ForgeDirection.EAST, Icons.left);
setTexture(ForgeDirection.WEST, Icons.right);
setTexture(ForgeDirection.SOUTH, Icons.front);
setTexture(ForgeDirection.NORTH, Icons.back);
setTexture(ForgeDirection.UP, Icons.top);
setTexture(ForgeDirection.DOWN, Icons.bottom);
setDefaultTexture(Icons.front);
}
BlockWithCustomBlockRenderer.java 文件源码
java
阅读 22
收藏 0
点赞 0
评论 0
项目:ExampleMod
作者:
评论列表
文章目录