Java Code Examples for cn.nukkit.utils.BlockColor#ORANGE_BLOCK_COLOR
The following examples show how to use
cn.nukkit.utils.BlockColor#ORANGE_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: BlockDoubleSlabRedSandstone.java From Nukkit with GNU General Public License v3.0 | 5 votes |
@Override public BlockColor getColor() { switch (this.getDamage() & 0x07) { case 0: return BlockColor.ORANGE_BLOCK_COLOR; case 1: return BlockColor.PURPLE_BLOCK_COLOR; default: return BlockColor.STONE_BLOCK_COLOR; } }
Example 6
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 7
Source File: BlockCarrot.java From Jupiter with GNU General Public License v3.0 | 4 votes |
@Override public BlockColor getColor(){ return BlockColor.ORANGE_BLOCK_COLOR; }
Example 8
Source File: BlockCocoa.java From Jupiter with GNU General Public License v3.0 | 4 votes |
@Override public BlockColor getColor(){ return BlockColor.ORANGE_BLOCK_COLOR; }
Example 9
Source File: BlockDoorAcacia.java From Nukkit with GNU General Public License v3.0 | 4 votes |
@Override public BlockColor getColor() { return BlockColor.ORANGE_BLOCK_COLOR; }
Example 10
Source File: BlockSlabRedSandstone.java From Nukkit with GNU General Public License v3.0 | 4 votes |
@Override public BlockColor getColor() { return BlockColor.ORANGE_BLOCK_COLOR; }
Example 11
Source File: BlockStairsAcacia.java From Nukkit with GNU General Public License v3.0 | 4 votes |
@Override public BlockColor getColor() { return BlockColor.ORANGE_BLOCK_COLOR; }
Example 12
Source File: BlockPumpkin.java From Nukkit with GNU General Public License v3.0 | 4 votes |
@Override public BlockColor getColor() { return BlockColor.ORANGE_BLOCK_COLOR; }
Example 13
Source File: BlockFenceGateAcacia.java From Nukkit with GNU General Public License v3.0 | 4 votes |
@Override public BlockColor getColor() { return BlockColor.ORANGE_BLOCK_COLOR; }
Example 14
Source File: BlockRedSandstone.java From Nukkit with GNU General Public License v3.0 | 4 votes |
@Override public BlockColor getColor() { return BlockColor.ORANGE_BLOCK_COLOR; }
Example 15
Source File: BlockStairsRedSandstone.java From Nukkit with GNU General Public License v3.0 | 4 votes |
@Override public BlockColor getColor() { return BlockColor.ORANGE_BLOCK_COLOR; }