类 TagConventionLogWarning
java.lang.Object
net.neoforged.neoforge.common.TagConventionLogWarning
-
嵌套类概要
嵌套类 -
字段概要
字段修饰符和类型字段说明Old `forge` tags that we migrated to a new tag under a new convention.private static final org.apache.logging.log4j.Logger
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明private static <T> AbstractMap.SimpleEntry
<TagKey<T>, String> createForgeMapEntry
(ResourceKey<Registry<T>> registryKey, String tagId1, String tagId2) private static <T,
R> AbstractMap.SimpleEntry <TagKey<T>, String> createForgeMapEntry
(ResourceKey<Registry<T>> registryKey, String tagId1, TagKey<R> tag2) private static <T,
R> AbstractMap.SimpleEntry <TagKey<T>, String> createMapEntry
(ResourceKey<Registry<T>> registryKey, String tagNamespace1, String tagId1, TagKey<R> tag2) private static <T,
R> AbstractMap.SimpleEntry <TagKey<T>, String> createMapEntry
(ResourceKey<Registry<T>> registryKey, String tagNamespace1, String tagId1, TagKey<R>... replacementTags) private static <T> TagKey
<T> createTagKey
(ResourceKey<Registry<T>> registryKey, String namespace, String tagId) (专用程序包) static void
init()
private static void
setupLegacyTagWarning
(net.neoforged.bus.api.IEventBus forgeBus)
-
字段详细资料
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
LEGACY_FORGE_TAGS
Old `forge` tags that we migrated to a new tag under a new convention. May also contain commonly used `forge` tags that are not following convention.
-
-
构造器详细资料
-
TagConventionLogWarning
private TagConventionLogWarning()
-
-
方法详细资料
-
init
static void init() -
setupLegacyTagWarning
private static void setupLegacyTagWarning(net.neoforged.bus.api.IEventBus forgeBus) -
createForgeMapEntry
private static <T> AbstractMap.SimpleEntry<TagKey<T>,String> createForgeMapEntry(ResourceKey<Registry<T>> registryKey, String tagId1, String tagId2) -
createForgeMapEntry
private static <T,R> AbstractMap.SimpleEntry<TagKey<T>,String> createForgeMapEntry(ResourceKey<Registry<T>> registryKey, String tagId1, TagKey<R> tag2) -
createMapEntry
private static <T,R> AbstractMap.SimpleEntry<TagKey<T>,String> createMapEntry(ResourceKey<Registry<T>> registryKey, String tagNamespace1, String tagId1, TagKey<R> tag2) -
createMapEntry
private static <T,R> AbstractMap.SimpleEntry<TagKey<T>,String> createMapEntry(ResourceKey<Registry<T>> registryKey, String tagNamespace1, String tagId1, TagKey<R>... replacementTags) -
createTagKey
private static <T> TagKey<T> createTagKey(ResourceKey<Registry<T>> registryKey, String namespace, String tagId)
-