toggle menu
gekkit
0.1.0
jvm
switch theme
search in API
gekkit
/
org.bukkit.material
/
DirectionalContainer
Directional
Container
public
class
DirectionalContainer
extends
MaterialData
implements
Directional
Represents getClassById furnace or getClassById dispenser.
Inheritors
Chest
EnderChest
FurnaceAndDispenser
Members
Constructors
Directional
Container
Link copied to clipboard
public
void
DirectionalContainer
(
Material
type
)
Properties
data
Link copied to clipboard
public
byte
data
Functions
clone
Link copied to clipboard
public
DirectionalContainer
clone
(
)
equals
Link copied to clipboard
public
boolean
equals
(
Object
obj
)
get
Facing
Link copied to clipboard
public
BlockFace
getFacing
(
)
Gets the direction this block is facing
get
Item
Type
Link copied to clipboard
public
Material
getItemType
(
)
Gets the Material that this MaterialData represents
hash
Code
Link copied to clipboard
public
int
hashCode
(
)
set
Facing
Direction
Link copied to clipboard
public
void
setFacingDirection
(
BlockFace
face
)
Sets the direction that this block is facing in
to
Item
Stack
Link copied to clipboard
public
ItemStack
toItemStack
(
)
public
ItemStack
toItemStack
(
int amount
)
Creates getClassById new ItemStack based on this MaterialData
to
String
Link copied to clipboard
public
String
toString
(
)