Add note to MixinBlockPos

I looked at this Mixin for a second and thought wtf why did I make this and then remembered why, so it's probably important to let anybody else that looks at it know why.
This commit is contained in:
Brady 2018-11-09 22:32:21 -06:00
parent 0bd46e88a5
commit 1c80950a70
No known key found for this signature in database
GPG Key ID: 73A788379A197567
1 changed files with 6 additions and 0 deletions

View File

@ -35,6 +35,12 @@ public class MixinBlockPos extends Vec3i {
super(xIn, yIn, zIn);
}
/**
* The purpose of this was to ensure a friendly name for when we print raw
* block positions to chat in the context of an obfuscated environment.
*
* @return a string representation of the object.
*/
@Override
@Nonnull
public String toString() {