Beispiel #1
0
  public static void init() {
    flower = new BlockModFlower();
    altar = new BlockAltar();
    livingrock = new BlockLivingrock();
    livingwood = new BlockLivingwood();
    specialFlower = new BlockSpecialFlower();
    spreader = new BlockSpreader();
    pool = new BlockPool();
    runeAltar = new BlockRuneAltar();
    unstableBlock = new BlockUnstable();
    pylon = new BlockPylon();
    pistonRelay = new BlockPistonRelay();
    distributor = new BlockDistributor();
    manaBeacon = new BlockManaBeacon();
    manaVoid = new BlockManaVoid();
    manaDetector = new BlockManaDetector();
    enchanter = new BlockEnchanter();
    turntable = new BlockTurntable();
    tinyPlanet = new BlockTinyPlanet();
    alchemyCatalyst = new BlockAlchemyCatalyst();
    openCrate = new BlockOpenCrate();
    forestEye = new BlockForestEye();
    storage = new BlockStorage();
    forestDrum = new BlockForestDrum();
    shinyFlower = new BlockShinyFlower();
    platform = new BlockPlatform();
    alfPortal = new BlockAlfPortal();
    dreamwood = new BlockDreamwood();
    conjurationCatalyst = new BlockConjurationCatalyst();
    bifrost = new BlockBifrost();
    solidVines = new BlockSolidVines();
    buriedPetals = new BlockBuriedPetals();
    prismarine = new BlockPrismarine();
    seaLamp = new BlockSeaLamp();
    floatingFlower = new BlockFloatingFlower();
    tinyPotato = new BlockTinyPotato();
    spawnerClaw = new BlockSpawnerClaw();
    reedBlock = new BlockReeds();
    thatch = new BlockThatch();
    customBrick = new BlockCustomBrick();
    enderEye = new BlockEnderEye();
    starfield = new BlockStarfield();
    rfGenerator = new BlockRFGenerator();
    elfGlass = new BlockElfGlass();
    brewery = new BlockBrewery();
    manaGlass = new BlockManaGlass();
    terraPlate = new BlockTerraPlate();
    redStringContainer = new BlockRedStringContainer();
    redStringDispenser = new BlockRedStringDispenser();
    redStringFertilizer = new BlockRedStringFertilizer();
    redStringComparator = new BlockRedStringComparator();
    redStringRelay = new BlockRedStringRelay();
    floatingSpecialFlower = new BlockFloatingSpecialFlower();
    manaFlame = new BlockManaFlame();
    prism = new BlockPrism();
    dirtPath = new BlockDirtPath();
    enchantedSoil = new BlockEnchantedSoil();
    petalBlock = new BlockPetalBlock();
    corporeaIndex = new BlockCorporeaIndex();
    corporeaFunnel = new BlockCorporeaFunnel();
    endStoneBrick = new BlockEndStoneBrick();
    mushroom = new BlockModMushroom();
    pump = new BlockPump();
    doubleFlower1 = new BlockModDoubleFlower(false);
    doubleFlower2 = new BlockModDoubleFlower(true);
    fakeAir = new BlockFakeAir();
    blazeBlock = new BlockBlaze();
    corporeaInterceptor = new BlockCorporeaInterceptor();
    corporeaCrystalCube = new BlockCorporeaCrystalCube();
    incensePlate = new BlockIncensePlate();
    hourglass = new BlockHourglass();
    ghostRail = new BlockGhostRail();
    sparkChanger = new BlockSparkChanger();
    root = new BlockRoot();
    felPumpkin = new BlockFelPumpkin();
    cocoon = new BlockCocoon();
    lightRelay = new BlockLightRelay();
    lightLauncher = new BlockLightLauncher();
    manaBomb = new BlockManaBomb();
    cacophonium = new BlockCacophonium();
    bellows = new BlockBellows();
    bifrostPerm = new BlockBifrostPerm();
    cellBlock = new BlockCell();
    redStringInterceptor = new BlockRedStringInterceptor();
    gaiaHead = new BlockGaiaHead();

    ModFluffBlocks.init();

    for (int i = 0; i < 16; i++)
      OreDictionary.registerOre(LibOreDict.FLOWER[i], new ItemStack(flower, 1, i));

    OreDictionary.registerOre(LibOreDict.LIVING_ROCK, livingrock);
    OreDictionary.registerOre(LibOreDict.LIVING_WOOD, livingwood);
    OreDictionary.registerOre(LibOreDict.DREAM_WOOD, dreamwood);

    for (int i = 0; i < 8; i++) {
      OreDictionary.registerOre(LibOreDict.DOUBLE_FLOWER[i], new ItemStack(doubleFlower1, 1, i));
      OreDictionary.registerOre(
          LibOreDict.DOUBLE_FLOWER[i + 8], new ItemStack(doubleFlower2, 1, i));
    }

    OreDictionary.registerOre(
        LibOreDict.PRISMARINE_BLOCK, new ItemStack(prismarine, 1, OreDictionary.WILDCARD_VALUE));
    OreDictionary.registerOre(LibOreDict.BLAZE_BLOCK, blazeBlock);

    for (int i = 0; i < 16; i++)
      OreDictionary.registerOre(
          LibOreDict.STONE_18_VARIANTS[i], new ItemStack(ModFluffBlocks.stone, 1, i));

    // Vanilla OreDict entries
    OreDictionary.registerOre("dirt", Blocks.dirt);
    OreDictionary.registerOre("grass", Blocks.grass);
    OreDictionary.registerOre("sand", Block.getBlockFromName("sand"));
    OreDictionary.registerOre("gravel", Block.getBlockFromName("gravel"));
    OreDictionary.registerOre(
        "hardenedClay", new ItemStack(Blocks.hardened_clay, 1, OreDictionary.WILDCARD_VALUE));
    OreDictionary.registerOre("snowLayer", Blocks.snow_layer);
    OreDictionary.registerOre("mycelium", Blocks.mycelium);
    OreDictionary.registerOre("podzol", new ItemStack(Blocks.dirt, 1, 2));
    OreDictionary.registerOre("netherrack", Blocks.netherrack);
    OreDictionary.registerOre("soulSand", Blocks.soul_sand);
    OreDictionary.registerOre("ice", Blocks.ice);
    OreDictionary.registerOre("slabCobblestone", new ItemStack(Blocks.stone_slab, 1, 3));
    OreDictionary.registerOre("chestWood", Blocks.chest);
    OreDictionary.registerOre("craftingTableWood", Blocks.crafting_table);

    initTileEntities();
  }