Class GenericPonderTagRegistrationHelper<T>
java.lang.Object
net.createmod.ponder.foundation.registration.GenericPonderTagRegistrationHelper<T>
- All Implemented Interfaces:
PonderTagRegistrationHelper<T>
public class GenericPonderTagRegistrationHelper<T>
extends Object
implements PonderTagRegistrationHelper<T>
-
Constructor Summary
ConstructorsConstructorDescriptionGenericPonderTagRegistrationHelper(PonderTagRegistrationHelper<net.minecraft.resources.ResourceLocation> helperDelegate, Function<T, net.minecraft.resources.ResourceLocation> keyGen) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddTagToComponent(T component, net.minecraft.resources.ResourceLocation tag) addToComponent(T component) addToComponent(T... components) addToTag(net.minecraft.resources.ResourceLocation tag) addToTag(net.minecraft.resources.ResourceLocation... tags) registerTag(String id) registerTag(net.minecraft.resources.ResourceLocation location) <S> PonderTagRegistrationHelper<S> withKeyFunction(Function<S, T> keyGen)
-
Constructor Details
-
GenericPonderTagRegistrationHelper
public GenericPonderTagRegistrationHelper(PonderTagRegistrationHelper<net.minecraft.resources.ResourceLocation> helperDelegate, Function<T, net.minecraft.resources.ResourceLocation> keyGen)
-
-
Method Details
-
withKeyFunction
- Specified by:
withKeyFunctionin interfacePonderTagRegistrationHelper<T>
-
registerTag
- Specified by:
registerTagin interfacePonderTagRegistrationHelper<T>
-
registerTag
- Specified by:
registerTagin interfacePonderTagRegistrationHelper<T>
-
addTagToComponent
- Specified by:
addTagToComponentin interfacePonderTagRegistrationHelper<T>
-
addToTag
- Specified by:
addToTagin interfacePonderTagRegistrationHelper<T>
-
addToTag
- Specified by:
addToTagin interfacePonderTagRegistrationHelper<T>
-
addToComponent
- Specified by:
addToComponentin interfacePonderTagRegistrationHelper<T>
-
addToComponent
- Specified by:
addToComponentin interfacePonderTagRegistrationHelper<T>
-