public final class BetterBlockPos
A better BlockPos that has fewer hash collisions (and slightly more performant offsets)
Is it really faster to subclass BlockPos and calculate a hash in the constructor like this, taking everything into account?
Yes. 20% faster actually. It's called BETTER BlockPos for a reason. Source:
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.util.math.BlockPos