Skip to content

Commit c0e87f2

Browse files
committed
Clarify BlockVector functionality
1 parent e8bb40f commit c0e87f2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/main/java/org/bukkit/util/BlockVector.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@
44
import org.bukkit.configuration.serialization.SerializableAs;
55

66
/**
7-
* A vector with a hash function that floors the X, Y, Z components, a la
8-
* BlockVector in WorldEdit. BlockVectors can be used in hash sets and
9-
* hash maps. Be aware that BlockVectors are mutable, but it is important
7+
* A vector with a hash function that floors the X, Y, Z components, such that
8+
* each component is always equal to a the integer coordinate of the
9+
* respective block at that location. BlockVectors can be used in hash sets
10+
* and hash maps. Be aware that BlockVectors are mutable, but it is important
1011
* that BlockVectors are never changed once put into a hash set or hash map.
1112
*/
1213
@SerializableAs("BlockVector")

0 commit comments

Comments
 (0)