From 1c80950a70a78827fb0406d093ab12351ed67edd Mon Sep 17 00:00:00 2001 From: Brady Date: Fri, 9 Nov 2018 22:32:21 -0600 Subject: [PATCH] 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. --- src/launch/java/baritone/launch/mixins/MixinBlockPos.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/launch/java/baritone/launch/mixins/MixinBlockPos.java b/src/launch/java/baritone/launch/mixins/MixinBlockPos.java index 013980a9..b0aa75ba 100644 --- a/src/launch/java/baritone/launch/mixins/MixinBlockPos.java +++ b/src/launch/java/baritone/launch/mixins/MixinBlockPos.java @@ -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() {