MCPcopy Create free account
hub / github.com/DGVPSH/SlackOpen / equals

Method equals

src/main/java/net/minecraft/util/Vec3i.java:31–46  ·  view source on GitHub ↗
(Object p_equals_1_)

Source from the content-addressed store, hash-verified

29 }
30
31 public boolean equals(Object p_equals_1_)
32 {
33 if (this == p_equals_1_)
34 {
35 return true;
36 }
37 else if (!(p_equals_1_ instanceof Vec3i))
38 {
39 return false;
40 }
41 else
42 {
43 Vec3i vec3i = (Vec3i)p_equals_1_;
44 return this.getX() != vec3i.getX() ? false : (this.getY() != vec3i.getY() ? false : this.getZ() == vec3i.getZ());
45 }
46 }
47
48 public int hashCode()
49 {

Callers 15

dispenseStackMethod · 0.45
areItemStackTagsEqualMethod · 0.45
isItemStackEqualMethod · 0.45
positionInListMethod · 0.45
getPatternByIDMethod · 0.45
getEntityNameToSpawnMethod · 0.45
updateSegmentColorsMethod · 0.45
updateMethod · 0.45
canBrewMethod · 0.45
brewPotionsMethod · 0.45
getItemBurnTimeMethod · 0.45

Calls 3

getXMethod · 0.95
getYMethod · 0.95
getZMethod · 0.95

Tested by

no test coverage detected