Package buildcraft.energy

Examples of buildcraft.energy.ItemBucketBuildcraft


    }

    // Buckets

    if (blockOil != null) {
      bucketOil = new ItemBucketBuildcraft(blockOil);
      bucketOil.setUnlocalizedName("bucketOil").setContainerItem(Items.bucket);
      CoreProxy.proxy.registerItem(bucketOil);
      FluidContainerRegistry.registerFluidContainer(FluidRegistry.getFluidStack("oil", FluidContainerRegistry.BUCKET_VOLUME), new ItemStack(bucketOil), new ItemStack(Items.bucket));
    }

    if (blockFuel != null) {
      bucketFuel = new ItemBucketBuildcraft(blockFuel);
      bucketFuel.setUnlocalizedName("bucketFuel").setContainerItem(Items.bucket);
      CoreProxy.proxy.registerItem(bucketFuel);
      FluidContainerRegistry.registerFluidContainer(FluidRegistry.getFluidStack("fuel", FluidContainerRegistry.BUCKET_VOLUME), new ItemStack(bucketFuel), new ItemStack(Items.bucket));
    }

    if (!BuildCraftCore.NONRELEASED_BLOCKS) {
      if (blockRedPlasma != null) {
        bucketRedPlasma = new ItemBucketBuildcraft(blockRedPlasma);
        bucketRedPlasma.setUnlocalizedName("bucketRedPlasma").setContainerItem(Items.bucket);
        CoreProxy.proxy.registerItem(bucketRedPlasma);
        FluidContainerRegistry.registerFluidContainer(FluidRegistry.getFluidStack("redplasma", FluidContainerRegistry.BUCKET_VOLUME), new ItemStack(bucketRedPlasma), new ItemStack(Items.bucket));
      }
    }
View Full Code Here

TOP

Related Classes of buildcraft.energy.ItemBucketBuildcraft

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.