📜  minecraft modding blockstates - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:26.149000             🧑  作者: Mango

代码示例1
switch (meta) {
    case 0: { ... } // south and on the lower half of the block
    case 1: { ... } // south on the upper side of the block
    case 2: { ... } // north and on the lower half of the block
    case 3: { ... } // north and on the upper half of the block
    ... etc. ...
}