Class BedrockCreativeCatalog

java.lang.Object
com.viaversion.viafabricplus.bedrock.creative.BedrockCreativeCatalog

public final class BedrockCreativeCatalog extends Object
  • Method Summary

    Modifier and Type
    Method
    Description
    static @Nullable net.raphimc.viabedrock.protocol.model.CreativeCatalog
     
    static List<net.raphimc.viabedrock.protocol.model.CreativeCatalog.Entry>
    entriesForDisplay(net.raphimc.viabedrock.protocol.model.CreativeCatalog catalog, int javaItemId)
    Use the native group icon as the anchor in Java's more detailed creative tabs.
    static net.minecraft.world.item.ItemStack
    toNative(com.viaversion.viaversion.api.minecraft.item.Item item, net.minecraft.core.RegistryAccess registries)
     
    static net.minecraft.world.item.ItemStack
    toNative(net.raphimc.viabedrock.protocol.model.CreativeCatalog.Entry entry)
     

    Methods inherited from class Object

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

    • current

      @Nullable public static @Nullable net.raphimc.viabedrock.protocol.model.CreativeCatalog current()
    • entriesForDisplay

      public static List<net.raphimc.viabedrock.protocol.model.CreativeCatalog.Entry> entriesForDisplay(net.raphimc.viabedrock.protocol.model.CreativeCatalog catalog, int javaItemId)
      Use the native group icon as the anchor in Java's more detailed creative tabs.
    • toNative

      public static net.minecraft.world.item.ItemStack toNative(net.raphimc.viabedrock.protocol.model.CreativeCatalog.Entry entry)
    • toNative

      public static net.minecraft.world.item.ItemStack toNative(com.viaversion.viaversion.api.minecraft.item.Item item, net.minecraft.core.RegistryAccess registries)