Applied-Energistics-2-tiler.../core/features/registries/RegistryContainer.java

113 lines
2.8 KiB
Java
Raw Normal View History

package appeng.core.features.registries;
import appeng.api.features.IGrinderRegistry;
2014-03-24 05:00:12 +01:00
import appeng.api.features.ILocatableRegistry;
2014-01-20 17:41:37 +01:00
import appeng.api.features.IMatterCannonAmmoRegistry;
import appeng.api.features.IP2PTunnelRegistry;
import appeng.api.features.IPlayerRegistry;
2014-02-20 00:33:36 +01:00
import appeng.api.features.IRecipeHandlerRegistry;
import appeng.api.features.IRegistryContainer;
import appeng.api.features.ISpecialComparisonRegistry;
2014-09-20 22:25:14 +02:00
import appeng.api.features.IWirelessTermRegistry;
import appeng.api.features.IWorldGen;
import appeng.api.movable.IMovableRegistry;
import appeng.api.networking.IGridCacheRegistry;
import appeng.api.storage.ICellRegistry;
import appeng.api.storage.IExternalStorageRegistry;
public class RegistryContainer implements IRegistryContainer
{
private GrinderRecipeManager GrinderRecipes = new GrinderRecipeManager();
private ExternalStorageRegistry ExternalStorageHandlers = new ExternalStorageRegistry();
private CellRegistry CellRegistry = new CellRegistry();
private LocateableRegistry LocateableRegistry = new LocateableRegistry();
private SpecialComparisonRegistry SpecialComparsonRegistry = new SpecialComparisonRegistry();
private WirelessRegistry WirelessRegistery = new WirelessRegistry();
private GridCacheRegistry GridCacheRegistry = new GridCacheRegistry();
private P2PTunnelRegistry P2PRegistry = new P2PTunnelRegistry();
private MovableTileRegistry MoveableReg = new MovableTileRegistry();
2014-01-20 17:41:37 +01:00
private MatterCannonAmmoRegistry matterCannonReg = new MatterCannonAmmoRegistry();
private PlayerRegistry playerreg = new PlayerRegistry();
private IRecipeHandlerRegistry recipeReg = new RecipeHandlerRegistry();
@Override
2014-09-20 22:25:14 +02:00
public IWirelessTermRegistry wireless()
{
return WirelessRegistery;
}
@Override
public ICellRegistry cell()
{
return CellRegistry;
}
@Override
public IGrinderRegistry grinder()
{
return GrinderRecipes;
}
@Override
public ISpecialComparisonRegistry specialComparson()
{
return SpecialComparsonRegistry;
}
@Override
public IExternalStorageRegistry externalStorage()
{
return ExternalStorageHandlers;
}
@Override
2014-03-24 05:00:12 +01:00
public ILocatableRegistry locateable()
{
return LocateableRegistry;
}
@Override
public IGridCacheRegistry gridCache()
{
return GridCacheRegistry;
}
@Override
public IMovableRegistry moveable()
{
return MoveableReg;
}
@Override
public IP2PTunnelRegistry p2pTunnel()
{
return P2PRegistry;
}
2014-01-20 17:41:37 +01:00
@Override
public IMatterCannonAmmoRegistry matterCannon()
{
return matterCannonReg;
}
@Override
public IPlayerRegistry players()
{
return playerreg;
}
2014-02-20 00:33:36 +01:00
@Override
public IRecipeHandlerRegistry recipes()
{
2014-02-20 00:33:36 +01:00
return recipeReg;
}
@Override
public IWorldGen worldgen()
{
return WorldGenRegistry.instance;
}
}