Earlier Versions
| Name | Size | Uploaded | Game Version | Downloads | |
| MagicTouch v0.7 release | 8.68 KB | May 7, 2014 | CB 1.7.2-R0.3 | 563 | Download |
| MagicTouch v0.6 release | 8.42 KB | Jan 28, 2014 | CB 1.7.2-R0.2 | 272 | Download |
| MagicTouch v0.5 release | 8.34 KB | Apr 27, 2013 | CB 1.5.1-R0.1 | 730 | Download |
| MagicTouch v0.3 release | 8.15 KB | Nov 23, 2012 | CB 1.4.5-R0.2 | 620 | Download |
| MagicTouch.jar release | 8.17 KB | Aug 29, 2012 | CB 1.3.2-R0.1 | 920 | Download |
| MagicTouch.jar release | 6.04 KB | Aug 23, 2012 | CB 1.3.1-R2.0 | 762 | Download |
Description
Description
Do stairs and logs annoy you? Do you have much less hair after 1.3.1 came out, since building with logs is now just so irritating? MagicTouch is a simple plugin which enables you to rotate and flip those annoying blocks with a single click of a magical tool.
How it works
- hold a magical tool (default: workbench) in your hand
- left-click a block -> it rotates 90 degrees clockwise with each click
- shift-left click a block -> if it can, it flips upside down (like stairs, for example)
Clickable blocks
At the moment, these blocks can be flipped/rotated:
- logs (left-clicking cycles through up/down -> east/west -> north/south -> up/down…)
- stairs (left-clicking rotates 90 degrees clockwise, shift-leftclick flips stairs upside down and vice versa)
- pistons (left-clicking cycles through all 6 orientations. This is experimental and may not work perfectly with extended pistons!)
- chests, furnaces, dispensers (left-clicking rotates 90 degrees clockwise)
- slabs (left-clicking flips the slab)
Installing the plugin
Just throw the plugin into the /plugins folder, start your server, modify the config.yml file if needed and restart. That's it!
Configuration
Configuration is pretty much obvious. You can enable/disable handling of different block types, change your magical tool into something else and enable/disable WorldGuard and LogBlock integration.
general: magicaltool: 58 use_worldguard: true use_logblock: true debug: false blocks: logs: true stairs: true pistons: false chests: true slabs: true diodes: false
Note that if you don't have WorldGuard or LogBlock, the corresponding config parameters should be set to "false".
chests = chests, enderchests, dispensers, furnaces.
WorldGuard and LogBlock integration
If configured, the plugin will hook itself into WorldGuard and LogBlock APIs, providing new functionality:
- if WorldGuard integration is enabled, the plugin checks whether you can actually build on the area, and informs you if you cannot
- if LogBlock integration is enabled, LogBlock registers your block rotations. Currently, it reports "block breaking", followed by an "unspecified action" whenever a player rotates a block, since there is no suitable action in LogBlock for modifying block's data directly
Known problems/bugs
- Rotating extended pistons doesn't work yet properly
- Diodes not yet working properly (sometimes they turn 90 degrees, sometimes 180 degrees with a single click)
What next?
- add more blocks
Source code
@GitHub
Get 0.05 TON 💎
Download
Add a comment