mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-19 02:36:59 +00:00
BP Hash
This commit is contained in:
parent
a942ea6ee2
commit
73e975cfa1
@ -2,6 +2,8 @@ package com.volmit.iris.util;
|
|||||||
|
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
|
|
||||||
|
import java.util.Objects;
|
||||||
|
|
||||||
@Data
|
@Data
|
||||||
public class BlockPosition
|
public class BlockPosition
|
||||||
{
|
{
|
||||||
@ -16,6 +18,11 @@ public class BlockPosition
|
|||||||
this.z = z;
|
this.z = z;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public int hashCode() {
|
||||||
|
return Objects.hash(x, y, z);
|
||||||
|
}
|
||||||
|
|
||||||
public boolean equals(Object o)
|
public boolean equals(Object o)
|
||||||
{
|
{
|
||||||
if(o == null)
|
if(o == null)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user