mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-16 18:45:09 +00:00
1.18.x Port BiomeDictionary over to biome tags (#8564)
This commit is contained in:
1 parent
4008057803
commit
d4c8708229
41 files changed
+629
No files matched your search
@@ -13,6 +13,7 @@ import java.util.stream.StreamSupport;
|
||||
import javax.annotation.Nonnull;
|
||||
import javax.annotation.Nullable;
|
||||
|
||||
import net.minecraftforge.event.world.BiomeLoadingEvent;
|
||||
import org.apache.logging.log4j.LogManager;
|
||||
import org.apache.logging.log4j.Logger;
|
||||
|
||||
@@ -26,6 +27,11 @@ import com.google.common.collect.ImmutableList;
|
||||
|
||||
import net.minecraft.world.level.biome.Biome;
|
||||
|
||||
/**
|
||||
* Use {@link Tags.Biomes} when possible.
|
||||
* Note that tags are not usable yet during {@link BiomeLoadingEvent} so BiomeDictionary are still necessary there
|
||||
*/
|
||||
@Deprecated
|
||||
public class BiomeDictionary
|
||||
{
|
||||
private static final boolean DEBUG = false;
|
||||
|
||||
Reference in new issue
Block a user