Files
GameStarter/src/js/net/minecraft/client/world/block/BlockLog.js
T
2022-01-31 22:30:00 +01:00

10 lines
218 B
JavaScript

window.BlockLog = class extends Block {
constructor(id, textureSlotId) {
super(id, textureSlotId);
}
getTextureForFace(face) {
return this.textureSlotId + (face.isYAxis() ? 1 : 0);
}
}