类 SpawnEgg
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.SpawnEgg
- 所有已实现的接口:
Cloneable
已过时。
代表刷怪蛋.
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明clone()已过时。已过时。现存储在SpawnEggMeta.voidsetSpawnedType(EntityType type) 已过时。现存储在SpawnEggMeta.toString()已过时。从类继承的方法 org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
构造器详细资料
-
SpawnEgg
public SpawnEgg()已过时。 -
SpawnEgg
已过时。不安全的参数- 参数:
type- the typedata- the raw data value
-
SpawnEgg
已过时。不安全的参数- 参数:
data- the raw data value
-
SpawnEgg
已过时。
-
-
方法详细资料
-
getSpawnedType
已过时。现存储在SpawnEggMeta.获取这个刷怪蛋刷出实体的种类.原文:Get the type of entity this egg will spawn.
- 返回:
- 实体种类
-
setSpawnedType
已过时。现存储在SpawnEggMeta.设置这个刷怪蛋刷出实体的种类.原文:Set the type of entity this egg will spawn.
- 参数:
type- 实体种类
-
toString
已过时。- 覆盖:
toString在类中MaterialData
-
clone
已过时。- 覆盖:
clone在类中MaterialData
-
SpawnEggMeta