implement block types
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
window.BlockLog = class extends Block {
|
||||
|
||||
constructor(id, textureSlotId) {
|
||||
super(id, textureSlotId);
|
||||
}
|
||||
|
||||
getTextureForFace(face) {
|
||||
return this.textureSlotId + (face.isYAxis() ? 1 : 0);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user