This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private ArrayList<InventoryInstance> tempInv = new ArrayList<InventoryInstance>(); | |
private ArrayList<InventoryInstance> requestedList = new ArrayList<InventoryInstance>(); | |
tempInv.add(new InventoryInstance(stuff blah boring things)); | |
tempInv.removeAll(requestedList); | |
for(InventoryInstance i : tempInv){ | |
System.out.println("Temp: " + i); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2013-11-25 02:06:27 [INFO] [STDOUT] Cleared Temp Inv | |
2013-11-25 02:06:27 [INFO] [STDOUT] Cleared Temp Inv | |
2013-11-25 02:06:27 [INFO] [STDOUT] Player: Name: container.furnace, TileEntity: net.minecraft.tileentity.TileEntityFurnace@7833b56 X: -1525 Y:56 Z: 424 | |
2013-11-25 02:06:27 [INFO] [STDOUT] Requested: Name: container.furnace, TileEntity: net.minecraft.tileentity.TileEntityFurnace@7833b56 X: -1525 Y:56 Z: 424 | |
2013-11-25 02:06:27 [INFO] [STDOUT] Temp: Name: container.furnace, TileEntity: net.minecraft.tileentity.TileEntityFurnace@7833b56 X: -1525 Y:56 Z: 424 | |
2013-11-25 02:06:27 [INFO] [STDOUT] Cleared Temp Inv | |
2013-11-25 02:06:27 [INFO] [STDOUT] Player: Name: container.furnace, TileEntity: net.minecraft.tileentity.TileEntityFurnace@7833b56 X: -1525 Y:56 Z: 424 | |
2013-11-25 02:06:27 [INFO] [STDOUT] Requested: Name: container.furnace, TileEntity: net.minecraft.tileentity.TileEntityFurnace@7833b56 X: -1525 Y:56 Z: 424 | |
2013-11-25 02:06:27 [INFO] [STDOUT] Temp: Name: container.furnace, TileEntity: net.minecraft.til |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Before | |
2013-11-25 02:36:41 [INFO] [STDOUT] [Name: container.furnace, TileEntity: net.minecraft.tileentity.TileEntityFurnace@70ab7d7b X: -1525 Y:56 Z: 424] | |
2013-11-25 02:36:41 [INFO] [STDOUT] [Name: container.furnace, TileEntity: net.minecraft.tileentity.TileEntityFurnace@70ab7d7b X: -1525 Y:56 Z: 424] | |
//After | |
2013-11-25 02:36:41 [INFO] [STDOUT] [] | |
2013-11-25 02:36:41 [INFO] [STDOUT] [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public boolean isName(String name){ | |
System.out.println(this.name); | |
System.out.println(name); | |
return (this.name == name); | |
} | |
2013-11-26 12:52:03 [INFO] [STDOUT] container.furnace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public ContainerQuartzFurnace(InventoryPlayer inventoryPlayer, TileEntityQuartzFurnace tileEntity) { | |
this.quartzFurnace = tileEntity; | |
this.addSlotToContainer(new Slot(tileEntity, 0, 56, 17)); | |
this.addSlotToContainer(new Slot(tileEntity, 1, 56, 53)); | |
this.addSlotToContainer(new SlotFurnace(inventoryPlayer.player, tileEntity, 2, 116, 35)); | |
int y; | |
// add inventory slots | |
for (y = 0; y < 3; ++y) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public AllFood(int id, int par2, float par3, boolean par4) | |
{ | |
super(id, bar, sat, dogfood); | |
this.setCreativeTab(CreativeTabs.tabFood); | |
setParams(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static final int Bar[] = {4, 7, 1, 6, 2, 2, 1, 3, 4, 3}; | |
public static final float Sat[] = {0.5F, 1.2F, 0.5F, 1.2F, 0.3F, 0.5F, 0.4F, 0.6F, 0.8F, 0.7F}; | |
public static final boolean dogFood[] = {false, true, false, false, false, false, false, false, false, false}; | |
for(int i=0;i<10;i++) | |
{ | |
allFood = new AllFood(allFoodID + i, Bar[i], Sat[i], dogFood[i]).setUnlocalizedName("food"); | |
} | |
furnaceUpgrades = new ItemUpgrade(furnaceUpgradesID).setUnlocalizedName("upgrades"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package slade.items; | |
import java.util.List; | |
import net.minecraft.client.renderer.texture.IconRegister; | |
import net.minecraft.creativetab.CreativeTabs; | |
import net.minecraft.item.ItemFood; | |
import net.minecraft.item.ItemStack; | |
import net.minecraft.util.Icon; | |
import net.minecraft.util.MathHelper; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public AllFood(int id, int par2, float par3, boolean par4) | |
{ | |
super(id, par2, par3, par4); | |
setHasSubtypes(true); | |
this.setCreativeTab(CreativeTabs.tabFood); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2013-12-02 23:13:14 [INFO] [STDOUT] Error in class 'LibraryLWJGLOpenAL' | |
2013-12-02 23:13:14 [INFO] [STDOUT] Sound buffer null in method 'loadSound' | |
2013-12-02 23:13:14 [INFO] [STDOUT] Error in class 'LibraryLWJGLOpenAL' | |
2013-12-02 23:13:14 [INFO] [STDOUT] Source 'sound_2' was not created because an error occurred while loading elementalsciences2:pulse.ogg | |
2013-12-02 23:13:14 [INFO] [STDOUT] Error in class 'LibraryLWJGLOpenAL' | |
2013-12-02 23:13:14 [INFO] [STDOUT] Source 'sound_2' not found in method 'play' |
OlderNewer