Class MenuHostContext
java.lang.Object
com.render.api.HandledScreenContext
com.render.api.MenuHostContext
Handled-screen snapshot specialized for virtual menu sessions.
-
Constructor Summary
ConstructorsConstructorDescriptionMenuHostContext(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 Summary
Methods inherited from class HandledScreenContext
backgroundHeight, backgroundWidth, client, cursorStack, findFirstSlot, findSlots, focusedSlot, handledBounds, handler, handlerType, hasItem, hostBounds, plainTitle, playerInventory, playerInventorySlots, revision, screen, slot, slotBounds, slots, stack, stackCount, syncId, title, visibleChestSlots, x, y
-
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
-