public class CloudRenderer extends java.lang.Object implements ISelectiveResourceReloadListener
IFutureReloadListener.IStage| Constructor and Description |
|---|
CloudRenderer() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkSettings() |
void |
onResourceManagerReload(IResourceManager resourceManager,
java.util.function.Predicate<IResourceType> resourcePredicate)
A version of onResourceManager that selectively chooses
IResourceTypes
to reload. |
boolean |
render(int cloudTicks,
float partialTicks) |
static boolean |
renderClouds(int cloudTicks,
float partialTicks,
ClientWorld world,
Minecraft client) |
static void |
updateCloudSettings() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonResourceManagerReloadgetResourceType, reloadpublic void checkSettings()
public boolean render(int cloudTicks,
float partialTicks)
public void onResourceManagerReload(@Nonnull
IResourceManager resourceManager,
@Nonnull
java.util.function.Predicate<IResourceType> resourcePredicate)
ISelectiveResourceReloadListenerIResourceTypes
to reload.
When using this, the given predicate should be called to ensure the relevant resources should
be reloaded at this time.onResourceManagerReload in interface ISelectiveResourceReloadListenerresourceManager - the resource manager being reloadedresourcePredicate - predicate to test whether any given resource type should be reloadedpublic static void updateCloudSettings()
public static boolean renderClouds(int cloudTicks,
float partialTicks,
ClientWorld world,
Minecraft client)