[Changes] Added overloaded equal
-Methods for BCLBiome
This commit is contained in:
parent
6a0749f8ce
commit
093f3465fb
1 changed files with 13 additions and 0 deletions
|
@ -409,6 +409,19 @@ public class BCLBiome implements BiomeData {
|
|||
return biomeID.equals(biome.biomeID);
|
||||
}
|
||||
|
||||
public boolean equals(ResourceKey<Biome> key) {
|
||||
return is(key);
|
||||
}
|
||||
|
||||
public boolean equals(ResourceLocation loc) {
|
||||
return is(loc);
|
||||
}
|
||||
|
||||
public boolean equals(BCLBiome biome) {
|
||||
return is(biome);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean equals(Object obj) {
|
||||
if (obj == this) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue