mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-28 16:54:04 +00:00
F
This commit is contained in:
1 parent
324cf9e095
commit
a8217b42e9
220 files changed
+10626
-1661
No files matched your search
@@ -591,6 +591,11 @@ public final class StubPlatform implements IrisPlatform {
|
||||
return List.of();
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<String> specialEntityKeys() {
|
||||
return List.of();
|
||||
}
|
||||
|
||||
@Override
|
||||
public List<String> enchantmentKeys() {
|
||||
return List.of();
|
||||
|
||||
@@ -230,11 +230,32 @@ public final class StubTileData extends TileData {
|
||||
return blockKey;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getMaterialKey() {
|
||||
return blockKey;
|
||||
}
|
||||
|
||||
@Override
|
||||
public KMap<String, Object> getProperties() {
|
||||
return tileProperties;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(Object o) {
|
||||
if (this == o) {
|
||||
return true;
|
||||
}
|
||||
if (!(o instanceof StubTileData other)) {
|
||||
return false;
|
||||
}
|
||||
return blockKey.equals(other.blockKey) && Arrays.equals(binary, other.binary);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
return 31 * blockKey.hashCode() + Arrays.hashCode(binary);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void toBinary(DataOutputStream output) throws IOException {
|
||||
output.write(binary);
|
||||
|
||||
Reference in new issue
Block a user