BlockData
, Cloneable
, Directional
public interface Bed extends Directional
Bisected
, 'part' denotes which half of the bed this block
corresponds to.
Modifier and Type | Interface | Description |
---|---|---|
static class |
Bed.Part |
Horizontal half of a bed.
|
Modifier and Type | Method | Description |
---|---|---|
Bed.Part |
getPart() |
Gets the value of the 'part' property.
|
boolean |
isOccupied() |
Gets the value of the 'occupied' property.
|
void |
setPart(Bed.Part part) |
Sets the value of the 'part' property.
|
clone, getAsString, getAsString, getMaterial, matches, merge
getFaces, getFacing, setFacing
@NotNull Bed.Part getPart()
void setPart(@NotNull Bed.Part part)
part
- the new 'part' valueboolean isOccupied()
Copyright © 2019. All rights reserved.