Class DefaultPonderTagRegistrationHelper
java.lang.Object
net.createmod.ponder.foundation.registration.DefaultPonderTagRegistrationHelper
- All Implemented Interfaces:
PonderTagRegistrationHelper<net.minecraft.resources.ResourceLocation>
public class DefaultPonderTagRegistrationHelper
extends Object
implements PonderTagRegistrationHelper<net.minecraft.resources.ResourceLocation>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected PonderLocalizationprotected Stringprotected PonderTagRegistry -
Constructor Summary
ConstructorsConstructorDescriptionDefaultPonderTagRegistrationHelper(String namespace, PonderTagRegistry tagRegistry, PonderLocalization localization) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTagToComponent(net.minecraft.resources.ResourceLocation component, PonderTag tag) addToComponent(net.minecraft.resources.ResourceLocation component) addToComponent(net.minecraft.resources.ResourceLocation... components) MultiTagBuilder.Tag<net.minecraft.resources.ResourceLocation>MultiTagBuilder.Tag<net.minecraft.resources.ResourceLocation>PonderTagRegistrationHelper<net.minecraft.resources.ResourceLocation>registerTag(PonderTag tag, boolean listTagInIndexScreens) <T> PonderTagRegistrationHelper<T>withKeyFunction(Function<T, net.minecraft.resources.ResourceLocation> keyGen) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.createmod.ponder.foundation.api.registration.PonderTagRegistrationHelper
registerTag
-
Field Details
-
namespace
-
tagRegistry
-
localization
-
-
Constructor Details
-
DefaultPonderTagRegistrationHelper
public DefaultPonderTagRegistrationHelper(String namespace, PonderTagRegistry tagRegistry, PonderLocalization localization)
-
-
Method Details
-
withKeyFunction
public <T> PonderTagRegistrationHelper<T> withKeyFunction(Function<T, net.minecraft.resources.ResourceLocation> keyGen) - Specified by:
withKeyFunctionin interfacePonderTagRegistrationHelper<net.minecraft.resources.ResourceLocation>
-
registerTag
public PonderTagRegistrationHelper<net.minecraft.resources.ResourceLocation> registerTag(PonderTag tag, boolean listTagInIndexScreens) - Specified by:
registerTagin interfacePonderTagRegistrationHelper<net.minecraft.resources.ResourceLocation>
-
addTagToComponent
- Specified by:
addTagToComponentin interfacePonderTagRegistrationHelper<net.minecraft.resources.ResourceLocation>
-
addToTag
- Specified by:
addToTagin interfacePonderTagRegistrationHelper<net.minecraft.resources.ResourceLocation>
-
addToTag
- Specified by:
addToTagin interfacePonderTagRegistrationHelper<net.minecraft.resources.ResourceLocation>
-
addToComponent
- Specified by:
addToComponentin interfacePonderTagRegistrationHelper<net.minecraft.resources.ResourceLocation>
-
addToComponent
public MultiTagBuilder.Component addToComponent(net.minecraft.resources.ResourceLocation... components) - Specified by:
addToComponentin interfacePonderTagRegistrationHelper<net.minecraft.resources.ResourceLocation>
-