[1.16] Reimplement ICloudRenderHandler, ISkyRenderHandler and IWeatherRenderHandler (#6994)

This commit is contained in:
Alex O'Neill authored and GitHub committed 2020-09-22 11:41:07 -07:00
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);
}
}