Examples of IGridCacheRegistry


Examples of appeng.api.networking.IGridCacheRegistry

    PartPlacement pp = new PartPlacement();
    MinecraftForge.EVENT_BUS.register( pp );
    FMLCommonHandler.instance().bus().register( pp );

    IGridCacheRegistry gcr = AEApi.instance().registries().gridCache();
    gcr.registerGridCache( ITickManager.class, TickManagerCache.class );
    gcr.registerGridCache( IEnergyGrid.class, EnergyGridCache.class );
    gcr.registerGridCache( IPathingGrid.class, PathGridCache.class );
    gcr.registerGridCache( IStorageGrid.class, GridStorageCache.class );
    gcr.registerGridCache( P2PCache.class, P2PCache.class );
    gcr.registerGridCache( ISpatialCache.class, SpatialPylonCache.class );
    gcr.registerGridCache( ISecurityGrid.class, SecurityCache.class );
    gcr.registerGridCache( ICraftingGrid.class, CraftingGridCache.class );

    AEApi.instance().registries().externalStorage().addExternalStorageInterface( new AEExternalHandler() );

    AEApi.instance().registries().cell().addCellHandler( new BasicCellHandler() );
    AEApi.instance().registries().cell().addCellHandler( new CreativeCellHandler() );
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.