1 package org.bukkit.util;
4 import org.bukkit.configuration.serialization.SerializableAs;
12 @SerializableAs(
"BlockVector")
85 BlockVector other = (BlockVector) obj;
87 return (
int) other.
getX() == (int) this.x && (
int) other.
getY() == (int) this.y && (
int) other.
getZ() == (int) this.z;
98 return (Integer.valueOf((
int) x).hashCode() >> 13) ^ (Integer.valueOf((
int) y).hashCode() >> 7) ^ Integer.valueOf((
int) z).hashCode();
116 if (args.containsKey(
"x")) {
117 x = (Double) args.get(
"x");
119 if (args.containsKey(
"y")) {
120 y = (Double) args.get(
"y");
122 if (args.containsKey(
"z")) {
123 z = (Double) args.get(
"z");