Search in sources :

Example 1 with FirLSCompound

use of prospector.traverse.blocks.FirLSCompound in project Traverse by ProfessorProspector.

the class TraverseBlocks method addFirTreeStuff.

static void addFirTreeStuff() {
    String fir = "fir";
    FirLSCompound lsCompound = new FirLSCompound();
    register(lsCompound.lsLeaves);
    oreDictNames.put(lsCompound.lsLeaves, "treeLeaves");
    register(lsCompound.lsSapling);
    oreDictNames.put(lsCompound.lsSapling, "treeSapling");
    BlockTraverseWoodLog log = new BlockTraverseWoodLog(fir);
    register(log);
    oreDictNames.put(log, "logWood");
    BlockTraverseWoodPlanks planks = new BlockTraverseWoodPlanks(fir);
    register(planks);
    oreDictNames.put(planks, "plankWood");
    BlockTraverseStairs stairs = new BlockTraverseStairs(planks.getDefaultState(), fir);
    register(stairs);
    oreDictNames.put(stairs, "stairWood");
    BlockTraverseWoodSlab.Half halfSlab = new BlockTraverseWoodSlab.Half(fir);
    register(halfSlab, true);
    oreDictNames.put(halfSlab, "slabWood");
    BlockTraverseWoodSlab.Double doubleSlab = new BlockTraverseWoodSlab.Double(fir, halfSlab);
    register(doubleSlab, (ItemBlock) new ItemSlab(blocks.get(halfSlab.name + "_slab"), halfSlab, doubleSlab).setRegistryName(halfSlab.getRegistryName()));
    register(new BlockTraverseWoodFence(fir));
    register(new BlockTraverseWoodFenceGate(fir));
    BlockTraverseWoodDoor door = new BlockTraverseWoodDoor(fir);
    register(door, new ItemTraverseWoodDoor(door));
}
Also used : ItemSlab(net.minecraft.item.ItemSlab) FirLSCompound(prospector.traverse.blocks.FirLSCompound) ItemTraverseWoodDoor(prospector.traverse.item.ItemTraverseWoodDoor)

Aggregations

ItemSlab (net.minecraft.item.ItemSlab)1 FirLSCompound (prospector.traverse.blocks.FirLSCompound)1 ItemTraverseWoodDoor (prospector.traverse.item.ItemTraverseWoodDoor)1