appeng.api.networking.IGrid Java Examples
The following examples show how to use
appeng.api.networking.IGrid.
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: SemiBlockRequester.java From PneumaticCraft with GNU General Public License v3.0 | 5 votes |
@Optional.Method(modid = ModIds.AE2) private void notifyNetworkOfCraftingChange(){ if(gridNode != null) { IGrid grid = ((IGridNode)gridNode).getGrid(); if(grid != null) grid.postEvent(new MENetworkCraftingPatternChange(this, (IGridNode)gridNode)); } }
Example #2
Source File: AdapterGridBase.java From OpenPeripheral-Integration with MIT License | 4 votes |
protected IGrid getGrid(IGridHost host) { return host.getGridNode(ForgeDirection.UNKNOWN).getGrid(); }
Example #3
Source File: SemiBlockRequester.java From PneumaticCraft with GNU General Public License v3.0 | 4 votes |
@Override @Optional.Method(modid = ModIds.AE2) public void setNetworkStatus(IGrid arg0, int arg1){}
Example #4
Source File: MotorModifierAE2.java From Framez with GNU General Public License v3.0 | 2 votes |
@Override public void setNetworkStatus(IGrid grid, int channelsInUse) { }
Example #5
Source File: ICraftingGrid.java From Framez with GNU General Public License v3.0 | 2 votes |
/** * Begin calculating a crafting job. * * @param world crafting world * @param grid network * @param actionSrc source * @param craftWhat result * @param callback callback * -- optional * * @return a future which will at an undetermined point in the future get you the {@link ICraftingJob} do not wait * on this, your be waiting forever. */ Future<ICraftingJob> beginCraftingJob(World world, IGrid grid, BaseActionSource actionSrc, IAEItemStack craftWhat, ICraftingCallback callback);
Example #6
Source File: IWirelessAccessPoint.java From Framez with GNU General Public License v3.0 | 2 votes |
/** * @return grid of linked WAP */ IGrid getGrid();
Example #7
Source File: ICraftingGrid.java From PneumaticCraft with GNU General Public License v3.0 | 2 votes |
/** * Begin calculating a crafting job. * * @param world crafting world * @param grid network * @param actionSrc source * @param craftWhat result * @param callback callback * -- optional * * @return a future which will at an undetermined point in the future get you the {@link ICraftingJob} do not wait * on this, your be waiting forever. */ Future<ICraftingJob> beginCraftingJob( World world, IGrid grid, BaseActionSource actionSrc, IAEItemStack craftWhat, ICraftingCallback callback );
Example #8
Source File: IWirelessAccessPoint.java From PneumaticCraft with GNU General Public License v3.0 | 2 votes |
/** * @return grid of linked WAP */ IGrid getGrid();