Files
Paper/paper-api/src/main/java/org/bukkit/entity/BlockDisplay.java
Bukkit/Spigot b76cbe36c5 Update to Minecraft 1.19.4
By: md_5 <git@md-5.net>
2023-03-15 03:30:00 +11:00

26 lines
488 B
Java

package org.bukkit.entity;
import org.bukkit.block.data.BlockData;
import org.jetbrains.annotations.NotNull;
/**
* Represents a block display entity.
*/
public interface BlockDisplay extends Display {
/**
* Gets the displayed block.
*
* @return the displayed block
*/
@NotNull
public BlockData getBlock();
/**
* Sets the displayed block.
*
* @param block the new block
*/
public void setBlock(@NotNull BlockData block);
}