Class UMenuType<T extends net.minecraft.world.inventory.AbstractContainerMenu>

java.lang.Object
net.minecraft.world.inventory.MenuType<T>
info.u_team.u_team_core.menutype.UMenuType<T>
All Implemented Interfaces:
net.minecraft.world.flag.FeatureElement

public class UMenuType<T extends net.minecraft.world.inventory.AbstractContainerMenu> extends net.minecraft.world.inventory.MenuType<T>
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static interface 
    UMenuType.DataMenuSupplier<T extends net.minecraft.world.inventory.AbstractContainerMenu>
     

    Nested classes/interfaces inherited from class net.minecraft.world.inventory.MenuType

    net.minecraft.world.inventory.MenuType.MenuSupplier<T extends net.minecraft.world.inventory.AbstractContainerMenu>
  • Field Summary

    Fields inherited from class net.minecraft.world.inventory.MenuType

    ANVIL, BEACON, BLAST_FURNACE, BREWING_STAND, CARTOGRAPHY_TABLE, constructor, CRAFTING, ENCHANTMENT, FURNACE, GENERIC_3x3, GENERIC_9x1, GENERIC_9x2, GENERIC_9x3, GENERIC_9x4, GENERIC_9x5, GENERIC_9x6, GRINDSTONE, HOPPER, LECTERN, LOOM, MERCHANT, SHULKER_BOX, SMITHING, SMOKER, STONECUTTER

    Fields inherited from interface net.minecraft.world.flag.FeatureElement

    FILTERED_REGISTRIES
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    UMenuType(net.minecraft.world.inventory.MenuType.MenuSupplier<T> menuSupplier)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    createWithExtraData(int containerId, net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.network.FriendlyByteBuf buffer)
     

    Methods inherited from class net.minecraft.world.inventory.MenuType

    create, requiredFeatures

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraft.world.flag.FeatureElement

    isEnabled
  • Constructor Details

    • UMenuType

      public UMenuType(UMenuType.DataMenuSupplier<T> menuSupplier)
    • UMenuType

      public UMenuType(net.minecraft.world.inventory.MenuType.MenuSupplier<T> menuSupplier)
  • Method Details

    • createWithExtraData

      public T createWithExtraData(int containerId, net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.network.FriendlyByteBuf buffer)