mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-16 01:55:06 +00:00
[1.16] Reimplement ICloudRenderHandler, ISkyRenderHandler and IWeatherRenderHandler (#6994)
This commit is contained in:
1 parent
ac19d1bf2b
commit
91dda36b08
9 files changed
+213
-24
No files matched your search
@@ -24,12 +24,14 @@ import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.world.ClientWorld;
|
||||
|
||||
/**
|
||||
* Call {@link net.minecraft.world.dimension.Dimension#setCloudRenderer} with an implementation of this
|
||||
* to override all cloud rendering with your own.
|
||||
* Use {@link ICloudRenderHandler} instead.
|
||||
*
|
||||
* todo: remove in 1.17
|
||||
*/
|
||||
@Deprecated
|
||||
public interface CloudRenderHandler extends IRenderHandler {
|
||||
@Override
|
||||
default void render(int ticks, float partialTicks, ClientWorld world, Minecraft mc) {}
|
||||
|
||||
void render(int ticks, float partialTicks, MatrixStack matrixStack, ClientWorld world, Minecraft mc);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user