Class CreativeTabHelper

java.lang.Object
dev.upcraft.sparkweave.api.item.CreativeTabHelper

public class CreativeTabHelper extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static <T extends net.minecraft.world.level.ItemLike>
    void
    addRegistryEntries(net.minecraft.world.item.CreativeModeTab.ItemDisplayParameters displayParameters, net.minecraft.world.item.CreativeModeTab.Output collector, RegistryHandler<T> itemProvider)
     
    static <T extends net.minecraft.world.level.ItemLike>
    void
    addRegistryEntries(net.minecraft.world.item.CreativeModeTab.Output collector, RegistryHandler<T> itemProvider)
    Deprecated, for removal: This API element is subject to removal in a future version.
    static net.minecraft.util.RandomSource
     
    static net.minecraft.world.item.CreativeModeTab.Builder
    Deprecated, for removal: This API element is subject to removal in a future version.
    static net.minecraft.world.item.CreativeModeTab.Builder
    newBuilder(net.minecraft.network.chat.Component title)
     
    static net.minecraft.world.item.CreativeModeTab.Builder
    newBuilder(net.minecraft.resources.ResourceKey<net.minecraft.world.item.CreativeModeTab> id)
     
    static net.minecraft.world.item.CreativeModeTab.Builder
    newBuilder(net.minecraft.resources.ResourceLocation id)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CreativeTabHelper

      public CreativeTabHelper()
  • Method Details

    • addRegistryEntries

      public static <T extends net.minecraft.world.level.ItemLike> void addRegistryEntries(net.minecraft.world.item.CreativeModeTab.ItemDisplayParameters displayParameters, net.minecraft.world.item.CreativeModeTab.Output collector, RegistryHandler<T> itemProvider)
    • getRandom

      public static net.minecraft.util.RandomSource getRandom()
    • addRegistryEntries

      @Deprecated(since="0.105.0", forRemoval=true) public static <T extends net.minecraft.world.level.ItemLike> void addRegistryEntries(net.minecraft.world.item.CreativeModeTab.Output collector, RegistryHandler<T> itemProvider)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • newBuilder

      @Deprecated(forRemoval=true, since="0.502.0-alpha.1") public static net.minecraft.world.item.CreativeModeTab.Builder newBuilder()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • newBuilder

      public static net.minecraft.world.item.CreativeModeTab.Builder newBuilder(net.minecraft.network.chat.Component title)
    • newBuilder

      public static net.minecraft.world.item.CreativeModeTab.Builder newBuilder(net.minecraft.resources.ResourceLocation id)
    • newBuilder

      public static net.minecraft.world.item.CreativeModeTab.Builder newBuilder(net.minecraft.resources.ResourceKey<net.minecraft.world.item.CreativeModeTab> id)