Class MenuHostContext


public final class MenuHostContext extends HandledScreenContext
Handled-screen snapshot specialized for virtual menu sessions.
  • Constructor Details

    • MenuHostContext

      public MenuHostContext(net.minecraft.client.Minecraft client, net.minecraft.client.gui.screens.inventory.AbstractContainerScreen<?> screen, net.minecraft.world.inventory.AbstractContainerMenu handler, net.minecraft.world.inventory.MenuType<?> handlerType, int syncId, int revision, net.minecraft.network.chat.Component title, String plainTitle, ScreenBounds hostBounds, ScreenBounds handledBounds, net.minecraft.world.inventory.Slot focusedSlot, net.minecraft.world.item.ItemStack cursorStack, List<net.minecraft.world.inventory.Slot> slots)
  • Method Details

    • stateSignature

      public String stateSignature()