Package com.sk89q.worldedit.bukkit
Class EditSessionBlockChangeDelegate
java.lang.Object
com.sk89q.worldedit.bukkit.EditSessionBlockChangeDelegate
- All Implemented Interfaces:
org.bukkit.BlockChangeDelegate
public class EditSessionBlockChangeDelegate
extends Object
implements org.bukkit.BlockChangeDelegate
Proxy class to catch calls to set blocks.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.block.data.BlockData
getBlockData
(int x, int y, int z) int
boolean
isEmpty
(int x, int y, int z) boolean
setBlockData
(int x, int y, int z, org.bukkit.block.data.BlockData blockData)
-
Constructor Details
-
EditSessionBlockChangeDelegate
public EditSessionBlockChangeDelegate(com.sk89q.worldedit.EditSession editSession)
-
-
Method Details
-
setBlockData
public boolean setBlockData(int x, int y, int z, org.bukkit.block.data.BlockData blockData) - Specified by:
setBlockData
in interfaceorg.bukkit.BlockChangeDelegate
-
getBlockData
public org.bukkit.block.data.BlockData getBlockData(int x, int y, int z) - Specified by:
getBlockData
in interfaceorg.bukkit.BlockChangeDelegate
-
getHeight
public int getHeight()- Specified by:
getHeight
in interfaceorg.bukkit.BlockChangeDelegate
-
isEmpty
public boolean isEmpty(int x, int y, int z) - Specified by:
isEmpty
in interfaceorg.bukkit.BlockChangeDelegate
-