Package appeng.api.definitions

Examples of appeng.api.definitions.Blocks


    MinecraftForge.EVENT_BUS.register( OreDictionaryHandler.instance );

    Items items = appeng.core.Api.instance.items();
    Materials materials = appeng.core.Api.instance.materials();
    Parts parts = appeng.core.Api.instance.parts();
    Blocks blocks = appeng.core.Api.instance.blocks();

    AEItemDefinition materialItem = addFeature( ItemMultiMaterial.class );

    Class materialClass = materials.getClass();
    for (MaterialType mat : MaterialType.values())
View Full Code Here


  }

  @Override
  public Iterable<Block> blockTypes()
  {
    Blocks def = AEApi.instance().blocks();
    return Arrays.asList( def.blockMultiPart.block(), def.blockQuartzTorch.block() );
  }
View Full Code Here

  public void Init()
  {
    AEApi.instance().partHelper().registerNewLayer( "appeng.parts.layers.LayerIPipeConnection", "buildcraft.api.transport.IPipeConnection" );
    AEApi.instance().registries().externalStorage().addExternalStorageInterface( new BCPipeHandler() );

    Blocks b = AEApi.instance().blocks();
    addFacade( b.blockFluix.stack( 1 ) );
    addFacade( b.blockQuartz.stack( 1 ) );
    addFacade( b.blockQuartzChiseled.stack( 1 ) );
    addFacade( b.blockQuartzPillar.stack( 1 ) );
View Full Code Here

  private void initBuilderSupport()
  {
    SchematicRegistry.declareBlueprintSupport( AppEng.modid );

    Blocks blocks = AEApi.instance().blocks();
    Block cable = blocks.blockMultiPart.block();
    for (Field f : blocks.getClass().getFields())
    {
      AEItemDefinition def;
      try
      {
        def = (AEItemDefinition) f.get( blocks );
View Full Code Here

TOP

Related Classes of appeng.api.definitions.Blocks

Copyright © 2018 www.massapicom. 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.