melanx / defaultworldtype Goto Github PK
View Code? Open in Web Editor NEWA mod that changes the default world type to that one specified in config.
License: Apache License 2.0
A mod that changes the default world type to that one specified in config.
License: Apache License 2.0
Version: defaultworldtype-1.16.3-2.0.2.jar
Minecraft: 1.16.5
Forge: 36.1.61
Default World Type: skyblockbuilder.custom_skyblock
Modpack: SkyQuesting Updated (a small pack for me and my friends)
Description
The mod generates a strange filename on Linux, defaultworldtype\world-types.txt. On Linux a forward slash is used to separate directories from filenames. This is not a breaking issue but now there is just a random filename between other config files and the file is not located in the defaultworldtype directory.
How to reproduce
Expected behavior
The file world-types.txt is being placed in the correct directory.
Screenshots
No screenshots.
get error on server if file already exists, heres the error:
[06Jun2020 16:02:34.458] [modloading-worker-6/ERROR] [de.melanx.defaultworldtype.DefaultWorldType/]: Failed to create defaultworldtype config directory
java.nio.file.FileAlreadyExistsException: /multicraft/servers/server9609/config/defaultworldtype
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:88) ~[?:1.8.0_211]
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) ~[?:1.8.0_211]
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) ~[?:1.8.0_211]
at sun.nio.fs.UnixFileSystemProvider.createDirectory(UnixFileSystemProvider.java:384) ~[?:1.8.0_211]
at java.nio.file.Files.createDirectory(Files.java:674) ~[?:1.8.0_211]
at de.melanx.defaultworldtype.DefaultWorldType$ClientConfig.setup(DefaultWorldType.java:110) ~[?:1.0.1]
at de.melanx.defaultworldtype.DefaultWorldType.(DefaultWorldType.java:44) ~[?:1.0.1]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_211]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_211]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_211]
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_211]
at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_211]
at net.minecraftforge.fml.javafmlmod.FMLModContainer.constructMod(FMLModContainer.java:131) ~[?:31.2]
at java.util.function.Consumer.lambda$andThen$0(Consumer.java:65) ~[?:1.8.0_211]
at java.util.function.Consumer.lambda$andThen$0(Consumer.java:65) ~[?:1.8.0_211]
at net.minecraftforge.fml.ModContainer.transitionState(ModContainer.java:112) ~[?:?]
at net.minecraftforge.fml.ModList.lambda$null$10(ModList.java:135) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:184) [?:1.8.0_211]
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382) [?:1.8.0_211]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481) [?:1.8.0_211]
at java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:291) [?:1.8.0_211]
at java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731) [?:1.8.0_211]
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) [?:1.8.0_211]
at java.util.concurrent.ForkJoinPool$WorkQueue.execLocalTasks(ForkJoinPool.java:1040) [?:1.8.0_211]
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1058) [?:1.8.0_211]
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) [?:1.8.0_211]
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) [?:1.8.0_211]
Is your feature request related to a problem? Please describe.
for the single_biome_surface world type I do not have the option to select they type of biome for the world
Describe the solution you'd like
I would like an option to select the type of biome to make the world
Describe alternatives you've considered
Thanks and I enjoy your mod very much
Hi everyone, I wanted to know some information.
it is possible, after having set the world as "superflat", to put a model of the world in particular as Default
(Example: minecraft:bedrock,10*minecraft:lava,80*minecraft:clay;minecraft:plains;mineshaft,stronghold(count=10 spread=10),dungeon
)
Ah and I also wanted to know how to put the world superflat by default of course..
I know how to change the default world type to superflat. However, how would I go about changing the type of superflat world that is generated?
1.19.3
When creating a new world, attempting to change the Superflat preset will revert it to the default world setting, making it impossible to use anything other than the default preset.
Video by @drummerdude2003
on Discord.
Pack shown is Star Technology, version 1.19.2-3.1.0 of the mod.
https://github.com/MelanX/DefaultWorldType/assets/26039509/1715b005-98d1-4b1d-b6f0-265b30c5a9ff
https://discord.com/channels/411271477128724482/444745741253214219/1186743401828319373
1.20.1
1.20.1-4.0.3
47.2.0
if i have a mod that adds custom resource packs (for example: xycraft override which adds connected textures, by default enabled)
With DefaultWorldType mod in the pack, it prevents me manipulating or dissabling the resource packs (in the example of xycraft, the packs need to go "below" the "vanilla" pack in order to dissable them, but this mod prevents that)
No response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.