Search in sources :

Example 1 with BlockIronFurnaceTileBase

use of ironfurnaces.tileentity.BlockIronFurnaceTileBase in project Polymorph by TheIllusiveC4.

the class IronFurnacesModule method setup.

@Override
public void setup() {
    IPolymorphCommon commonApi = PolymorphApi.common();
    commonApi.registerTileEntity2RecipeData(pTileEntity -> {
        if (pTileEntity instanceof BlockIronFurnaceTileBase) {
            return new IronFurnaceRecipeData((BlockIronFurnaceTileBase) pTileEntity);
        }
        return null;
    });
}
Also used : IPolymorphCommon(top.theillusivec4.polymorph.api.common.base.IPolymorphCommon) BlockIronFurnaceTileBase(ironfurnaces.tileentity.BlockIronFurnaceTileBase)

Aggregations

BlockIronFurnaceTileBase (ironfurnaces.tileentity.BlockIronFurnaceTileBase)1 IPolymorphCommon (top.theillusivec4.polymorph.api.common.base.IPolymorphCommon)1