Bukkit  1.4.7-R1.0
 All Classes Namespaces Files Functions Variables Enumerator Pages
org.bukkit.material.Pumpkin Class Reference

Represents a pumpkin. More...

+ Inheritance diagram for org.bukkit.material.Pumpkin:
+ Collaboration diagram for org.bukkit.material.Pumpkin:

Public Member Functions

 Pumpkin ()
 
 Pumpkin (BlockFace direction)
 Instantiate a pumpkin facing in a particular direction.
 
 Pumpkin (final int type)
 
 Pumpkin (final Material type)
 
 Pumpkin (final int type, final byte data)
 
 Pumpkin (final Material type, final byte data)
 
boolean isLit ()
 
void setFacingDirection (BlockFace face)
 
BlockFace getFacing ()
 
String toString ()
 
Pumpkin clone ()
 
- Public Member Functions inherited from org.bukkit.material.MaterialData
 MaterialData (final int type)
 
 MaterialData (final Material type)
 
 MaterialData (final int type, final byte data)
 
 MaterialData (final Material type, final byte data)
 
byte getData ()
 Gets the raw data in this material.
 
void setData (byte data)
 Sets the raw data of this material.
 
Material getItemType ()
 Gets the Material that this MaterialData represents.
 
int getItemTypeId ()
 Gets the Material Id that this MaterialData represents.
 
ItemStack toItemStack ()
 Creates a new ItemStack based on this MaterialData.
 
ItemStack toItemStack (int amount)
 Creates a new ItemStack based on this MaterialData.
 
String toString ()
 
int hashCode ()
 
boolean equals (Object obj)
 
MaterialData clone ()
 
- Public Member Functions inherited from org.bukkit.material.Directional
void setFacingDirection (BlockFace face)
 Sets the direction that this block is facing in.
 
BlockFace getFacing ()
 Gets the direction this block is facing.
 

Detailed Description

Represents a pumpkin.

Definition at line 9 of file Pumpkin.java.

Constructor & Destructor Documentation

org.bukkit.material.Pumpkin.Pumpkin ( )

Definition at line 11 of file Pumpkin.java.

References org.bukkit.Material.PUMPKIN.

org.bukkit.material.Pumpkin.Pumpkin ( BlockFace  direction)

Instantiate a pumpkin facing in a particular direction.

Parameters
directionthe direction the pumkin's face is facing

Definition at line 20 of file Pumpkin.java.

References org.bukkit.material.Pumpkin.setFacingDirection().

org.bukkit.material.Pumpkin.Pumpkin ( final int  type)

Definition at line 25 of file Pumpkin.java.

org.bukkit.material.Pumpkin.Pumpkin ( final Material  type)

Definition at line 29 of file Pumpkin.java.

org.bukkit.material.Pumpkin.Pumpkin ( final int  type,
final byte  data 
)

Definition at line 33 of file Pumpkin.java.

org.bukkit.material.Pumpkin.Pumpkin ( final Material  type,
final byte  data 
)

Definition at line 37 of file Pumpkin.java.

Member Function Documentation

Pumpkin org.bukkit.material.Pumpkin.clone ( )

Definition at line 94 of file Pumpkin.java.

References org.bukkit.material.Pumpkin.clone().

Referenced by org.bukkit.material.Pumpkin.clone().

boolean org.bukkit.material.Pumpkin.isLit ( )
void org.bukkit.material.Pumpkin.setFacingDirection ( BlockFace  face)
String org.bukkit.material.Pumpkin.toString ( )

The documentation for this class was generated from the following file: