SimpleRuler
- SimpleRuler -
SimpleRuler is a simple plugin that can calculate the distance in 1D and 3D between two blocks.
SimpleRuler is also capable of calculating volume and showing a block summary between two points.
Commands:
By default, commands are turned on for Ops
The permission for allowing non-ops to use SR is sr.all
It allows the player to use all SR features.
To use SR, two points, A and B, must be set.
/ruler pta - Sets your location as point A
/ruler ptb - Sets your location as point B
/ruler sighta - Sets the block you are looking at as point A
/ruler sightb - Sets the block you are looking at as point B
Once these two point have been set, the following commands will be able to work.
/ruler distance x - Returns the distance AB in X inclusive of AB
/ruler distance y - Returns the distance AB in Y inclusive of AB
/ruler distance z - Returns the distance AB in Z inclusive of AB
Useful for finding the length of 2 points.
Eg. Block A is (1,1,1) Block B is (1,2,1)
/ruler distance y will return 2. It is measured from one end of a block to the opposite end.
/ruler volume - Returns the volume from A to B
Eg. Block A is (1,1,1) Block B is (2,2,2)
Volume will be 8 blocks.
This is useful for determining how many blocks you need to fill up an area.
/ruler directdist - Returns the direct distance AB calculated from the center of A to the center of B in 3D
/ruler blocksumm - Returns a summary of blocks in the region AB
Eg. If there are 4 wool blocks in a 2x2x2 region, it would return [WOOL/4:50%]
Format [NAME/AMOUNT:PERCENTAGE]
If there are multiple block types in a region,
it will list down all the block types, amounts and percentages.
It does not count air.
/ruler id - Returns the block name and id of the block you are looking at.
This is my first plugin that I have submitted so please report any bugs and errors that may occur.
Please also post a log from the console (if there is any).
- SimpleRuler -
-
View User Profile
-
Send Message
Posted Jun 24, 2013@feildmaster
1D can be visualized as a line.
-
View User Profile
-
Send Message
Posted Jan 13, 2012What I meant was something like the difference is 1D. Like if a block was +3 off another block in the X axis. I'll make it clearer.
-
View User Profile
-
Send Message
Posted Jan 13, 2012Just to say, One dimension is a dot.