Java 类net.minecraft.inventory.ContainerBrewingStand 实例源码
项目:Cauldron
文件:EntityPlayerMP.java
public void func_146098_a(TileEntityBrewingStand p_146098_1_)
{
// CraftBukkit start - Inventory open hook
Container container = CraftEventFactory.callInventoryOpenEvent(this, new ContainerBrewingStand(this.inventory, p_146098_1_));
if (container == null)
{
p_146098_1_.closeInventory(); // Cauldron - prevent chests from being stuck in open state on clients
return;
}
// CraftBukkit end
this.getNextWindowId();
this.playerNetServerHandler.sendPacket(new S2DPacketOpenWindow(this.currentWindowId, 5, p_146098_1_.getInventoryName(), p_146098_1_.getSizeInventory(), p_146098_1_.hasCustomInventoryName()));
this.openContainer = container; // CraftBukkit - Use container we passed to event
this.openContainer.windowId = this.currentWindowId;
this.openContainer.addCraftingToCrafters(this);
}
项目:Resilience-Client-Source
文件:EntityPlayerMP.java
public void func_146098_a(TileEntityBrewingStand p_146098_1_)
{
this.getNextWindowId();
this.playerNetServerHandler.sendPacket(new S2DPacketOpenWindow(this.currentWindowId, 5, p_146098_1_.getInventoryName(), p_146098_1_.getSizeInventory(), p_146098_1_.isInventoryNameLocalized()));
this.openContainer = new ContainerBrewingStand(this.inventory, p_146098_1_);
this.openContainer.windowId = this.currentWindowId;
this.openContainer.addCraftingToCrafters(this);
}
项目:Cauldron
文件:EntityPlayerMP.java
public void func_146098_a(TileEntityBrewingStand p_146098_1_)
{
this.getNextWindowId();
this.playerNetServerHandler.sendPacket(new S2DPacketOpenWindow(this.currentWindowId, 5, p_146098_1_.getInventoryName(), p_146098_1_.getSizeInventory(), p_146098_1_.hasCustomInventoryName()));
this.openContainer = new ContainerBrewingStand(this.inventory, p_146098_1_);
this.openContainer.windowId = this.currentWindowId;
this.openContainer.addCraftingToCrafters(this);
}
项目:RuneCraftery
文件:EntityPlayerMP.java
public void func_71017_a(TileEntityBrewingStand p_71017_1_) {
this.func_71117_bO();
this.field_71135_a.func_72567_b(new Packet100OpenWindow(this.field_71139_cq, 5, p_71017_1_.func_70303_b(), p_71017_1_.func_70302_i_(), p_71017_1_.func_94042_c()));
this.field_71070_bA = new ContainerBrewingStand(this.field_71071_by, p_71017_1_);
this.field_71070_bA.field_75152_c = this.field_71139_cq;
this.field_71070_bA.func_75132_a(this);
}
项目:RuneCraftery
文件:EntityPlayerMP.java
/**
* Displays the GUI for interacting with a brewing stand.
*/
public void displayGUIBrewingStand(TileEntityBrewingStand par1TileEntityBrewingStand)
{
this.incrementWindowID();
this.playerNetServerHandler.sendPacketToPlayer(new Packet100OpenWindow(this.currentWindowId, 5, par1TileEntityBrewingStand.getInvName(), par1TileEntityBrewingStand.getSizeInventory(), par1TileEntityBrewingStand.isInvNameLocalized()));
this.openContainer = new ContainerBrewingStand(this.inventory, par1TileEntityBrewingStand);
this.openContainer.windowId = this.currentWindowId;
this.openContainer.addCraftingToCrafters(this);
}
项目:BetterNutritionMod
文件:EntityPlayerMP.java
/**
* Displays the GUI for interacting with a brewing stand.
*/
public void displayGUIBrewingStand(TileEntityBrewingStand par1TileEntityBrewingStand)
{
this.incrementWindowID();
this.playerNetServerHandler.sendPacketToPlayer(new Packet100OpenWindow(this.currentWindowId, 5, par1TileEntityBrewingStand.getInvName(), par1TileEntityBrewingStand.getSizeInventory(), par1TileEntityBrewingStand.isInvNameLocalized()));
this.openContainer = new ContainerBrewingStand(this.inventory, par1TileEntityBrewingStand);
this.openContainer.windowId = this.currentWindowId;
this.openContainer.addCraftingToCrafters(this);
}
项目:DecompiledMinecraft
文件:TileEntityBrewingStand.java
public Container createContainer(InventoryPlayer playerInventory, EntityPlayer playerIn)
{
return new ContainerBrewingStand(playerInventory, this);
}
项目:DecompiledMinecraft
文件:GuiBrewingStand.java
public GuiBrewingStand(InventoryPlayer playerInv, IInventory p_i45506_2_)
{
super(new ContainerBrewingStand(playerInv, p_i45506_2_));
this.playerInventory = playerInv;
this.tileBrewingStand = p_i45506_2_;
}
项目:DecompiledMinecraft
文件:TileEntityBrewingStand.java
public Container createContainer(InventoryPlayer playerInventory, EntityPlayer playerIn)
{
return new ContainerBrewingStand(playerInventory, this);
}
项目:BaseClient
文件:GuiBrewingStand.java
public GuiBrewingStand(InventoryPlayer playerInv, IInventory p_i45506_2_)
{
super(new ContainerBrewingStand(playerInv, p_i45506_2_));
this.playerInventory = playerInv;
this.tileBrewingStand = p_i45506_2_;
}
项目:BaseClient
文件:TileEntityBrewingStand.java
public Container createContainer(InventoryPlayer playerInventory, EntityPlayer playerIn)
{
return new ContainerBrewingStand(playerInventory, this);
}
项目:BaseClient
文件:GuiBrewingStand.java
public GuiBrewingStand(InventoryPlayer playerInv, IInventory p_i45506_2_)
{
super(new ContainerBrewingStand(playerInv, p_i45506_2_));
this.playerInventory = playerInv;
this.tileBrewingStand = p_i45506_2_;
}
项目:BaseClient
文件:TileEntityBrewingStand.java
public Container createContainer(InventoryPlayer playerInventory, EntityPlayer playerIn)
{
return new ContainerBrewingStand(playerInventory, this);
}
项目:Backmemed
文件:GuiBrewingStand.java
public GuiBrewingStand(InventoryPlayer playerInv, IInventory p_i45506_2_)
{
super(new ContainerBrewingStand(playerInv, p_i45506_2_));
this.playerInventory = playerInv;
this.tileBrewingStand = p_i45506_2_;
}
项目:Backmemed
文件:TileEntityBrewingStand.java
public Container createContainer(InventoryPlayer playerInventory, EntityPlayer playerIn)
{
return new ContainerBrewingStand(playerInventory, this);
}
项目:CustomWorldGen
文件:GuiBrewingStand.java
public GuiBrewingStand(InventoryPlayer playerInv, IInventory p_i45506_2_)
{
super(new ContainerBrewingStand(playerInv, p_i45506_2_));
this.playerInventory = playerInv;
this.tileBrewingStand = p_i45506_2_;
}
项目:CustomWorldGen
文件:TileEntityBrewingStand.java
public Container createContainer(InventoryPlayer playerInventory, EntityPlayer playerIn)
{
return new ContainerBrewingStand(playerInventory, this);
}
项目:Resilience-Client-Source
文件:GuiBrewingStand.java
public GuiBrewingStand(InventoryPlayer par1InventoryPlayer, TileEntityBrewingStand par2TileEntityBrewingStand)
{
super(new ContainerBrewingStand(par1InventoryPlayer, par2TileEntityBrewingStand));
this.field_147013_v = par2TileEntityBrewingStand;
}
项目:ExpandedRailsMod
文件:GuiBrewingStand.java
public GuiBrewingStand(InventoryPlayer playerInv, IInventory p_i45506_2_)
{
super(new ContainerBrewingStand(playerInv, p_i45506_2_));
this.playerInventory = playerInv;
this.tileBrewingStand = p_i45506_2_;
}
项目:Cauldron
文件:GuiBrewingStand.java
public GuiBrewingStand(InventoryPlayer p_i1081_1_, TileEntityBrewingStand p_i1081_2_)
{
super(new ContainerBrewingStand(p_i1081_1_, p_i1081_2_));
this.tileBrewingStand = p_i1081_2_;
}
项目:Cauldron
文件:GuiBrewingStand.java
public GuiBrewingStand(InventoryPlayer p_i1081_1_, TileEntityBrewingStand p_i1081_2_)
{
super(new ContainerBrewingStand(p_i1081_1_, p_i1081_2_));
this.tileBrewingStand = p_i1081_2_;
}
项目:RuneCraftery
文件:SlotBrewingStandIngredient.java
public SlotBrewingStandIngredient(ContainerBrewingStand p_i1803_1_, IInventory p_i1803_2_, int p_i1803_3_, int p_i1803_4_, int p_i1803_5_) {
super(p_i1803_2_, p_i1803_3_, p_i1803_4_, p_i1803_5_);
this.field_75226_a = p_i1803_1_;
}
项目:RuneCraftery
文件:GuiBrewingStand.java
public GuiBrewingStand(InventoryPlayer p_i1081_1_, TileEntityBrewingStand p_i1081_2_) {
super(new ContainerBrewingStand(p_i1081_1_, p_i1081_2_));
this.field_74217_o = p_i1081_2_;
}
项目:RuneCraftery
文件:GuiBrewingStand.java
public GuiBrewingStand(InventoryPlayer par1InventoryPlayer, TileEntityBrewingStand par2TileEntityBrewingStand)
{
super(new ContainerBrewingStand(par1InventoryPlayer, par2TileEntityBrewingStand));
this.brewingStand = par2TileEntityBrewingStand;
}
项目:BetterNutritionMod
文件:GuiBrewingStand.java
public GuiBrewingStand(InventoryPlayer par1InventoryPlayer, TileEntityBrewingStand par2TileEntityBrewingStand)
{
super(new ContainerBrewingStand(par1InventoryPlayer, par2TileEntityBrewingStand));
this.brewingStand = par2TileEntityBrewingStand;
}