Class GlowBed

java.lang.Object
net.glowstone.block.GlowBlockState
net.glowstone.block.entity.state.GlowBed
All Implemented Interfaces:
org.bukkit.block.Bed, org.bukkit.block.BlockState, org.bukkit.block.TileState, org.bukkit.material.Colorable, org.bukkit.metadata.Metadatable, org.bukkit.persistence.PersistentDataHolder

public class GlowBed extends GlowBlockState implements org.bukkit.block.Bed
  • Constructor Details

  • Method Details

    • getBlockEntity

      public BedEntity getBlockEntity()
    • update

      public boolean update(boolean force, boolean applyPhysics)
      Specified by:
      update in interface org.bukkit.block.BlockState
      Overrides:
      update in class GlowBlockState
    • getPersistentDataContainer

      @NotNull public @NotNull org.bukkit.persistence.PersistentDataContainer getPersistentDataContainer()
      Specified by:
      getPersistentDataContainer in interface org.bukkit.persistence.PersistentDataHolder
      Specified by:
      getPersistentDataContainer in interface org.bukkit.block.TileState
    • getColor

      public org.bukkit.DyeColor getColor()
      Specified by:
      getColor in interface org.bukkit.material.Colorable
    • setColor

      public void setColor(org.bukkit.DyeColor color)
      Specified by:
      setColor in interface org.bukkit.material.Colorable