Package dev.boze.api.interaction
Class SlotHelper
java.lang.Object
dev.boze.api.interaction.SlotHelper
SlotHelper, for checking and syncing hotbar slot between client and server
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
Get current server-side hotbar slotstatic void
sync()
Sync client-side hotbar slot with server
-
Constructor Details
-
SlotHelper
public SlotHelper()
-
-
Method Details
-
sync
public static void sync()Sync client-side hotbar slot with server -
currentSlot
public static int currentSlot()Get current server-side hotbar slot- Returns:
- Current server-side hotbar slot (0-9)
-