mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-07-18 10:12:53 +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 java.util.Objects;
|
||||
|
||||
@Data
|
||||
public class BlockPosition
|
||||
{
|
||||
@ -16,6 +18,11 @@ public class BlockPosition
|
||||
this.z = z;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return Objects.hash(x, y, z);
|
||||
}
|
||||
|
||||
public boolean equals(Object o)
|
||||
{
|
||||
if(o == null)
|
||||
|
Loading…
x
Reference in New Issue
Block a user