Class IDOverlay

java.lang.Object
net.nullved.pmweatherapi.client.render.IDOverlay
All Implemented Interfaces:
IRadarOverlay

public class IDOverlay extends Object implements IRadarOverlay
The overlay for RadarMode IDs.
To enable, you must enable Show Radar Mode IDs in PMWeatherAPI's Client Config
Since:
0.14.16.2
  • Field Details

  • 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: IRadarOverlay
      Renders objects on top of the radar
      Specified by:
      render in interface IRadarOverlay
      Parameters:
      canRender - true if either the server doesn't require WSR-88D or a WSR-88D is complete within 4 chunks of the radar
      renderData - The data used to call BlockEntityRenderer.render(BlockEntity, float, PoseStack, MultiBufferSource, int, int)
      bufferBuilder - The BufferBuilder that gets drawn to the radar
      args - The arguments to pass to the Radar Overlay
    • getModID

      public String getModID()
      Specified by:
      getModID in interface IRadarOverlay
      Returns:
      The Mod ID of the mod that registered this overlay
    • getIDPath

      public String getIDPath()
      Description copied from interface: IRadarOverlay
      If not overriden, this method returns the class name of the implementor converted to snake case
      Specified by:
      getIDPath in interface IRadarOverlay
      Returns:
      The path to use for this overlay's ID