Skip to content

Commit 9e7711e

Browse files
committed
add eaglercraft as alternative, fix types again
1 parent 684261e commit 9e7711e

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

README.MD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,3 +188,4 @@ General:
188188
### Alternatives
189189

190190
- [https://github.com/ClassiCube/ClassiCube](ClassiCube - Better C# Rewrite) [DEMO](https://www.classicube.net/server/play/?warned=true)
191+
- [https://m.eaglercraft.com/](EaglerCraft) - Eaglercraft runnable on mobile (real Minecraft in the browser)

prismarine-viewer/viewer/lib/mesher/models.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ export function getSectionGeometry (sx, sy, sz, world: World) {
410410
tiles: {},
411411
// todo this can be removed here
412412
signs: {},
413-
isFull: true,
413+
// isFull: true,
414414
highestBlocks: {},
415415
hadErrors: false
416416
}

prismarine-viewer/viewer/lib/mesher/shared.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export type MesherGeometryOutput = {
2929
indices: number[],
3030
tiles: Record<string, BlockType>,
3131
signs: Record<string, any>,
32-
isFull: boolean
32+
// isFull: boolean
3333
highestBlocks: Record<string, { y: number, name: string }>
3434
hadErrors: boolean
3535
}

prismarine-viewer/viewer/lib/mesher/test/mesherTester.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export const setup = (version, initialBlocks: Array<[number[], string]>) => {
4141
reload()
4242

4343
const getLights = () => {
44-
return Object.fromEntries(getGeometry().faces.map(({ face, light }) => ([face, light * 15 - 2])))
44+
return Object.fromEntries(getGeometry().faces.map(({ face, light }) => ([face, (light ?? 0) * 15 - 2])))
4545
}
4646

4747
const setLight = (x: number, y: number, z: number, val = 0) => {

0 commit comments

Comments
 (0)