BlockDoor.java 文件源码

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

项目:RuneCraftery 作者:
@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 par1IconRegister)
    {
        this.field_111044_a = new Icon[2];
        this.field_111043_b = new Icon[2];
        this.field_111044_a[0] = par1IconRegister.registerIcon(this.getTextureName() + "_upper");
        this.field_111043_b[0] = par1IconRegister.registerIcon(this.getTextureName() + "_lower");
        this.field_111044_a[1] = new IconFlipped(this.field_111044_a[0], true, false);
        this.field_111043_b[1] = new IconFlipped(this.field_111043_b[0], true, false);
    }
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号