TanneryBlocks.java 文件源码

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

项目:Tannery 作者:
public static void init()
{
    butcherBench = new BlockButchersBench();
    registerBlock(butcherBench);
    GameRegistry.registerTileEntity(TileEntityButchersBench.class, "tileEntityButchersBench");

    gallows = new BlockGallows();
    registerBlockWithCustomItemBlock(gallows, ItemGallows.class);
    GameRegistry.registerTileEntity(TileEntityGallows.class, "tileEntityGallows");

    quebrachoSapling = new BlockSaplingQuebracho();
    registerBlockWithStateBuilder(quebrachoSapling,
            new StateMap.Builder().addPropertiesToIgnore(BlockSaplingQuebracho.TYPE, BlockSaplingQuebracho.STAGE));
    quebrachoLog = new BlockLogQuebracho();
    registerBlockWithStateBuilder(quebrachoLog, new StateMap.Builder().addPropertiesToIgnore(BlockLogQuebracho.VARIANT));
    quebrachoLeaves = new BlockLeavesQuebracho();
    registerBlock(quebrachoLeaves);
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号