@SideOnly(Side.CLIENT)
/**
* When this method is called, your block should register all the icons it needs with the given IconRegister. This
* is the only chance you get to register icons.
*/
public void registerIcons(IconRegister reg)
{
this.tree_top = new Icon[treeTextureTypes.length];
for (int i = 0; i < this.tree_top.length; ++i)
{
this.tree_top[i] = reg.registerIcon("MineFantasy:Tree/" + treeTextureTypes[i] + "_top");
}
this.iconArray = new Icon[treeTextureTypes.length];
for (int i = 0; i < this.iconArray.length; ++i)
{
this.iconArray[i] = reg.registerIcon("MineFantasy:Tree/" + treeTextureTypes[i] + "_side");
}
}
BlockLogMedieval.java 文件源码
java
阅读 35
收藏 0
点赞 0
评论 0
项目:MineFantasy
作者:
评论列表
文章目录