Class DebugOverlay

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

public class DebugOverlay extends Object implements IRadarOverlay
  • Field Details

  • Constructor Details

    • DebugOverlay

      public DebugOverlay()
  • Method Details

    • render

      public void render(boolean canRender, RadarRenderData radarRenderData, 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
      radarRenderData - The data used to call BlockEntityRenderer.render(BlockEntity, float, PoseStack, MultiBufferSource, int, int)
      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