Class GenericPonderSceneRegistrationHelper<T>
java.lang.Object
net.createmod.ponder.foundation.registration.GenericPonderSceneRegistrationHelper<T>
- All Implemented Interfaces:
PonderSceneRegistrationHelper<T>
public class GenericPonderSceneRegistrationHelper<T>
extends Object
implements PonderSceneRegistrationHelper<T>
-
Constructor Summary
ConstructorsConstructorDescriptionGenericPonderSceneRegistrationHelper(PonderSceneRegistrationHelper<net.minecraft.resources.ResourceLocation> helperDelegate, Function<T, net.minecraft.resources.ResourceLocation> keyGen) -
Method Summary
Modifier and TypeMethodDescriptionaddStoryBoard(T component, String schematicPath, PonderStoryBoard storyBoard, net.minecraft.resources.ResourceLocation... tags) addStoryBoard(T component, net.minecraft.resources.ResourceLocation schematicLocation, PonderStoryBoard storyBoard, net.minecraft.resources.ResourceLocation... tags) net.minecraft.resources.ResourceLocationasLocation(String path) forComponents(Iterable<T> components) final MultiSceneBuilderforComponents(T... components) withKeyFunction(Function<S, T> keyGen)
-
Constructor Details
-
GenericPonderSceneRegistrationHelper
public GenericPonderSceneRegistrationHelper(PonderSceneRegistrationHelper<net.minecraft.resources.ResourceLocation> helperDelegate, Function<T, net.minecraft.resources.ResourceLocation> keyGen)
-
-
Method Details
-
withKeyFunction
- Specified by:
withKeyFunctionin interfacePonderSceneRegistrationHelper<T>
-
addStoryBoard
public PonderStoryBoardEntry addStoryBoard(T component, net.minecraft.resources.ResourceLocation schematicLocation, PonderStoryBoard storyBoard, net.minecraft.resources.ResourceLocation... tags) - Specified by:
addStoryBoardin interfacePonderSceneRegistrationHelper<T>
-
addStoryBoard
public PonderStoryBoardEntry addStoryBoard(T component, String schematicPath, PonderStoryBoard storyBoard, net.minecraft.resources.ResourceLocation... tags) - Specified by:
addStoryBoardin interfacePonderSceneRegistrationHelper<T>
-
forComponents
- Specified by:
forComponentsin interfacePonderSceneRegistrationHelper<T>
-
forComponents
- Specified by:
forComponentsin interfacePonderSceneRegistrationHelper<T>
-
asLocation
- Specified by:
asLocationin interfacePonderSceneRegistrationHelper<T>
-