Please report any problems via the Issue tracker or the discussion and DO NOT report them by rating the plugin.
This plugin can modify, which blocks can be seen by each Minecraft version.
For example, Minecraft had pistons with a surrounding texture before 1.8
but the texture is no longer rendered like this for 1.8 clients.
This plugin allows you to simply replace these pistons with another block for all 1.8 clients:
Depends on PacketListenerAPI
- /alternate [from id:data] [to id] [versions] - registers a specific from block id with optional data to be replaced with the to id on the specified versions (separatedby comma)
All replacements are saved in the /plugins/AlternativeBlocks/replacements.json File.
This configuration will replace all full-texture pistons (with ID 33:6) (mentioned above) with sea lantern blocks (ID 169). Only players in version 1.8 and with the permission my.plugin.see.block will see the changes.Code (json (Unknown Language)):
This plugin also comes with an integrated API to replace blocks in your own plugins
AlternativeBlocks.addReplacement(int fromId, short fromData, int toId, List<String> versions);
Please leave a rating if you like this resource.
Donations to support me or this resource are also very much appreciated.
AlternateBlocks [Integrated API] [1.7 + 1.8] 1.6.3
Control which blocks are visible to certain players