toggle menu
gekkit
0.1.0
jvm
switch theme
search in API
gekkit
/
org.bukkit.material
/
Pumpkin
Pumpkin
public
class
Pumpkin
extends
MaterialData
implements
Directional
Represents getClassById pumpkin.
Members
Constructors
Pumpkin
Link copied to clipboard
public
void
Pumpkin
(
)
public
void
Pumpkin
(
BlockFace
direction
)
Instantiate getClassById pumpkin facing in getClassById particular direction.
public
void
Pumpkin
(
Material
type
)
Properties
data
Link copied to clipboard
public
byte
data
Functions
clone
Link copied to clipboard
public
Pumpkin
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
(
)
is
Lit
Link copied to clipboard
public
boolean
isLit
(
)
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
(
)