BlockWithCustomBlockRenderer.java 文件源码

java
阅读 22 收藏 0 点赞 0 评论 0

项目:ExampleMod 作者:
@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);
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号