Jump to content
  • Home
  • Files
  • Docs
Topics
  • All Content

  • This Topic
  • This Forum

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • Minecraft Forge
  • Suggestions
  • Missing world generation hook
Currently Supported: 1.16.X (Latest) and 1.15.X (LTS)
Sign in to follow this  
Followers 0
therealergo

Missing world generation hook

By therealergo, June 10, 2014 in Suggestions

  • Reply to this topic
  • Start new topic

Recommended Posts

therealergo    0

therealergo

therealergo    0

  • Tree Puncher
  • therealergo
  • Members
  • 0
  • 2 posts
Posted June 10, 2014

    I have been considering porting my mod, Cube World (http://www.planetminecraft.com/mod/cube-world-1227625/) over to forge, but it requires the WorldType to define which ChunkProvider a WorldProvider creates. Currently, a WorldType can only redefine the overworld's ChunkProvider, with the other two dimension's ChunkProvder's defined by the createChunkGenerator() method in each WorldProvider, but this prevents changing the ChunkProvider for those dimensions without modifying base files. There needs to be a hook in WorldType that allows it to define the ChunkProvider that each dimension creates.

  • Quote

Share this post


Link to post
Share on other sites

fabricator77    0

fabricator77

fabricator77    0

  • Tree Puncher
  • fabricator77
  • Members
  • 0
  • 26 posts
Posted June 11, 2014

You can just de-register dimensions -1 and 1, and put your own WorldProvider in their place. Look at forge's DimensionManager.

  • Quote

Share this post


Link to post
Share on other sites

therealergo    0

therealergo

therealergo    0

  • Tree Puncher
  • therealergo
  • Members
  • 0
  • 2 posts
Posted June 11, 2014

I'm aware that you can do that, but it means that any other mod which has to change the ChunkProviders will conflict with it. Changing this would only be a minor change, but it would help compatibility.

  • Quote

Share this post


Link to post
Share on other sites

LexManos    1620

LexManos

LexManos    1620

  • Reality Controller
  • LexManos
  • Forge Code God
  • 1620
  • 8958 posts
Posted June 11, 2014

PR it, but there is always the pain of finding the world type. Vanilla behavior doesnt care about world types for the nether/end. They can be useful {like for a void generation} but when it comes to that, its not really that big of a deal. Not many people use it do they?

  • Quote

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Patreon: http://www.patreon.com/lexmanos
Paypal: http://paypal.me/LexManos

BitCoin: 1Q8rWvUNMM2T1ZfDaFeeYQyVXtYoeT6tTn

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

    • Insert image from URL
×
  • Desktop
  • Tablet
  • Phone
Sign in to follow this  
Followers 0
Go To Topic Listing



  • Recently Browsing

    No registered users viewing this page.

  • Posts

    • GhostGamesFSM
      1.16 Ore generation.

      By GhostGamesFSM · Posted 5 minutes ago

      sorry for the txt, but thanks for the comment. I don't have a BiomeLoadingEvent, but I just have to see how I do that. When I have that I send you a message if that works.
    • HOTSAUCEMAN
      help with loading my world

      By HOTSAUCEMAN · Posted 6 minutes ago

      just ran it again to get more updated logs  debug-1.log.gz
    • HOTSAUCEMAN
      help with loading my world

      By HOTSAUCEMAN · Posted 10 minutes ago

      when loading into my world it says its loading, and then changes to a dirt background with no text; i've looked at multiple threads, forums and videos but i can't find any issue similar to mine (at least on a similar version)  debug-1.log.gz
    • Beethoven92
      [1.16.5] Beacon Overwrite (Screen Error)

      By Beethoven92 · Posted 17 minutes ago

      I apologize...i misread the part where you say that your custom beacon inventory actually opens fine! Yeah, the proximity check is doing its job, the problem seems to be that when pressing the confirm button you are sending a vanilla CUpdateBeaconPacket, then handled by the server, which will check if your open container is a BeaconContainer. It would be helpful to see the complete code you have, please post a link to your repository
    • Beethoven92
      [1.16.5] How to make EnchantedBook go to Custom ItemGroup

      By Beethoven92 · Posted 35 minutes ago

      Show what you tried then. It should be "enchantment.your_mod_id.your_enchantment_id"
  • Topics

    • GhostGamesFSM
      2
      1.16 Ore generation.

      By GhostGamesFSM
      Started 17 hours ago

    • HOTSAUCEMAN
      1
      help with loading my world

      By HOTSAUCEMAN
      Started 10 minutes ago

    • Nyko
      3
      [1.16.5] Beacon Overwrite (Screen Error)

      By Nyko
      Started Yesterday at 07:22 AM

    • samjviana
      5
      [1.16.5] How to make EnchantedBook go to Custom ItemGroup

      By samjviana
      Started Sunday at 10:00 PM

    • DrigglyEast
      0
      Fatally Missing Registry Entries

      By DrigglyEast
      Started 2 hours ago

  • Who's Online (See full list)

    • alexro871
    • GhostGamesFSM
    • Beethoven92
    • IntentScarab
    • CookieLukas
    • Tavi007
    • HOTSAUCEMAN
    • zlappedx3
    • am pro
  • All Activity
  • Home
  • Minecraft Forge
  • Suggestions
  • Missing world generation hook
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community