@SuppressWarnings("RedundantIfStatement")
        @Override
        public boolean equals(Object o) {
            if (this == o) return true;
            if (o == null || getClass() != o.getClass()) return false;

            Record record = (Record) o;

            if (x != record.x) return false;
            if (y != record.y) return false;
            if (z != record.z) return false;
            if (!className.equals(record.className)) return false;
            if (!world.equals(record.world)) return false;

            return true;
        }