Class ItemStackHarnessRegistry

java.lang.Object
com.hrznstudio.titanium.itemstack.ItemStackHarnessRegistry

public class ItemStackHarnessRegistry extends Object
  • Constructor Details

    • ItemStackHarnessRegistry

      public ItemStackHarnessRegistry()
  • Method Details

    • register

      public static void register​(net.minecraft.world.item.Item item, Function<net.minecraft.world.item.ItemStack,​ItemStackHarness> harnessCreator)
    • getHarnessCreators

      public static Map<net.minecraft.world.item.Item,​Function<net.minecraft.world.item.ItemStack,​ItemStackHarness>> getHarnessCreators()
    • createItemStackHarness

      public static Optional<ItemStackHarness> createItemStackHarness​(net.minecraft.world.item.ItemStack itemStack)
    • getInstance

      public static ItemStackHarnessRegistry getInstance()