Translation
This commit is contained in:
parent
d0974ab646
commit
c609f98ec2
4 changed files with 30 additions and 2 deletions
|
@ -1,9 +1,11 @@
|
|||
package ru.betterend.registry;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Optional;
|
||||
|
||||
import com.google.common.collect.Lists;
|
||||
import com.google.common.collect.Maps;
|
||||
|
||||
import net.fabricmc.api.EnvType;
|
||||
|
@ -161,4 +163,11 @@ public class BiomeRegistry {
|
|||
public static EndBiome getBiome(Identifier biomeID) {
|
||||
return ID_MAP.getOrDefault(biomeID, END);
|
||||
}
|
||||
|
||||
public static List<EndBiome> getModBiomes() {
|
||||
List<EndBiome> result = Lists.newArrayList();
|
||||
result.addAll(BiomeRegistry.LAND_BIOMES.getBiomes());
|
||||
result.addAll(BiomeRegistry.VOID_BIOMES.getBiomes());
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue