Search in sources :

Example 6 with InventoryScreen

use of net.minecraft.client.gui.screen.ingame.InventoryScreen in project Client by MatHax.

the class EnchantCommand method syncItem.

private void syncItem() {
    mc.setScreen(new InventoryScreen(mc.player));
    mc.setScreen(null);
}
Also used : InventoryScreen(net.minecraft.client.gui.screen.ingame.InventoryScreen)

Aggregations

InventoryScreen (net.minecraft.client.gui.screen.ingame.InventoryScreen)6 CraftingHandler (fi.dy.masa.itemscroller.recipes.CraftingHandler)1 RecipePattern (fi.dy.masa.itemscroller.recipes.RecipePattern)1 MinecraftClient (net.minecraft.client.MinecraftClient)1 AbstractClientPlayerEntity (net.minecraft.client.network.AbstractClientPlayerEntity)1 MatrixStack (net.minecraft.client.util.math.MatrixStack)1 HorseBaseEntity (net.minecraft.entity.passive.HorseBaseEntity)1 ClientCommandC2SPacket (net.minecraft.network.packet.c2s.play.ClientCommandC2SPacket)1 Slot (net.minecraft.screen.slot.Slot)1 CmdSyntaxException (org.bleachhack.command.exception.CmdSyntaxException)1 BleachSubscribe (org.bleachhack.eventbus.BleachSubscribe)1