Commits
Shreyas Ayyengar authored and md_5 committed 8ae2e3beb8f
279 279 | |
280 280 | /** |
281 281 | * Causes the player to wakeup if they are currently sleeping. |
282 282 | * |
283 283 | * @param setSpawnLocation whether to set their spawn location to the bed |
284 284 | * they are currently sleeping in |
285 285 | * @throws IllegalStateException if not sleeping |
286 286 | */ |
287 287 | public void wakeup(boolean setSpawnLocation); |
288 288 | |
289 + | /** |
290 + | * Make the player start a riptide spin attack. |
291 + | * |
292 + | * @param duration spin attack duration in ticks. |
293 + | * @param attackStrength damage value inflicted upon entities hit by spin attack. |
294 + | * @param attackItem item used to attack. |
295 + | */ |
296 + | public void startRiptideAttack(int duration, float attackStrength, ItemStack attackItem); |
297 + | |
289 298 | /** |
290 299 | * Gets the location of the bed the player is currently sleeping in |
291 300 | * |
292 301 | * @return location |
293 302 | * @throws IllegalStateException if not sleeping |
294 303 | */ |
295 304 | |
296 305 | public Location getBedLocation(); |
297 306 | |
298 307 | /** |