public class SpigotBlockTypeBed extends SpigotBlockTypeDirectional implements WSBlockTypeBed
Constructor and Description |
---|
SpigotBlockTypeBed(EnumBlockFace facing,
java.util.Set<EnumBlockFace> faces,
EnumBlockTypeBedPart bedPart,
boolean occupied,
EnumDyeColor dyeColor) |
Modifier and Type | Method and Description |
---|---|
SpigotBlockTypeBed |
clone() |
boolean |
equals(java.lang.Object o) |
EnumDyeColor |
getDyeColor() |
java.lang.String |
getNewStringId() |
EnumBlockTypeBedPart |
getPart() |
int |
hashCode() |
boolean |
isOccupied() |
SpigotBlockTypeBed |
readMaterialData(org.bukkit.material.MaterialData materialData) |
void |
setDyeColor(EnumDyeColor dyeColor) |
void |
setPart(EnumBlockTypeBedPart part) |
org.bukkit.material.MaterialData |
toMaterialData() |
getFaces, getFacing, setFacing
getMaxStackSize, getNumericalId, getOldStringId, getStringId, readItemMeta, readNBTTag, writeItemMeta, writeNBTTag
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
readFromData, writeToData
getFaces, getFacing, setFacing
getById, getById, getMaterialClass, getMaxStackSize, getNumericalId, getOldStringId, getStringId
public SpigotBlockTypeBed(EnumBlockFace facing, java.util.Set<EnumBlockFace> faces, EnumBlockTypeBedPart bedPart, boolean occupied, EnumDyeColor dyeColor)
public java.lang.String getNewStringId()
getNewStringId
in interface WSMaterial
getNewStringId
in class SpigotBlockType
public EnumBlockTypeBedPart getPart()
getPart
in interface WSBlockTypeBed
public void setPart(EnumBlockTypeBedPart part)
setPart
in interface WSBlockTypeBed
public boolean isOccupied()
isOccupied
in interface WSBlockTypeBed
public EnumDyeColor getDyeColor()
getDyeColor
in interface WSBlockTypeDyeColored
public void setDyeColor(EnumDyeColor dyeColor)
setDyeColor
in interface WSBlockTypeDyeColored
public SpigotBlockTypeBed clone()
clone
in interface WSBlockTypeBed
clone
in interface WSBlockTypeDyeColored
clone
in interface WSBlockType
clone
in interface WSBlockTypeDirectional
clone
in interface WSMaterial
clone
in class SpigotBlockTypeDirectional
public org.bukkit.material.MaterialData toMaterialData()
toMaterialData
in interface SpigotMaterial
toMaterialData
in class SpigotBlockTypeDirectional
public SpigotBlockTypeBed readMaterialData(org.bukkit.material.MaterialData materialData)
readMaterialData
in interface SpigotMaterial
readMaterialData
in class SpigotBlockTypeDirectional
public boolean equals(java.lang.Object o)
equals
in class SpigotBlockTypeDirectional
public int hashCode()
hashCode
in class SpigotBlockTypeDirectional
Copyright ©2017 Degoos Team. All rights reserved.