This repository has been archived by the owner on Nov 9, 2017. It is now read-only.
forked from Bukkit/Bukkit
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
76 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package org.bukkit.entity; | ||
|
||
/** | ||
* Represents a Endermite. | ||
*/ | ||
public interface Endermite extends Monster { | ||
|
||
/** | ||
* Represents the lifetime in ticks of the Endermite. Should disappear after 2400 ticks. | ||
* @return the lifetime of the Endermite in ticks. | ||
*/ | ||
public int getLifetime(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package org.bukkit.entity; | ||
|
||
/** | ||
* Represents a Guardian. | ||
*/ | ||
public interface Guardian extends Monster, WaterMob { | ||
|
||
/** | ||
* | ||
* | ||
* @return true if this guardian is an Elder | ||
*/ | ||
public boolean isElder(); | ||
|
||
/** | ||
* Sets the guardian to be an elder or not. | ||
* | ||
*/ | ||
public void setElder(boolean isElder); | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
package org.bukkit.entity; | ||
|
||
import java.util.HashMap; | ||
import java.util.Map; | ||
|
||
/** | ||
* Represents a Rabbit. | ||
*/ | ||
public interface Rabbit extends Animals | ||
{ | ||
|
||
/** | ||
* Gets the type of rabbit. | ||
* | ||
* @return The type of rabbit | ||
*/ | ||
public RabbitType getRabbitType(); | ||
|
||
/** | ||
* Sets the type of rabbit. | ||
* | ||
* @param type The type of rabbit | ||
*/ | ||
public void setRabbitType(RabbitType type); | ||
|
||
/* | ||
* Represents the various different Rabbit types. | ||
*/ | ||
public enum RabbitType | ||
{ | ||
BROWN, | ||
WHITE, | ||
BLACK, | ||
BLACK_AND_WHITE, | ||
GOLD, | ||
SALT_PEPPER, | ||
KILLER | ||
} | ||
} |