Giter VIP home page Giter VIP logo

defaultworldtype's People

Contributors

melanx avatar

Watchers

 avatar  avatar

defaultworldtype's Issues

Strange filename on Linux

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

  1. Install the mod on Linux
  2. Check the config directory for the file as stated above

Expected behavior
The file world-types.txt is being placed in the correct directory.

Screenshots
No screenshots.

Need check for file already exists

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]

single_biome_surface options

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

Changing the preset of the Superflat worlds

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..

settings revert

Minecraft version

1.19.3

DefaultWorldType version

Forge version

The latest.log file

Issue description

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.

Steps to reproduce

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

Other information

https://discord.com/channels/411271477128724482/444745741253214219/1186743401828319373

data packs forced on

Minecraft version

1.20.1

DefaultWorldType version

1.20.1-4.0.3

Forge version

47.2.0

The latest.log file

https://pastebin.com/vPgqtHYC

Issue description

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)

Steps to reproduce

  1. fresh forge install
  2. add DefaultWorldType
  3. add some mod that has resource packs, for example xycraft override
  4. try and "disable" the resource packs from step 3 (in the given example, you "move" them to below the vanilla)
  5. note how when you click "done", resource packs do not reload but rather, if you go back to resource packs, they are reset to before you adjusted them

Other information

No response

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.