Java Code Examples for net.minecraft.inventory.ItemStackHelper#getAndRemove()

The following examples show how to use net.minecraft.inventory.ItemStackHelper#getAndRemove() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: TileEntitySenderBaseInvenotried.java    From TofuCraftReload with MIT License 4 votes vote down vote up
@Override
public ItemStack removeStackFromSlot(int i) {
    return ItemStackHelper.getAndRemove(inventory, i);
}
 
Example 2
Source File: TileEntityProcessorBaseInventoried.java    From TofuCraftReload with MIT License 4 votes vote down vote up
@Override
public ItemStack removeStackFromSlot(int i) {
    return ItemStackHelper.getAndRemove(inventory, i);
}
 
Example 3
Source File: TileEntitySaltFurnace.java    From TofuCraftReload with MIT License 4 votes vote down vote up
@Override
public ItemStack removeStackFromSlot(int index) {
    return ItemStackHelper.getAndRemove(this.furnaceItemStacks, index);
}
 
Example 4
Source File: TileEntityTFStorage.java    From TofuCraftReload with MIT License 4 votes vote down vote up
@Override
public ItemStack removeStackFromSlot(int index) {
    return ItemStackHelper.getAndRemove(inventory, index);
}
 
Example 5
Source File: TileEntityTofuBattery.java    From TofuCraftReload with MIT License 4 votes vote down vote up
@Override
public ItemStack removeStackFromSlot(int index) {
    return ItemStackHelper.getAndRemove(inventory, index);
}
 
Example 6
Source File: TileEntityMapleCauldron.java    From Sakura_mod with MIT License 4 votes vote down vote up
@Override
public ItemStack removeStackFromSlot(int index) {
    return ItemStackHelper.getAndRemove(inventory, index);
}
 
Example 7
Source File: TileEntityDistillation.java    From Sakura_mod with MIT License 4 votes vote down vote up
@Override
public ItemStack removeStackFromSlot(int index) {
	return ItemStackHelper.getAndRemove(inventory, index);
}
 
Example 8
Source File: TileEntityStoneMortar.java    From Sakura_mod with MIT License 4 votes vote down vote up
@Override
public ItemStack removeStackFromSlot(int index) {
    return ItemStackHelper.getAndRemove(inventorySlotItemStack, index);
}
 
Example 9
Source File: TileEntityBarrel.java    From Sakura_mod with MIT License 4 votes vote down vote up
@Override
public ItemStack removeStackFromSlot(int index) {
	return ItemStackHelper.getAndRemove(inventory, index);
}
 
Example 10
Source File: TileEntityCampfirePot.java    From Sakura_mod with MIT License 4 votes vote down vote up
@Override
public ItemStack removeStackFromSlot(int index) {
    return ItemStackHelper.getAndRemove(inventory, index);
}
 
Example 11
Source File: TileEntityMinecoprocessor.java    From Minecoprocessors with GNU General Public License v3.0 4 votes vote down vote up
@Override
public ItemStack removeStackFromSlot(int index) {
  markDirty();
  return ItemStackHelper.getAndRemove(codeItemStacks, index);
}