Package erogenousbeef.bigreactors.common.block

Examples of erogenousbeef.bigreactors.common.block.BlockBRGenericFluid


        fluidYellorium.setViscosity(100);
        fluidYellorium.setUnlocalizedName("bigreactors.yellorium.still");
        FluidRegistry.registerFluid(fluidYellorium);
      }

      BlockBRGenericFluid liqY = new BlockBRGenericFluid(BigReactors.fluidYellorium, "yellorium");
      BigReactors.fluidYelloriumStill = liqY;
     
      GameRegistry.registerBlock(BigReactors.fluidYelloriumStill, ItemBlock.class, BigReactors.fluidYelloriumStill.getUnlocalizedName());

      fluidYelloriumBucketItem = (new ItemBRBucket(liqY)).setUnlocalizedName("bucket.yellorium").setMaxStackSize(1).setContainerItem(Items.bucket);
            GameRegistry.registerItem(fluidYelloriumBucketItem, "bucketYellorium");
     
      BRConfig.CONFIGURATION.save();
    }
   
    if(BigReactors.fluidCyaniteStill == null) {
      BRConfig.CONFIGURATION.load();
     
      BigReactors.fluidCyanite = FluidRegistry.getFluid("cyanite");
      if(fluidCyanite == null) {
        fluidCyanite = new Fluid("cyanite");
        fluidCyanite.setDensity(100);
        fluidCyanite.setGaseous(false);
        fluidCyanite.setLuminosity(6);
        fluidCyanite.setRarity(EnumRarity.uncommon);
        fluidCyanite.setTemperature(295);
        fluidCyanite.setViscosity(100);
        fluidCyanite.setUnlocalizedName("bigreactors.cyanite.still");
        FluidRegistry.registerFluid(fluidCyanite);
      }

      BlockBRGenericFluid liqDY = new BlockBRGenericFluid(fluidCyanite, "cyanite");
      BigReactors.fluidCyaniteStill = liqDY;
      GameRegistry.registerBlock(BigReactors.fluidCyaniteStill, ItemBlock.class, BigReactors.fluidCyaniteStill.getUnlocalizedName());
     
      fluidCyaniteBucketItem = (new ItemBRBucket(liqDY)).setUnlocalizedName("bucket.cyanite").setMaxStackSize(1).setContainerItem(Items.bucket);
            GameRegistry.registerItem(fluidCyaniteBucketItem, "bucketCyanite");
View Full Code Here

TOP

Related Classes of erogenousbeef.bigreactors.common.block.BlockBRGenericFluid

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.