Commits
md_5 authored 9321d665f53
310 310 | public boolean isBlocking(); |
311 311 | |
312 312 | /** |
313 313 | * Check if the player currently has their hand raised (ie about to begin |
314 314 | * blocking). |
315 315 | * |
316 316 | * @return Whether their hand is raised |
317 317 | */ |
318 318 | public boolean isHandRaised(); |
319 319 | |
320 - | /** |
321 - | * Gets the item that the player is using (eating food, drawing back a bow, |
322 - | * blocking, etc.) |
323 - | * |
324 - | * @return the item being used by the player, or null if they are not using |
325 - | * an item |
326 - | */ |
327 - | |
328 - | public ItemStack getItemInUse(); |
329 - | |
330 320 | /** |
331 321 | * Get the total amount of experience required for the player to level |
332 322 | * |
333 323 | * @return Experience required to level up |
334 324 | */ |
335 325 | public int getExpToLevel(); |
336 326 | |
337 327 | /** |
338 328 | * Gets the current cooldown for a player's attack. |
339 329 | * |