use of binnie.extratrees.blocks.property.PropertyETWoodType in project Binnie by ForestryMC.
the class BlockETLog method create.
public static List<BlockETLog> create(boolean fireproof) {
List<BlockETLog> blocks = new ArrayList<>();
PropertyETWoodType[] variants = PropertyETWoodType.create("variant", VARIANTS_PER_BLOCK, true);
for (int i = 0; i < variants.length; i++) {
PropertyETWoodType variant = variants[i];
BlockETLog block = new BlockETLog(fireproof, i) {
@Override
public PropertyWoodType<EnumETLog> getVariant() {
return variant;
}
};
blocks.add(block);
}
return blocks;
}
use of binnie.extratrees.blocks.property.PropertyETWoodType in project Binnie by ForestryMC.
the class BlockETSlab method create.
public static List<BlockETSlab> create(boolean fireproof, final boolean doubleSlab) {
List<BlockETSlab> blocks = new ArrayList<>();
PropertyETWoodType[] variants = PropertyETWoodType.create("variant", VARIANTS_PER_BLOCK, false);
for (int i = 0; i < variants.length; i++) {
PropertyETWoodType variant = variants[i];
BlockETSlab block = new BlockETSlab(fireproof, i) {
@Override
public PropertyETWoodType getVariant() {
return variant;
}
@Override
public boolean isDouble() {
return doubleSlab;
}
};
blocks.add(block);
}
return blocks;
}
use of binnie.extratrees.blocks.property.PropertyETWoodType in project Binnie by ForestryMC.
the class BlockETFence method create.
public static List<BlockETFence> create(boolean fireproof) {
List<BlockETFence> blocks = new ArrayList<>();
PropertyETWoodType[] variants = PropertyETWoodType.create("variant", VARIANTS_PER_BLOCK);
for (int i = 0; i < variants.length; i++) {
PropertyETWoodType variant = variants[i];
BlockETFence block = new BlockETFence(fireproof, i) {
@Override
public PropertyETWoodType getVariant() {
return variant;
}
};
blocks.add(block);
}
return blocks;
}
use of binnie.extratrees.blocks.property.PropertyETWoodType in project Binnie by ForestryMC.
the class BlockETPlank method create.
public static List<BlockETPlank> create(boolean fireproof) {
List<BlockETPlank> blocks = new ArrayList<>();
PropertyETWoodType[] variants = PropertyETWoodType.create("variant", VARIANTS_PER_BLOCK, false);
for (int i = 0; i < variants.length; i++) {
PropertyETWoodType variant = variants[i];
BlockETPlank block = new BlockETPlank(fireproof, i) {
@Override
public PropertyETWoodType getVariant() {
return variant;
}
};
blocks.add(block);
}
return blocks;
}
Aggregations