21
paper-api/src/main/java/org/bukkit/entity/PufferFish.java
Normal file
21
paper-api/src/main/java/org/bukkit/entity/PufferFish.java
Normal file
@@ -0,0 +1,21 @@
|
||||
package org.bukkit.entity;
|
||||
|
||||
/**
|
||||
* Represents a puffer fish.
|
||||
*/
|
||||
public interface PufferFish extends Fish {
|
||||
|
||||
/**
|
||||
* Returns the current puff state of this fish (i.e. how inflated it is).
|
||||
*
|
||||
* @return current puff state
|
||||
*/
|
||||
int getPuffState();
|
||||
|
||||
/**
|
||||
* Sets the current puff state of this fish (i.e. how inflated it is).
|
||||
*
|
||||
* @param state new puff state
|
||||
*/
|
||||
void setPuffState(int state);
|
||||
}
|
||||
Reference in New Issue
Block a user