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)
          Deprecated. Magic value
PressurePlate(int type, byte data)
          Deprecated. Magic value
PressurePlate(Material type)
           
PressurePlate(Material type, byte data)
          Deprecated. Magic value
 
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

@Deprecated
public PressurePlate(int type)
Deprecated. Magic value


PressurePlate

public PressurePlate(Material type)

PressurePlate

@Deprecated
public PressurePlate(int type,
                                byte data)
Deprecated. Magic value


PressurePlate

@Deprecated
public PressurePlate(Material type,
                                byte data)
Deprecated. Magic value

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 © 2014. All rights reserved.