Files
Paper/paper-api/src/main/java/org/bukkit/entity/Skeleton.java
Bukkit/Spigot b2c53e8c68 Fix some javadoc warnings
Also remove a couple old/broken deprecated methods

By: md_5 <git@md-5.net>
2019-05-20 20:29:33 +10:00

49 lines
1.0 KiB
Java

package org.bukkit.entity;
import org.jetbrains.annotations.Contract;
import org.jetbrains.annotations.NotNull;
/**
* Represents a Skeleton.
*/
public interface Skeleton extends Monster {
/**
* Gets the current type of this skeleton.
*
* @return Current type
* @deprecated should check what class instance this is
*/
@Deprecated
@NotNull
public SkeletonType getSkeletonType();
/**
* @param type type
* @deprecated Must spawn a new subtype variant
*/
@Deprecated
@Contract("_ -> fail")
public void setSkeletonType(SkeletonType type);
/*
* @deprecated classes are different types
*/
@Deprecated
public enum SkeletonType {
/**
* Standard skeleton type.
*/
NORMAL,
/**
* Wither skeleton. Generally found in Nether fortresses.
*/
WITHER,
/**
* Stray skeleton. Generally found in ice biomes. Shoots tipped arrows.
*/
STRAY;
}
}