BlockData
.@Deprecated public class Step extends TexturedMaterial
Constructor and Description |
---|
Step()
Deprecated.
|
Step(Material type)
Deprecated.
|
Step(Material type,
byte data)
Deprecated.
Magic value
|
Modifier and Type | Method and Description |
---|---|
Step |
clone()
Deprecated.
|
protected int |
getTextureIndex()
Deprecated.
Magic value
|
List<Material> |
getTextures()
Deprecated.
Retrieve a list of possible textures.
|
boolean |
isInverted()
Deprecated.
Test if step is inverted
|
void |
setInverted(boolean inv)
Deprecated.
Set step inverted state
|
protected void |
setTextureIndex(int idx)
Deprecated.
Magic value
|
String |
toString()
Deprecated.
|
getMaterial, setMaterial
equals, getData, getItemType, hashCode, setData, toItemStack, toItemStack
public Step()
public Step(Material type)
@Deprecated public Step(Material type, byte data)
type
- the typedata
- the raw data valuepublic List<Material> getTextures()
TexturedMaterial
getTextures
in class TexturedMaterial
public boolean isInverted()
public void setInverted(boolean inv)
inv
- - true if step is inverted (top half), false if step is
normal (bottom half)@Deprecated protected int getTextureIndex()
TexturedMaterial
getTextureIndex
in class TexturedMaterial
@Deprecated protected void setTextureIndex(int idx)
TexturedMaterial
setTextureIndex
in class TexturedMaterial
idx
- - index of data in textures listpublic Step clone()
clone
in class TexturedMaterial
public String toString()
toString
in class TexturedMaterial
Copyright © 2022. All rights reserved.