- Fixed EnchantmentTable boosting on Minecraft 1.11 to 1.12.2 - Disabled EnchantmentTable boosting on versions older than 1.11 as it is unsupported - Balanced the EnchantmentTable boosting feature - Fixed Droppers failing when there is only one item inside
- Added Enchantment Table boosting feature! - Fill up all your bookshelves around an enchantment table with enchanted books for a higher chance of getting that enchantment
- For example, if every slot of all bookshelf is Sharpness 5 books you will be guaranteed a sharpness enchantment
- The is feature can be disabled in the config
- Added creative shift-middle-click block to copy bookshelf with items inside - Added permission bookshelf.copynbt
- Heavily optimized hoppers and droppers support - Separated Hoppers and Droppers options in the config, meaning you can now enable one and not the other - Added an update checker - Added command /bookshelf update - Added permission bookshelf.update which defaults to op
- Added an API - Bookshelves exchanging items with hoppers will now fire InventoryMoveItemEvent
Here is a simple method that opens the inventory of a bookshelf for a player without the player to clicking the bookshelf:
Code (Java):
publicvoid openBookshelForPlayer
(Block bookshelfBlock, Player player
){ //Get the location of the bookshelf Block Location location
= bookshelfBlock.
getLocation(); //Check if the bookshelf is loaded through the API if(BookshelfAPI.
isBookshelfLoaded(location
)){ //Get the inventory of that bookshelf through the API Inventory inventory
= BookshelfAPI.
getBookshelfInventory(location
); //Open the bookshelf player.
openInventory(inventory
); } }
- Bookshelf now uses JSON instead of YAML to store bookshelves data, which is sooooo much more faster! - Upgrade from YAML to JSON should be automatic! Though to be extra safe you can backup your config.yml before booting your server with this version. - Bookshelf now supports hopper minecarts drawing items from underneath! - Added support for BlockLocker!
- Bookshelf now works from in 1.8, 1.9, 1.10, 1.11 and 1.12 as well! (Although the recommended version and guarantee to work version is still, as always, the latest version) - However, particles do not work in versions older or equal to 1.12.2 (I will probably add that back in the future)
- Changed a few lines in the code so that the plugin will now function properly without spamming errors cross all version from 1.13 through 1.15.2
- However, I still only guarantee that the plugin works perfectly and with full features in the latest version of spigot and paper (1.15.2 as of the time this is written)
- Mainly because I am a student and my time is limited, sadly you can't live with just doing what you like, writing plugins
- Older versions are just "supported"
That being said, I have tested the plugin in 1.13 and 1.14.4 and they all worked as intended with this update, with the only difference that some sounds will be missing in 1.13 (and its subversions)
The plugin can now start in 1.13 and 1.14 servers (and their subversions)
However, I only guarantee that it will work in 1.15 (and their subversions), that being said, it should work just fine.
But remember, do your own testing first so nothing goes wrong on your live server. (Tell me that it works in the discussions if it works on your 1.13 / 1.14 server)
- Added support for
WorldGuard regions (Bookshelves are seen just like chests)
- Added support for
GriefPrevention land claims (Bookshelves are seen as containers)
Config Changes: - Remove Hook settings in the config - Hooks will now automatically enable if a supported plugin is installed! - You can either ignore or remove the options under Hook in the config