geforkt von Mirrors/Paper
Entity powdered snow API
Dieser Commit ist enthalten in:
Ursprung
3907f8a544
Commit
dd15ee83b2
@ -973,5 +973,12 @@ public interface Entity extends Metadatable, CommandSender, Nameable, Persistent
|
||||
* @return Whether the entity was successfully spawned.
|
||||
*/
|
||||
public boolean spawnAt(@NotNull Location location, @NotNull org.bukkit.event.entity.CreatureSpawnEvent.SpawnReason reason);
|
||||
|
||||
/**
|
||||
* Check if entity is inside powdered snow.
|
||||
*
|
||||
* @return true if in powdered snow.
|
||||
*/
|
||||
boolean isInPowderedSnow();
|
||||
// Paper end
|
||||
}
|
||||
|
@ -41,6 +41,16 @@ public interface Skeleton extends AbstractSkeleton {
|
||||
*/
|
||||
void setConversionTime(int time);
|
||||
|
||||
// Paper start
|
||||
/**
|
||||
* Gets the time the skeleton
|
||||
* has been inside powdered snow.
|
||||
*
|
||||
* @return time in ticks
|
||||
*/
|
||||
int inPowderedSnowTime();
|
||||
// Paper end
|
||||
|
||||
/**
|
||||
* A legacy enum that defines the different variances of skeleton-like
|
||||
* entities on the server.
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren