BlockData, Cloneable, Directionalpublic 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, mergegetFaces, getFacing, setFacing@NotNull Bed.Part getPart()
void setPart(@NotNull
             Bed.Part part)
part - the new 'part' valueboolean isOccupied()
Copyright © 2019. All rights reserved.