MCPcopy Create free account
hub / github.com/Frontrooms/3.0-GC / equal2d

Method equal2d

src/main/java/emu/grasscutter/utils/Position.java:137–140  ·  view source on GitHub ↗
(Position other)

Source from the content-addressed store, hash-verified

135 }
136
137 public boolean equal2d(Position other) {
138 // Y is height
139 return getX() == other.getX() && getZ() == other.getZ();
140 }
141
142 public boolean equal3d(Position other) {
143 return getX() == other.getX() && getY() == other.getY() && getZ() == other.getZ();

Callers

nothing calls this directly

Calls 2

getXMethod · 0.95
getZMethod · 0.95

Tested by

no test coverage detected