Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Vitaly
248d5a8c00 add new hills generator 2024-04-02 11:22:05 +03:00
4 changed files with 60 additions and 49 deletions

View file

@ -49,7 +49,7 @@
"esbuild": "^0.19.3",
"esbuild-plugin-polyfill-node": "^0.3.0",
"express": "^4.18.2",
"flying-squid": "npm:@zardoy/flying-squid@^0.0.15",
"flying-squid": "zardoy/space-squid#custom-generator",
"fs-extra": "^11.1.1",
"google-drive-browserfs": "github:zardoy/browserfs#google-drive",
"iconify-icon": "^1.0.8",

101
pnpm-lock.yaml generated
View file

@ -85,8 +85,8 @@ importers:
specifier: ^4.18.2
version: 4.18.2
flying-squid:
specifier: npm:@zardoy/flying-squid@^0.0.15
version: /@zardoy/flying-squid@0.0.15
specifier: zardoy/space-squid#custom-generator
version: github.com/zardoy/space-squid/2c396a9405025f5aed3d1241beccfec2a8f3acbc
fs-extra:
specifier: ^11.1.1
version: 11.1.1
@ -5692,46 +5692,6 @@ packages:
tslib: 1.14.1
dev: true
/@zardoy/flying-squid@0.0.15:
resolution: {integrity: sha512-VooP9XuzNQVL3y0zlaU5wStRm1vfQIXAzVNHuvMoMgyIyOiD7A59QzVZT93GAoTyUBHTwqweXMPQftjywUy62A==}
engines: {node: '>=8'}
hasBin: true
dependencies:
change-case: 4.1.2
colors: 1.4.0
diamond-square: github.com/zardoy/diamond-square/915fce8e27fe8eb45464d89b9563956afa4f7687
emit-then: 2.0.0
event-promise: 0.0.1
exit-hook: 2.2.1
flatmap: 0.0.3
long: 5.2.3
minecraft-data: 3.62.0
minecraft-protocol: github.com/zardoy/minecraft-protocol/2c14a686bfe7cbd9a5c87b629b402295ee86219f
mkdirp: 2.1.6
moment: 2.30.1
needle: 2.9.1
node-gzip: 1.1.2
node-rsa: 1.1.1
prismarine-chunk: 1.35.0(minecraft-data@3.62.0)
prismarine-entity: 2.3.1
prismarine-item: 1.14.0
prismarine-nbt: 2.5.0
prismarine-provider-anvil: github.com/zardoy/prismarine-provider-anvil/0ddcd9d48574113308e1fbebef60816aced0846f(minecraft-data@3.62.0)
prismarine-windows: 2.9.0
prismarine-world: github.com/zardoy/prismarine-world/c358222204d21fe7d45379fbfcefb047f926c786
random-seed: 0.3.0
range: 0.0.3
readline: 1.3.0
typed-emitter: 1.4.0
uuid-1345: 1.0.2
vec3: 0.1.8
yaml: 2.4.1
yargs: 17.7.2
transitivePeerDependencies:
- encoding
- supports-color
dev: false
/@zardoy/react-util@0.2.0(react-dom@18.2.0)(react@18.2.0):
resolution: {integrity: sha512-glABtx54mh4XSaK6BNALWE3mlshPjcPwPsRj/GnOXEA7WJY/6n43iJoukbaYF3758mGZRU5Fq6gklyFjBg0yHQ==}
engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0}
@ -12483,7 +12443,7 @@ packages:
minecraft-data: 3.62.0
prismarine-block: github.com/zardoy/prismarine-block/ada4ec3fdfbbc1cc20ab01d0e23f0718a77cc1a0
prismarine-nbt: 2.2.1
prismarine-world: github.com/zardoy/prismarine-world/c358222204d21fe7d45379fbfcefb047f926c786
prismarine-world: github.com/zardoy/prismarine-world/6ae6f009d38460de284f8c226c665f04cbad9465
vec3: 0.1.8
dev: false
@ -13832,6 +13792,10 @@ packages:
semver: 7.6.0
dev: true
/simplex-noise@4.0.1:
resolution: {integrity: sha512-zl/+bdSqW7HJOQ0oDbxrNYaF4F5ik0i7M6YOYmEoIJNtg16NpvWaTTM1Y7oV/7T0jFljawLgYPS81Uu2rsfo1A==}
dev: false
/sisteransi@1.0.5:
resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==}
dev: true
@ -15929,7 +15893,7 @@ packages:
prismarine-recipe: 1.3.1(prismarine-registry@1.7.0)
prismarine-registry: 1.7.0
prismarine-windows: 2.9.0
prismarine-world: github.com/zardoy/prismarine-world/c358222204d21fe7d45379fbfcefb047f926c786
prismarine-world: github.com/zardoy/prismarine-world/6ae6f009d38460de284f8c226c665f04cbad9465
protodef: 1.15.0
typed-emitter: 1.4.0
vec3: 0.1.8
@ -16037,8 +16001,8 @@ packages:
- minecraft-data
dev: false
github.com/zardoy/prismarine-world/c358222204d21fe7d45379fbfcefb047f926c786:
resolution: {tarball: https://codeload.github.com/zardoy/prismarine-world/tar.gz/c358222204d21fe7d45379fbfcefb047f926c786}
github.com/zardoy/prismarine-world/6ae6f009d38460de284f8c226c665f04cbad9465:
resolution: {tarball: https://codeload.github.com/zardoy/prismarine-world/tar.gz/6ae6f009d38460de284f8c226c665f04cbad9465}
name: prismarine-world
version: 3.6.2
engines: {node: '>=8.0.0'}
@ -16058,3 +16022,48 @@ packages:
- supports-color
- utf-8-validate
dev: false
github.com/zardoy/space-squid/2c396a9405025f5aed3d1241beccfec2a8f3acbc:
resolution: {tarball: https://codeload.github.com/zardoy/space-squid/tar.gz/2c396a9405025f5aed3d1241beccfec2a8f3acbc}
name: '@zardoy/flying-squid'
version: 0.0.0-dev
engines: {node: '>=8'}
hasBin: true
prepare: true
requiresBuild: true
dependencies:
change-case: 4.1.2
colors: 1.4.0
diamond-square: github.com/zardoy/diamond-square/915fce8e27fe8eb45464d89b9563956afa4f7687
emit-then: 2.0.0
event-promise: 0.0.1
exit-hook: 2.2.1
flatmap: 0.0.3
long: 5.2.3
minecraft-data: 3.62.0
minecraft-protocol: github.com/zardoy/minecraft-protocol/2c14a686bfe7cbd9a5c87b629b402295ee86219f
mkdirp: 2.1.6
moment: 2.30.1
needle: 2.9.1
node-gzip: 1.1.2
node-rsa: 1.1.1
prismarine-chunk: 1.35.0(minecraft-data@3.62.0)
prismarine-entity: 2.3.1
prismarine-item: 1.14.0
prismarine-nbt: 2.5.0
prismarine-provider-anvil: github.com/zardoy/prismarine-provider-anvil/0ddcd9d48574113308e1fbebef60816aced0846f(minecraft-data@3.62.0)
prismarine-windows: 2.9.0
prismarine-world: github.com/zardoy/prismarine-world/6ae6f009d38460de284f8c226c665f04cbad9465
random-seed: 0.3.0
range: 0.0.3
readline: 1.3.0
simplex-noise: 4.0.1
typed-emitter: 1.4.0
uuid-1345: 1.0.2
vec3: 0.1.8
yaml: 2.4.1
yargs: 17.7.2
transitivePeerDependencies:
- encoding
- supports-color
dev: false

View file

@ -220,7 +220,7 @@ const plugins = [
const { resolveDir } = pluginData
//@ts-ignore
const [, userPath, skipFiles] = /^esbuild-import-glob\(path:(.+),skipFiles:(.+)\)+$/g.exec(path)
const files = (await fs.promises.readdir(join(resolveDir, userPath))).filter(f => !skipFiles.includes(f))
const files = (await fs.promises.readdir(join(resolveDir, userPath))).filter(f => !skipFiles.includes(f)).filter(x => x.endsWith('.js'))
return {
contents: `module.exports = { ${files.map(f => `'${f}': require('./${join(userPath, f)}')`).join(',')} }`,
resolveDir,

View file

@ -61,7 +61,9 @@ const defaultOptions = {
excludeCommunicationDebugEvents: [],
preventDevReloadWhilePlaying: false,
numWorkers: 4,
localServerOptions: {} as any,
localServerOptions: {
gameMode: 1,
} as any,
preferLoadReadonly: false,
disableLoadPrompts: false,
guestUsername: 'guest',