Class HTItemMenuType

  • All Implemented Interfaces:
    net.minecraft.world.flag.FeatureElement , net.neoforged.neoforge.common.extensions.IMenuTypeExtension

    
    public final class HTItemMenuType<MENU extends AbstractContainerMenu>
    extends HTMenuType<MENU, HTItemContainerFactory<MENU>>
                        

    アイテムを受け取るHTMenuTypeの拡張クラスです。

    Since:

    0.4.0

    Author:

    Hiiragi Tsubasa

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final MenuConstructor create(InteractionHand hand, ItemStack stack) 指定されたhandstackからMenuConstructorのインスタンスを作成します。
      • Methods inherited from class net.minecraft.world.inventory.MenuType

        create
      • Methods inherited from class net.neoforged.neoforge.common.extensions.IMenuTypeExtension

        create
      • Methods inherited from class net.minecraft.world.flag.FeatureElement

        isEnabled, requiredFeatures
      • Methods inherited from class java.lang.Object

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

      • create

         final MenuConstructor create(InteractionHand hand, ItemStack stack)

        指定されたhandstackからMenuConstructorのインスタンスを作成します。

        Returns:

        ItemStack.isEmptyの場合はnull