public interface IFullscreen
| Modifier and Type | Method and Description |
|---|---|
void |
centerOn(double x,
double z)
Centers the map on x, z coord
|
void |
close()
Closes the map.
|
double |
getCenterBlockX(boolean withDragOffset)
Center Block X
|
double |
getCenterBlockZ(boolean withDragOffset)
Center Block Z
|
net.minecraft.client.Minecraft |
getMinecraft()
Gets minecraft
|
java.awt.geom.Point2D.Double |
getMouseDrag()
Gets the fullscreen mouseDrag position.
|
net.minecraft.client.gui.screens.Screen |
getScreen()
Gets the screen.
|
UIState |
getUiState()
Gets the current UIState
|
void |
toggleMapType()
Moves to the next maptype
|
void |
updateMapType(Context.MapType mapType,
java.lang.Integer vSlice,
net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> dimension)
Updates to a maptype.
|
void |
zoomIn()
Zooms in
|
void |
zoomOut()
Zoomes out.
|
void updateMapType(Context.MapType mapType, java.lang.Integer vSlice, net.minecraft.resources.ResourceKey<net.minecraft.world.level.Level> dimension)
mapType - - The maptype.vSlice - - The slice.dimension - - The dimensionvoid toggleMapType()
void zoomIn()
void zoomOut()
void centerOn(double x,
double z)
x - - The X coord.z - - The Z coord.void close()
UIState getUiState()
net.minecraft.client.Minecraft getMinecraft()
net.minecraft.client.gui.screens.Screen getScreen()
java.awt.geom.Point2D.Double getMouseDrag()
double getCenterBlockX(boolean withDragOffset)
withDragOffset - - with the calculated drag offset.double getCenterBlockZ(boolean withDragOffset)
withDragOffset- - with the calculated drag offset.