diff --git a/src/main/java/org/auioc/mcmod/arnicalib/game/tag/TagCreator.java b/src/main/java/org/auioc/mcmod/arnicalib/game/tag/TagCreator.java index 363f145..e8408e0 100644 --- a/src/main/java/org/auioc/mcmod/arnicalib/game/tag/TagCreator.java +++ b/src/main/java/org/auioc/mcmod/arnicalib/game/tag/TagCreator.java @@ -43,14 +43,18 @@ import net.minecraft.world.level.block.entity.BlockEntityType; import net.minecraft.world.level.dimension.DimensionType; import net.minecraft.world.level.gameevent.GameEvent; +import net.minecraft.world.level.levelgen.structure.Structure; import net.minecraft.world.level.material.Fluid; public class TagCreator { + // TODO instance + public static TagKey tag(ResourceKey> registryKey, ResourceLocation tag) { return TagKey.create(registryKey, tag); } + // ============================================================================================================== // public static TagKey attribute(ResourceLocation tag) { return tag(Registries.ATTRIBUTE, tag); @@ -136,4 +140,8 @@ public static TagKey villagerType(ResourceLocation tag) { return tag(Registries.VILLAGER_TYPE, tag); } + public static TagKey structure(ResourceLocation tag) { + return tag(Registries.STRUCTURE, tag); + } + }