#512: Expand Strider and Steerable entity API

By: Parker Hawke <hawkeboyz2@hotmail.com>
This commit is contained in:
Bukkit/Spigot
2020-06-30 09:53:40 +10:00
parent e34cd0f4b9
commit c689413d27
4 changed files with 138 additions and 17 deletions

View File

@@ -3,19 +3,4 @@ package org.bukkit.entity;
/**
* Represents a Pig.
*/
public interface Pig extends Animals, Vehicle {
/**
* Check if the pig has a saddle.
*
* @return if the pig has been saddled.
*/
public boolean hasSaddle();
/**
* Sets if the pig has a saddle or not
*
* @param saddled set if the pig has a saddle or not.
*/
public void setSaddle(boolean saddled);
}
public interface Pig extends Steerable, Vehicle { }