Package redempt.redlib.dev
Class StructureTool
java.lang.Object
redempt.redlib.dev.StructureTool
- All Implemented Interfaces:
org.bukkit.event.Listener
-
Method Summary
Modifier and TypeMethodDescriptionvoidbuild(org.bukkit.entity.Player player, int rotation, boolean mirror) voidcreateStructure(org.bukkit.entity.Player player, String name) static StructureToolenable()voidstatic org.bukkit.inventory.ItemStackgetTool()voidgiveWand(org.bukkit.entity.Player player) voidimportStructure(org.bukkit.entity.Player player, String filename) voidonInteract(org.bukkit.event.player.PlayerInteractEvent e) voidskip(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)
-