org.bukkit.material
Class PressurePlate

java.lang.Object
  extended by org.bukkit.material.MaterialData
      extended by org.bukkit.material.PressurePlate
All Implemented Interfaces:
Cloneable, PressureSensor

public class PressurePlate
extends MaterialData
implements PressureSensor

Represents a pressure plate


Constructor Summary
PressurePlate()
           
PressurePlate(int type)
           
PressurePlate(int type, byte data)
           
PressurePlate(Material type)
           
PressurePlate(Material type, byte data)
           
 
Method Summary
 PressurePlate clone()
           
 boolean isPressed()
           
 String toString()
           
 
Methods inherited from class org.bukkit.material.MaterialData
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PressurePlate

public PressurePlate()

PressurePlate

public PressurePlate(int type)

PressurePlate

public PressurePlate(Material type)

PressurePlate

public PressurePlate(int type,
                     byte data)

PressurePlate

public PressurePlate(Material type,
                     byte data)
Method Detail

isPressed

public boolean isPressed()
Specified by:
isPressed in interface PressureSensor

toString

public String toString()
Overrides:
toString in class MaterialData

clone

public PressurePlate clone()
Overrides:
clone in class MaterialData


Copyright © 2013. All Rights Reserved.