Search in sources :

Example 1 with MRSRenderer

use of WayofTime.alchemicalWizardry.api.renderer.MRSRenderer in project BloodMagic by WayofTime.

the class RenderMasterStone method renderTileEntityAt.

@Override
public void renderTileEntityAt(TileEntity tileEntity, double d0, double d1, double d2, float f) {
    if (tileEntity instanceof TEMasterStone) {
        String str = ((TEMasterStone) tileEntity).getCurrentRitual();
        MRSRenderer renderer = Rituals.getRendererForKey(str);
        if (renderer != null) {
            renderer.renderAt(((TEMasterStone) tileEntity), d0, d1, d2);
        }
    }
}
Also used : MRSRenderer(WayofTime.alchemicalWizardry.api.renderer.MRSRenderer) TEMasterStone(WayofTime.alchemicalWizardry.common.tileEntity.TEMasterStone)

Aggregations

MRSRenderer (WayofTime.alchemicalWizardry.api.renderer.MRSRenderer)1 TEMasterStone (WayofTime.alchemicalWizardry.common.tileEntity.TEMasterStone)1