2016-06-22 23:49:47 -04:00
|
|
|
/*
|
2022-05-03 20:22:56 +01:00
|
|
|
* Copyright (c) Forge Development LLC and contributors
|
|
|
|
|
* SPDX-License-Identifier: LGPL-2.1-only
|
2016-06-22 23:49:47 -04:00
|
|
|
*/
|
|
|
|
|
|
2012-08-18 21:05:21 +02:00
|
|
|
package net.minecraftforge.client;
|
|
|
|
|
|
2018-06-21 15:37:32 -04:00
|
|
|
import net.minecraftforge.api.distmarker.Dist;
|
2012-08-18 21:05:21 +02:00
|
|
|
import net.minecraft.client.Minecraft;
|
2019-05-23 16:02:15 -07:00
|
|
|
import net.minecraft.client.world.ClientWorld;
|
2018-06-21 15:37:32 -04:00
|
|
|
import net.minecraftforge.api.distmarker.OnlyIn;
|
2012-08-18 21:05:21 +02:00
|
|
|
|
2020-09-22 14:41:07 -04:00
|
|
|
/**
|
|
|
|
|
* Use one of {@link IWeatherRenderHandler}, {@link ICloudRenderHandler} or {@link ISkyRenderHandler} instead.
|
|
|
|
|
*
|
|
|
|
|
* todo: remove in 1.17
|
|
|
|
|
*/
|
|
|
|
|
@Deprecated
|
2019-02-06 23:02:59 -08:00
|
|
|
@FunctionalInterface
|
|
|
|
|
public interface IRenderHandler
|
2012-08-18 21:05:21 +02:00
|
|
|
{
|
2018-06-21 15:37:32 -04:00
|
|
|
@OnlyIn(Dist.CLIENT)
|
2019-07-08 20:14:41 -07:00
|
|
|
void render(int ticks, float partialTicks, ClientWorld world, Minecraft mc);
|
2020-09-22 14:41:07 -04:00
|
|
|
}
|