Class HTDeferredMenuType.WithContext

  • All Implemented Interfaces:
    hiiragi283.lib.resource.HTIdLike , hiiragi283.lib.resource.SupplierWithId , java.util.function.Supplier , java.util.function.Supplier , net.minecraft.core.Holder , net.neoforged.neoforge.common.extensions.IHolderExtension , net.neoforged.neoforge.registries.datamaps.IWithData

    
    public final class HTDeferredMenuType.WithContext<MENU extends AbstractContainerMenu, C extends Object>
    extends HTDeferredMenuType<MENU, HTMenuTypeWithContext<MENU, C>>
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getNamespace()
      String getPath()
      final MenuProvider getProvider(Component title, Object context)
      final InteractionResult openMenu(Player player, Component title, Object context, Function1<RegistryFriendlyByteBuf, Unit> writer)
      • Methods inherited from class hiiragi283.lib.registry.HTDeferredMenuType.WithContext

        getDelegate, getId, getKey, getRegisteredName, isBound
      • Methods inherited from class hiiragi283.lib.registry.HTDeferredMenuType

        getVanillaProvider
      • Methods inherited from class net.minecraft.core.Holder

        areComponentsBound, canSerializeIn, components, is, is, is, is, is, kind, tags, unwrap, unwrapKey, value
      • Methods inherited from class java.util.function.Supplier

        get
      • Methods inherited from class net.neoforged.neoforge.registries.DeferredHolder

        asOptional, getId
      • Methods inherited from class net.neoforged.neoforge.common.extensions.IHolderExtension

        getDelegate, getKey, unwrapLookup
      • Methods inherited from class net.neoforged.neoforge.registries.datamaps.IWithData

        getData
      • Methods inherited from class java.lang.Object

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

      • HTDeferredMenuType.WithContext

        HTDeferredMenuType.WithContext(ResourceKey<MenuType<?>> key)
      • HTDeferredMenuType.WithContext

        HTDeferredMenuType.WithContext(Identifier id)