Interface IFullscreen


public interface IFullscreen
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    centerOn(double x, double z)
    Centers the map on x, z coord
    void
    Closes the map.
    net.minecraft.client.Minecraft
    Gets minecraft
    net.minecraft.client.gui.screens.Screen
    Gets the screen.
    Gets the current UIState
    void
    Moves to the next maptype
    void
    updateMapType(Context.MapType mapType, Integer vSlice, net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> dimension)
    Updates to a maptype.
    void
    Zooms in
    void
    Zoomes out.
  • Method Details

    • updateMapType

      void updateMapType(Context.MapType mapType, Integer vSlice, net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> dimension)
      Updates to a maptype.
      Parameters:
      mapType - - The maptype.
      vSlice - - The slice.
      dimension - - The dimension
    • toggleMapType

      void toggleMapType()
      Moves to the next maptype
    • zoomIn

      void zoomIn()
      Zooms in
    • zoomOut

      void zoomOut()
      Zoomes out.
    • centerOn

      void centerOn(double x, double z)
      Centers the map on x, z coord
      Parameters:
      x - - The X coord.
      z - - The Z coord.
    • close

      void close()
      Closes the map.
    • getUiState

      UIState getUiState()
      Gets the current UIState
      Returns:
      - The uiState.
    • getMinecraft

      net.minecraft.client.Minecraft getMinecraft()
      Gets minecraft
      Returns:
      Minecraft
    • getScreen

      net.minecraft.client.gui.screens.Screen getScreen()
      Gets the screen.
      Returns:
      the Screen.