Java Code Examples for cn.nukkit.utils.BlockColor#BROWN_BLOCK_COLOR
The following examples show how to use
cn.nukkit.utils.BlockColor#BROWN_BLOCK_COLOR .
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: BlockPlanks.java From Nukkit with GNU General Public License v3.0 | 6 votes |
@Override public BlockColor getColor() { switch(getDamage() & 0x07){ default: case OAK: return BlockColor.WOOD_BLOCK_COLOR; case SPRUCE: return BlockColor.SPRUCE_BLOCK_COLOR; case BIRCH: return BlockColor.SAND_BLOCK_COLOR; case JUNGLE: return BlockColor.DIRT_BLOCK_COLOR; case ACACIA: return BlockColor.ORANGE_BLOCK_COLOR; case DARK_OAK: return BlockColor.BROWN_BLOCK_COLOR; } }
Example 2
Source File: BlockFence.java From Nukkit with GNU General Public License v3.0 | 6 votes |
@Override public BlockColor getColor() { switch(this.getDamage() & 0x07){ default: case BlockFence.FENCE_OAK: //OAK return BlockColor.WOOD_BLOCK_COLOR; case BlockFence.FENCE_SPRUCE: //SPRUCE return BlockColor.SPRUCE_BLOCK_COLOR; case BlockFence.FENCE_BIRCH: //BIRCH return BlockColor.SAND_BLOCK_COLOR; case BlockFence.FENCE_JUNGLE: //JUNGLE return BlockColor.DIRT_BLOCK_COLOR; case BlockFence.FENCE_ACACIA: //ACACIA return BlockColor.ORANGE_BLOCK_COLOR; case BlockFence.FENCE_DARK_OAK: //DARK OAK return BlockColor.BROWN_BLOCK_COLOR; } }
Example 3
Source File: BlockSlabWood.java From Nukkit with GNU General Public License v3.0 | 6 votes |
@Override public BlockColor getColor() { switch(getDamage() & 0x07){ default: case 0: //OAK return BlockColor.WOOD_BLOCK_COLOR; case 1: //SPRUCE return BlockColor.SPRUCE_BLOCK_COLOR; case 2: //BIRCH return BlockColor.SAND_BLOCK_COLOR; case 3: //JUNGLE return BlockColor.DIRT_BLOCK_COLOR; case 4: //ACACIA return BlockColor.ORANGE_BLOCK_COLOR; case 5: //DARK OAK return BlockColor.BROWN_BLOCK_COLOR; } }
Example 4
Source File: BlockDoubleSlabWood.java From Nukkit with GNU General Public License v3.0 | 6 votes |
@Override public BlockColor getColor() { switch(this.getDamage() & 0x07){ default: case 0: //OAK return BlockColor.WOOD_BLOCK_COLOR; case 1: //SPRUCE return BlockColor.SPRUCE_BLOCK_COLOR; case 2: //BIRCH return BlockColor.SAND_BLOCK_COLOR; case 3: //JUNGLE return BlockColor.DIRT_BLOCK_COLOR; case 4: //Acacia return BlockColor.ORANGE_BLOCK_COLOR; case 5: //DARK OAK return BlockColor.BROWN_BLOCK_COLOR; } }
Example 5
Source File: BlockWood2.java From Nukkit with GNU General Public License v3.0 | 5 votes |
@Override public BlockColor getColor() { switch(getDamage() & 0x07){ case ACACIA: return BlockColor.ORANGE_BLOCK_COLOR; case DARK_OAK: return BlockColor.BROWN_BLOCK_COLOR; default: return BlockColor.WOOD_BLOCK_COLOR; } }
Example 6
Source File: BlockFlowerPot.java From Jupiter with GNU General Public License v3.0 | 4 votes |
@Override public BlockColor getColor(){ return BlockColor.BROWN_BLOCK_COLOR; }
Example 7
Source File: BlockBricksEndStone.java From Jupiter with GNU General Public License v3.0 | 4 votes |
@Override public BlockColor getColor(){ return BlockColor.BROWN_BLOCK_COLOR; }
Example 8
Source File: BlockNoteblock.java From Jupiter with GNU General Public License v3.0 | 4 votes |
@Override public BlockColor getColor(){ return BlockColor.BROWN_BLOCK_COLOR; }
Example 9
Source File: BlockHugeMushroomBrown.java From Jupiter with GNU General Public License v3.0 | 4 votes |
@Override public BlockColor getColor(){ return BlockColor.BROWN_BLOCK_COLOR; }
Example 10
Source File: BlockDoorDarkOak.java From Nukkit with GNU General Public License v3.0 | 4 votes |
@Override public BlockColor getColor() { return BlockColor.BROWN_BLOCK_COLOR; }
Example 11
Source File: BlockFenceGateDarkOak.java From Nukkit with GNU General Public License v3.0 | 4 votes |
@Override public BlockColor getColor() { return BlockColor.BROWN_BLOCK_COLOR; }
Example 12
Source File: BlockStairsDarkOak.java From Nukkit with GNU General Public License v3.0 | 4 votes |
@Override public BlockColor getColor() { return BlockColor.BROWN_BLOCK_COLOR; }
Example 13
Source File: BlockSoulSand.java From Nukkit with GNU General Public License v3.0 | 4 votes |
@Override public BlockColor getColor() { return BlockColor.BROWN_BLOCK_COLOR; }