mirror of
https://github.com/MinecraftForge/MinecraftForge
synced 2026-08-22 04:26:10 -04:00
21 lines
703 B
Java
21 lines
703 B
Java
/*
|
|
* Copyright (c) Forge Development LLC and contributors
|
|
* SPDX-License-Identifier: LGPL-2.1-only
|
|
*/
|
|
|
|
package net.minecraftforge.client;
|
|
|
|
import com.mojang.blaze3d.matrix.MatrixStack;
|
|
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.
|
|
*/
|
|
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);
|
|
}
|