ForgePatch/src/main/java/net/minecraftforge/client/IRenderHandler.java

38 lines
1.3 KiB
Java
Raw Normal View History

/*
* Minecraft Forge
2020-07-02 17:49:11 +00:00
* Copyright (c) 2016-2020.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation version 2.1
* of the License.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
package net.minecraftforge.client;
2018-06-21 19:37:32 +00:00
import net.minecraftforge.api.distmarker.Dist;
import net.minecraft.client.Minecraft;
2019-05-23 23:02:15 +00:00
import net.minecraft.client.world.ClientWorld;
2018-06-21 19:37:32 +00:00
import net.minecraftforge.api.distmarker.OnlyIn;
/**
* Use one of {@link IWeatherRenderHandler}, {@link ICloudRenderHandler} or {@link ISkyRenderHandler} instead.
*
* todo: remove in 1.17
*/
@Deprecated
@FunctionalInterface
public interface IRenderHandler
{
2018-06-21 19:37:32 +00:00
@OnlyIn(Dist.CLIENT)
2019-07-09 03:14:41 +00:00
void render(int ticks, float partialTicks, ClientWorld world, Minecraft mc);
}