-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Some optimization to structures biome checking
- Loading branch information
1 parent
d7c4497
commit aa75cd3
Showing
18 changed files
with
183 additions
and
161 deletions.
There are no files selected for viewing
28 changes: 15 additions & 13 deletions
28
src/main/java/com/teammetallurgy/atum/init/AtumBiomes.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
src/main/java/com/teammetallurgy/atum/world/biome/BiomeRegion.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
package com.teammetallurgy.atum.world.biome; | ||
|
||
import net.minecraft.util.IStringSerializable; | ||
|
||
import javax.annotation.Nonnull; | ||
|
||
public enum BiomeRegion implements IStringSerializable { | ||
STRANGE_SANDS("strange_sands"), | ||
LIMESTONE_PEAKS("limestone_peaks"), | ||
DESSICATED_WOODS("dessicated_woods"), | ||
SCORCHED_CHASMS("scorched_chasms"), | ||
SUNSCARRED_CLAIM("sunscarred_claim"), | ||
ABYSSAL_REACHES("abyssal_reaches"); | ||
|
||
private final String name; | ||
|
||
BiomeRegion(String name) { | ||
this.name = name; | ||
} | ||
|
||
@Override | ||
@Nonnull | ||
public String getString() { | ||
return this.name; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.