Java Code Examples for net.minecraft.block.BlockPlanks#EnumType

The following examples show how to use net.minecraft.block.BlockPlanks#EnumType . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: Leaves.java    From minecraft-roguelike with GNU General Public License v3.0 5 votes vote down vote up
private static BlockPlanks.EnumType getType(Wood type){
	
	switch(type){
	case OAK: return BlockPlanks.EnumType.OAK;
	case SPRUCE: return BlockPlanks.EnumType.SPRUCE;
	case BIRCH: return BlockPlanks.EnumType.BIRCH;
	case JUNGLE: return BlockPlanks.EnumType.JUNGLE;
	case ACACIA: return BlockPlanks.EnumType.ACACIA;
	case DARKOAK: return BlockPlanks.EnumType.DARK_OAK;
	default: return BlockPlanks.EnumType.OAK;
	}		
}
 
Example 2
Source File: BlockApricotLeaves.java    From TofuCraftReload with MIT License 4 votes vote down vote up
@Override
public BlockPlanks.EnumType getWoodType(int meta) {
    return null;
}
 
Example 3
Source File: BlockTofuLeaves.java    From TofuCraftReload with MIT License 4 votes vote down vote up
@Override
public BlockPlanks.EnumType getWoodType(int meta) {
    return null;
}
 
Example 4
Source File: BlockMapleLeaveOrange.java    From Sakura_mod with MIT License 4 votes vote down vote up
@Override
public BlockPlanks.EnumType getWoodType(int meta) {
    return null;
}
 
Example 5
Source File: BlockMapleLeaveYellow.java    From Sakura_mod with MIT License 4 votes vote down vote up
@Override
public BlockPlanks.EnumType getWoodType(int meta) {
    return null;
}
 
Example 6
Source File: BlockSakuraLeave.java    From Sakura_mod with MIT License 4 votes vote down vote up
@Override
public BlockPlanks.EnumType getWoodType(int meta) {
    return null;
}
 
Example 7
Source File: BlockMapleLeaveGreen.java    From Sakura_mod with MIT License 4 votes vote down vote up
@Override
public BlockPlanks.EnumType getWoodType(int meta) {
    return null;
}
 
Example 8
Source File: BlockMapleLeaveRed.java    From Sakura_mod with MIT License 4 votes vote down vote up
@Override
public BlockPlanks.EnumType getWoodType(int meta) {
    return null;
}
 
Example 9
Source File: BlockTraverseLeaves.java    From CommunityMod with GNU Lesser General Public License v2.1 4 votes vote down vote up
@Override
public BlockPlanks.EnumType getWoodType(int meta) {
    return null;
}
 
Example 10
Source File: BlockTraverseLeaves.java    From Traverse-Legacy-1-12-2 with MIT License 4 votes vote down vote up
@Override
public BlockPlanks.EnumType getWoodType(int meta) {
    return null;
}