RegenBlock beta 5.4
Details
-
FilenameRegenBlock.jar
-
Uploaded by
-
UploadedFeb 18, 2013
-
Size89.46 KB
-
Downloads507
-
MD5f89d486e5c12809b86957c66414ad906
Supported Bukkit Versions
- CB 1.4.7-R1.0
Changelog
Updated API a bit. Method to restore a block is available right at the RegenBlock main class level.
rb.regenBlock(location, material, data, player, true) - For BlockBreakEvent simulation rb.regenBlock(location, Material.AIR, (byte) 0, player, false) - For BlockPlaceEvent simulation (can pass anything for block type if needed) public void regenBlock(Location location, Material material, byte data, Player player, Boolean isBreakEvent) location - block's location material - what material block should be set to once restored data - data value for the restored block player - player that broke/placed the block isBreakEvent - test if this is a BlockBreak of BlockPlace event.