Java Code Examples for cn.nukkit.block.Block#LOG

The following examples show how to use cn.nukkit.block.Block#LOG . 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: ObjectTree.java    From Nukkit with GNU General Public License v3.0 5 votes vote down vote up
private boolean overridable(int id) {
    switch (id) {
        case Block.AIR:
        case Block.SAPLING:
        case Block.LOG:
        case Block.LEAVES:
        case Block.SNOW_LAYER:
        case Block.LOG2:
        case Block.LEAVES2:
            return true;
        default:
            return false;
    }
}
 
Example 2
Source File: ObjectTree.java    From Nukkit with GNU General Public License v3.0 5 votes vote down vote up
protected boolean overridable(int id) {
    switch (id) {
        case Block.AIR:
        case Block.SAPLING:
        case Block.LOG:
        case Block.LEAVES:
        case Block.SNOW_LAYER:
        case Block.LOG2:
        case Block.LEAVES2:
            return true;
        default:
            return false;
    }
}
 
Example 3
Source File: ObjectJungleTree.java    From Nukkit with GNU General Public License v3.0 4 votes vote down vote up
@Override
public int getTrunkBlock() {
    return Block.LOG;
}
 
Example 4
Source File: ObjectSpruceTree.java    From Nukkit with GNU General Public License v3.0 4 votes vote down vote up
@Override
public int getTrunkBlock() {
    return Block.LOG;
}
 
Example 5
Source File: ObjectOakTree.java    From Nukkit with GNU General Public License v3.0 4 votes vote down vote up
@Override
public int getTrunkBlock() {
    return Block.LOG;
}
 
Example 6
Source File: ObjectJungleTree.java    From Nukkit with GNU General Public License v3.0 4 votes vote down vote up
@Override
public int getTrunkBlock() {
    return Block.LOG;
}
 
Example 7
Source File: ObjectTree.java    From Nukkit with GNU General Public License v3.0 4 votes vote down vote up
public int getTrunkBlock() {
    return Block.LOG;
}
 
Example 8
Source File: ObjectBirchTree.java    From Nukkit with GNU General Public License v3.0 4 votes vote down vote up
@Override
public int getTrunkBlock() {
    return Block.LOG;
}
 
Example 9
Source File: ObjectSpruceTree.java    From Nukkit with GNU General Public License v3.0 4 votes vote down vote up
@Override
public int getTrunkBlock() {
    return Block.LOG;
}
 
Example 10
Source File: ObjectOakTree.java    From Nukkit with GNU General Public License v3.0 4 votes vote down vote up
@Override
public int getTrunkBlock() {
    return Block.LOG;
}
 
Example 11
Source File: ObjectBirchTree.java    From Jupiter with GNU General Public License v3.0 4 votes vote down vote up
@Override
public int getTrunkBlock() {
    return Block.LOG;
}
 
Example 12
Source File: ObjectTree.java    From Nukkit with GNU General Public License v3.0 4 votes vote down vote up
public int getTrunkBlock() {
    return Block.LOG;
}
 
Example 13
Source File: ObjectBirchTree.java    From Nukkit with GNU General Public License v3.0 4 votes vote down vote up
@Override
public int getTrunkBlock() {
    return Block.LOG;
}
 
Example 14
Source File: ObjectSpruceTree.java    From Jupiter with GNU General Public License v3.0 4 votes vote down vote up
@Override
public int getTrunkBlock() {
    return Block.LOG;
}
 
Example 15
Source File: ObjectOakTree.java    From Jupiter with GNU General Public License v3.0 4 votes vote down vote up
@Override
public int getTrunkBlock() {
    return Block.LOG;
}
 
Example 16
Source File: ObjectJungleTree.java    From Jupiter with GNU General Public License v3.0 4 votes vote down vote up
@Override
public int getTrunkBlock() {
    return Block.LOG;
}
 
Example 17
Source File: ObjectTree.java    From Jupiter with GNU General Public License v3.0 4 votes vote down vote up
public int getTrunkBlock() {
    return Block.LOG;
}