Package org.geysermc.connector.utils
Class LoadstoneTracker
java.lang.Object
org.geysermc.connector.utils.LoadstoneTracker
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPos(int id)Get the loadstone datastatic intStore the given coordinates and dimensions
-
Constructor Details
-
LoadstoneTracker
public LoadstoneTracker()
-
-
Method Details
-
store
Store the given coordinates and dimensions- Parameters:
x- The X position of the Loadstoney- The Y position of the Loadstonez- The Z position of the Loadstonedim- The dimension containing of the Loadstone- Returns:
- The id in the Map
-
getPos
Get the loadstone data- Parameters:
id- The ID to get the data for- Returns:
- The stored data
-