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

Represents a pressure plate. More...

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

Public Member Functions

 PressurePlate ()
 
 PressurePlate (int type)
 
 PressurePlate (Material type)
 
 PressurePlate (int type, byte data)
 
 PressurePlate (Material type, byte data)
 
boolean isPressed ()
 
String toString ()
 
PressurePlate 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.PressureSensor
boolean isPressed ()
 

Detailed Description

Represents a pressure plate.

Definition at line 8 of file PressurePlate.java.

Constructor & Destructor Documentation

org.bukkit.material.PressurePlate.PressurePlate ( )

Definition at line 9 of file PressurePlate.java.

References org.bukkit.Material.WOOD_PLATE.

org.bukkit.material.PressurePlate.PressurePlate ( int  type)

Definition at line 13 of file PressurePlate.java.

org.bukkit.material.PressurePlate.PressurePlate ( Material  type)

Definition at line 17 of file PressurePlate.java.

org.bukkit.material.PressurePlate.PressurePlate ( int  type,
byte  data 
)

Definition at line 21 of file PressurePlate.java.

org.bukkit.material.PressurePlate.PressurePlate ( Material  type,
byte  data 
)

Definition at line 25 of file PressurePlate.java.

Member Function Documentation

PressurePlate org.bukkit.material.PressurePlate.clone ( )
boolean org.bukkit.material.PressurePlate.isPressed ( )
String org.bukkit.material.PressurePlate.toString ( )

Definition at line 34 of file PressurePlate.java.

References org.bukkit.material.PressurePlate.isPressed().


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