Package redempt.redlib.dev
Class StructureTool
java.lang.Object
redempt.redlib.dev.StructureTool
- All Implemented Interfaces:
org.bukkit.event.Listener
-
Method Summary
Modifier and TypeMethodDescriptionvoid
build
(org.bukkit.entity.Player player, int rotation, boolean mirror) void
createStructure
(org.bukkit.entity.Player player, String name) static StructureTool
enable()
void
static org.bukkit.inventory.ItemStack
getTool()
void
giveWand
(org.bukkit.entity.Player player) void
importStructure
(org.bukkit.entity.Player player, String filename) void
onInteract
(org.bukkit.event.player.PlayerInteractEvent e) void
skip
(org.bukkit.entity.Player player, org.bukkit.Material type)
-
Method Details
-
getTool
public static org.bukkit.inventory.ItemStack getTool() -
enable
-
onInteract
public void onInteract(org.bukkit.event.player.PlayerInteractEvent e) -
giveWand
public void giveWand(org.bukkit.entity.Player player) -
createStructure
-
skip
public void skip(org.bukkit.entity.Player player, org.bukkit.Material type) -
export
-
importStructure
- Throws:
IOException
-
build
public void build(org.bukkit.entity.Player player, int rotation, boolean mirror)
-