Converted Default Structures

This commit is contained in:
Frank 2022-05-31 16:24:50 +02:00
parent 38f337cd15
commit aede1b6f2b
5 changed files with 136 additions and 176 deletions

View file

@ -65,6 +65,10 @@ public class TagAPI {
return BIOMES.makeTag(new ResourceLocation(modID, name));
}
public static TagKey<Biome> makeStructureTag(String modID, String name) {
return TagAPI.makeBiomeTag(modID, "has_structure/" + name);
}
/**
* Get or create {@link Block} {@link TagKey} with mod namespace.