use of net.minecraft.profiler.IProfiler in project Mekanism by mekanism.
the class MekanismTileEntityRenderer method render.
@Override
public void render(TILE tile, float partialTick, MatrixStack matrix, IRenderTypeBuffer renderer, int light, int overlayLight) {
if (tile.getLevel() != null) {
IProfiler profiler = tile.getLevel().getProfiler();
profiler.push(getProfilerSection());
render(tile, partialTick, matrix, renderer, light, overlayLight, profiler);
profiler.pop();
}
}
Aggregations