public class PressurePlate extends MaterialData implements PressureSensor
コンストラクタと説明 |
---|
PressurePlate() |
PressurePlate(int type)
非推奨です。
Magic value
|
PressurePlate(int type,
byte data)
非推奨です。
Magic value
|
PressurePlate(Material type) |
PressurePlate(Material type,
byte data)
非推奨です。
Magic value
|
修飾子とタイプ | メソッドと説明 |
---|---|
PressurePlate |
clone() |
boolean |
isPressed() |
String |
toString() |
equals, getData, getItemType, getItemTypeId, hashCode, setData, toItemStack, toItemStack
public PressurePlate()
@Deprecated public PressurePlate(int type)
type
- the raw type idpublic PressurePlate(Material type)
@Deprecated public PressurePlate(int type, byte data)
type
- the raw type iddata
- the raw data value@Deprecated public PressurePlate(Material type, byte data)
type
- the typedata
- the raw data valuepublic boolean isPressed()
isPressed
インタフェース内 PressureSensor
public String toString()
toString
クラス内 MaterialData
public PressurePlate clone()
clone
クラス内 MaterialData
Copyright © 2016. All rights reserved.