类 Step
java.lang.Object
org.bukkit.material.MaterialData
org.bukkit.material.TexturedMaterial
org.bukkit.material.Step
- 所有已实现的接口:
Cloneable
已过时。
代表不同的台阶.
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明clone()已过时。protected int已过时。Magic value已过时。Retrieve a list of possible textures.boolean已过时。检查此台阶是否被反转.voidsetInverted(boolean inv) 已过时。设置台阶是否被反转.protected voidsetTextureIndex(int idx) 已过时。Magic valuetoString()已过时。从类继承的方法 org.bukkit.material.TexturedMaterial
getMaterial, setMaterial从类继承的方法 org.bukkit.material.MaterialData
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
-
构造器详细资料
-
Step
public Step()已过时。 -
Step
已过时。 -
Step
已过时。不安全的参数- 参数:
type- the typedata- the raw data value
-
-
方法详细资料
-
getTextures
已过时。从类复制的说明:TexturedMaterialRetrieve a list of possible textures. The first element of the list will be used as a default.- 指定者:
getTextures在类中TexturedMaterial- 返回:
- a list of possible textures for this block
-
isInverted
public boolean isInverted()已过时。检查此台阶是否被反转.原文:Test if step is inverted
- 返回:
- 上半台阶(反转的台阶)为true,普通台阶(底部台阶)为false
-
setInverted
public void setInverted(boolean inv) 已过时。设置台阶是否被反转.原文:Set step inverted state
- 参数:
inv- - 上半台阶(反转的台阶)为true,普通台阶(底部台阶)为false
-
getTextureIndex
已过时。Magic valueGet material index from data- 覆盖:
getTextureIndex在类中TexturedMaterial- 返回:
- index of data in textures list
-
setTextureIndex
已过时。Magic valueSet material index- 覆盖:
setTextureIndex在类中TexturedMaterial- 参数:
idx- - index of data in textures list
-
clone
已过时。- 覆盖:
clone在类中TexturedMaterial
-
toString
已过时。- 覆盖:
toString在类中TexturedMaterial
-
BlockData.