Class ItemStackHarnessRegistry
java.lang.Object
com.hrznstudio.titanium.itemstack.ItemStackHarnessRegistry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Optional<ItemStackHarness>createItemStackHarness(net.minecraft.world.item.ItemStack itemStack) static Map<Supplier<net.minecraft.world.item.Item>,Function<net.minecraft.world.item.ItemStack, ItemStackHarness>> static ItemStackHarnessRegistrystatic voidregister(Supplier<net.minecraft.world.item.Item> item, Function<net.minecraft.world.item.ItemStack, ItemStackHarness> harnessCreator)
-
Constructor Details
-
ItemStackHarnessRegistry
public ItemStackHarnessRegistry()
-
-
Method Details
-
register
public static void register(Supplier<net.minecraft.world.item.Item> item, Function<net.minecraft.world.item.ItemStack, ItemStackHarness> harnessCreator) -
getHarnessCreators
public static Map<Supplier<net.minecraft.world.item.Item>,Function<net.minecraft.world.item.ItemStack, getHarnessCreators()ItemStackHarness>> -
createItemStackHarness
public static Optional<ItemStackHarness> createItemStackHarness(net.minecraft.world.item.ItemStack itemStack) -
getInstance
-