MCPcopy Index your code
hub / github.com/PaperMC/Paper / serialize

Method serialize

paper-api/src/main/java/org/bukkit/util/Vector.java:987–997  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

985 }
986
987 @Override
988 @NotNull
989 public Map<String, Object> serialize() {
990 Map<String, Object> result = new LinkedHashMap<String, Object>();
991
992 result.put("x", getX());
993 result.put("y", getY());
994 result.put("z", getZ());
995
996 return result;
997 }
998
999 @NotNull
1000 public static Vector deserialize(@NotNull Map<String, Object> args) {

Callers

nothing calls this directly

Calls 4

getXMethod · 0.95
getYMethod · 0.95
getZMethod · 0.95
putMethod · 0.65

Tested by

no test coverage detected