mirror of
https://github.com/BentoBoxWorld/Boxed.git
synced 2025-02-19 01:41:30 +01:00
Made fields local
This commit is contained in:
parent
3e6ba039f4
commit
1c55fea7d5
@ -36,11 +36,6 @@ abstract class AbstractBoxedBiomeGenerator implements BiomeGenerator {
|
|||||||
ENV_MAP = Collections.unmodifiableMap(e);
|
ENV_MAP = Collections.unmodifiableMap(e);
|
||||||
}
|
}
|
||||||
|
|
||||||
private final SortedMap<Double, Biome> northEast;
|
|
||||||
private final SortedMap<Double, Biome> southEast;
|
|
||||||
private final SortedMap<Double, Biome> northWest;
|
|
||||||
private final SortedMap<Double, Biome> southWest;
|
|
||||||
|
|
||||||
protected final Map<BlockFace, SortedMap<Double, Biome>> quadrants;
|
protected final Map<BlockFace, SortedMap<Double, Biome>> quadrants;
|
||||||
|
|
||||||
private final Boxed addon;
|
private final Boxed addon;
|
||||||
@ -62,10 +57,10 @@ abstract class AbstractBoxedBiomeGenerator implements BiomeGenerator {
|
|||||||
addon.saveResource("biomes.yml", true);
|
addon.saveResource("biomes.yml", true);
|
||||||
}
|
}
|
||||||
YamlConfiguration config = YamlConfiguration.loadConfiguration(biomeFile);
|
YamlConfiguration config = YamlConfiguration.loadConfiguration(biomeFile);
|
||||||
northEast = loadQuad(config, ENV_MAP.get(env) + ".north-east");
|
SortedMap<Double, Biome> northEast = loadQuad(config, ENV_MAP.get(env) + ".north-east");
|
||||||
southEast = loadQuad(config, ENV_MAP.get(env) + ".south-east");
|
SortedMap<Double, Biome> southEast = loadQuad(config, ENV_MAP.get(env) + ".south-east");
|
||||||
northWest = loadQuad(config, ENV_MAP.get(env) + ".north-west");
|
SortedMap<Double, Biome> northWest = loadQuad(config, ENV_MAP.get(env) + ".north-west");
|
||||||
southWest = loadQuad(config, ENV_MAP.get(env) + ".south-west");
|
SortedMap<Double, Biome> southWest = loadQuad(config, ENV_MAP.get(env) + ".south-west");
|
||||||
|
|
||||||
quadrants = new EnumMap<>(BlockFace.class);
|
quadrants = new EnumMap<>(BlockFace.class);
|
||||||
quadrants.put(BlockFace.NORTH_EAST, northEast);
|
quadrants.put(BlockFace.NORTH_EAST, northEast);
|
||||||
|
Loading…
Reference in New Issue
Block a user