#512: Expand Strider and Steerable entity API
By: Parker Hawke <hawkeboyz2@hotmail.com>
This commit is contained in:
@@ -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 { }
|
||||
|
||||
Reference in New Issue
Block a user