codechicken.nei.api.TaggedInventoryArea Java Examples

The following examples show how to use codechicken.nei.api.TaggedInventoryArea. 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: NEIChestGuiHandler.java    From NotEnoughItems with MIT License 4 votes vote down vote up
@Override
public List<TaggedInventoryArea> getInventoryAreas(GuiContainer gui) {
    return gui instanceof GuiChest ? Collections.singletonList(new TaggedInventoryArea("Chest", 0, chestSize(gui), gui.inventorySlots)) : null;
}
 
Example #2
Source File: GuiExtendedCreativeInv.java    From NotEnoughItems with MIT License 4 votes vote down vote up
@Override
public List<TaggedInventoryArea> getInventoryAreas(GuiContainer gui) {
    return Collections.singletonList(new TaggedInventoryArea("ExtendedCreativeInv", 0, 54, inventorySlots));
}
 
Example #3
Source File: GuiExtendedCreativeInv.java    From NotEnoughItems with MIT License 4 votes vote down vote up
@Override
public List<TaggedInventoryArea> getInventoryAreas(GuiContainer gui) {
    return Arrays.asList(new TaggedInventoryArea("ExtendedCreativeInv", 0, 54, inventorySlots));
}
 
Example #4
Source File: NEIChestGuiHandler.java    From NotEnoughItems with MIT License 4 votes vote down vote up
@Override
public List<TaggedInventoryArea> getInventoryAreas(GuiContainer gui) {
    return gui instanceof GuiChest ? Arrays.asList(new TaggedInventoryArea("Chest", 0, chestSize(gui), gui.inventorySlots)) : null;
}
 
Example #5
Source File: GuiPneumaticContainerBase.java    From PneumaticCraft with GNU General Public License v3.0 4 votes vote down vote up
/**
 * @return A list of TaggedInventoryAreas that will be used with the savestates.
 */
@Override
@Optional.Method(modid = ModIds.NEI)
public List<TaggedInventoryArea> getInventoryAreas(GuiContainer gui){
    return null;
}