Files
Paper/paper-api/src/main/java/org/bukkit/entity/Strider.java
2020-06-30 09:53:40 +10:00

26 lines
669 B
Java

package org.bukkit.entity;
/**
* Represents a Strider.
*/
public interface Strider extends Steerable, Vehicle {
/**
* Check whether or not this strider is out of warm blocks and shivering.
*
* @return true if shivering, false otherwise
*/
public boolean isShivering();
/**
* Set whether or not this strider is shivering.
*
* Note that the shivering state is updated frequently on the server,
* therefore this method may not affect the entity for long enough to have a
* noticeable difference.
*
* @param shivering its new shivering state
*/
public void setShivering(boolean shivering);
}