Class IDOverlay
java.lang.Object
net.nullved.pmweatherapi.client.render.IDOverlay
- All Implemented Interfaces:
IRadarOverlay
The overlay for
To enable, you must enable
RadarMode IDs.
To enable, you must enable
Show Radar Mode IDs in PMWeatherAPI's Client Config- Since:
- 0.14.16.2
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionIf not overriden, this method returns the class name of the implementor converted to snake casegetModID()voidrender(boolean canRender, RenderData renderData, com.mojang.blaze3d.vertex.BufferBuilder bufferBuilder, Object... args) Renders objects on top of the radarMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.nullved.pmweatherapi.client.render.IRadarOverlay
getID, getRadarMode, renderText, renderText, renderTexture, renderTexture, renderTexture, renderTexture
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
IDOverlay
public IDOverlay()
-
-
Method Details
-
render
public void render(boolean canRender, RenderData renderData, com.mojang.blaze3d.vertex.BufferBuilder bufferBuilder, Object... args) Description copied from interface:IRadarOverlayRenders objects on top of the radar- Specified by:
renderin interfaceIRadarOverlay- Parameters:
canRender-trueif either the server doesn't require WSR-88D or a WSR-88D is complete within 4 chunks of the radarrenderData- The data used to callBlockEntityRenderer.render(BlockEntity, float, PoseStack, MultiBufferSource, int, int)bufferBuilder- TheBufferBuilderthat gets drawn to the radarargs- The arguments to pass to the Radar Overlay
-
getModID
- Specified by:
getModIDin interfaceIRadarOverlay- Returns:
- The Mod ID of the mod that registered this overlay
-
getIDPath
Description copied from interface:IRadarOverlayIf not overriden, this method returns the class name of the implementor converted to snake case- Specified by:
getIDPathin interfaceIRadarOverlay- Returns:
- The path to use for this overlay's ID
-