Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/datapack/dimension #3243

Merged
merged 29 commits into from
Jan 3, 2021
Merged

Feature/datapack/dimension #3243

merged 29 commits into from
Jan 3, 2021

Commits on Jan 3, 2021

  1. Start implementing datapack dimensions.

    Signed-off-by: Chris Sanders <zidane@spongepowered.org>
    Zidane authored and Faithcaio committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    0a33cb8 View commit details
    Browse the repository at this point in the history
  2. Implement DataPackType#persistent.

    Signed-off-by: Chris Sanders <zidane@spongepowered.org>
    Zidane authored and Faithcaio committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    8af99af View commit details
    Browse the repository at this point in the history
  3. Sigh

    Signed-off-by: Chris Sanders <zidane@spongepowered.org>
    Zidane authored and Faithcaio committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    c680a2e View commit details
    Browse the repository at this point in the history
  4. More work on dimension types.

    Signed-off-by: Chris Sanders <zidane@spongepowered.org>
    Zidane authored and Faithcaio committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    ca73181 View commit details
    Browse the repository at this point in the history
  5. Dimension type files now generate!

    Signed-off-by: Chris Sanders <zidane@spongepowered.org>
    Zidane authored and Faithcaio committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    3a3e734 View commit details
    Browse the repository at this point in the history
  6. Fix stack overflow on isMagic DamageSource check.

    Signed-off-by: Chris Sanders <zidane@spongepowered.org>
    Zidane authored and Faithcaio committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    1539be4 View commit details
    Browse the repository at this point in the history
  7. Sponge added data to DimensionType is now read.

    Signed-off-by: Chris Sanders <zidane@spongepowered.org>
    Zidane authored and Faithcaio committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    04b4183 View commit details
    Browse the repository at this point in the history
  8. Update for API changes.

    Signed-off-by: Chris Sanders <zidane@spongepowered.org>
    Zidane authored and Faithcaio committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    ad0d5c8 View commit details
    Browse the repository at this point in the history
  9. Current work. Still a lot to do...

    Signed-off-by: Chris Sanders <zidane@spongepowered.org>
    Zidane authored and Faithcaio committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    4b3678e View commit details
    Browse the repository at this point in the history
  10. Delete some invalid classes no longer needed.

    Signed-off-by: Chris Sanders <zidane@spongepowered.org>
    Zidane authored and Faithcaio committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    143bb9c View commit details
    Browse the repository at this point in the history
  11. Remove more invalid classes.

    Signed-off-by: Chris Sanders <zidane@spongepowered.org>
    Zidane authored and Faithcaio committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    f7e1bb4 View commit details
    Browse the repository at this point in the history
  12. More work.

    Signed-off-by: Chris Sanders <zidane@spongepowered.org>
    Zidane authored and Faithcaio committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    79ad35a View commit details
    Browse the repository at this point in the history
  13. tada

    kashike authored and Faithcaio committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    bae6100 View commit details
    Browse the repository at this point in the history
  14. Almost everything is implemented, still a ways to go rebuilding the W…

    …orldManager...
    
    Signed-off-by: Chris Sanders <zidane@spongepowered.org>
    Zidane authored and Faithcaio committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    041b4c1 View commit details
    Browse the repository at this point in the history
  15. Update for API changes. Dimension files now generate!

    Signed-off-by: Chris Sanders <zidane@spongepowered.org>
    Zidane authored and Faithcaio committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    559d06c View commit details
    Browse the repository at this point in the history
  16. Custom worlds now load once again.

    Still a few things to go before I can call this project complete.
    
    Signed-off-by: Chris Sanders <zidane@spongepowered.org>
    Zidane authored and Faithcaio committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    30e49e4 View commit details
    Browse the repository at this point in the history
  17. Determine if this is a new level.

    Fire ConstructWorldPropertiesEvent for the overworld if it is new.
    
    Signed-off-by: Chris Sanders <zidane@spongepowered.org>
    Zidane authored and Faithcaio committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    4cbe9be View commit details
    Browse the repository at this point in the history
  18. Do not write dimension templates to sub level data files.

    This is a Vanilla only concept that is kept to overworld only.
    
    Signed-off-by: Chris Sanders <zidane@spongepowered.org>
    Zidane authored and Faithcaio committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    e1af45c View commit details
    Browse the repository at this point in the history
  19. Strip non-minecraft dimensions from saving to world gen settings.

    This prevents world data from loading when someone has removed a world template. Vanilla spec actually stores their worlds this way to defend against the level and sublevels being affected by changes to the server.properties (mainly if the seed changes).
    
    In a future commit, I will write the Vanilla worlds to file as a template and have the file being the ultimate authority on what is read as properties.
    
    Signed-off-by: Chris Sanders <zidane@spongepowered.org>
    Zidane authored and Faithcaio committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    6d3a824 View commit details
    Browse the repository at this point in the history
  20. have some random worlds

    Faithcaio committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    03b59c3 View commit details
    Browse the repository at this point in the history
  21. Actually save the templates when calling saveTemplate.

    Update for API changes.
    
    Signed-off-by: Chris Sanders <zidane@spongepowered.org>
    Zidane authored and Faithcaio committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    e8e1c34 View commit details
    Browse the repository at this point in the history
  22. Implement API configurable biome providers.

    Signed-off-by: Chris Sanders <zidane@spongepowered.org>
    Zidane authored and Faithcaio committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    d4a7d75 View commit details
    Browse the repository at this point in the history
  23. fix after rebase

    Faithcaio committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    3817880 View commit details
    Browse the repository at this point in the history
  24. Implement API changes for exists.

    Signed-off-by: Chris Sanders <zidane@spongepowered.org>
    Zidane committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    fb8b8ce View commit details
    Browse the repository at this point in the history
  25. Bump API.

    Signed-off-by: Chris Sanders <zidane@spongepowered.org>
    Zidane committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    c6fa7aa View commit details
    Browse the repository at this point in the history
  26. Loading world templates by key now works

    Fixing saving templates failing if the directories don't exist.
    
    Signed-off-by: Chris Sanders <zidane@spongepowered.org>
    Zidane committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    04f1c72 View commit details
    Browse the repository at this point in the history
  27. Do not add the nether biomes to the builder's reset.

    Signed-off-by: Chris Sanders <zidane@spongepowered.org>
    Zidane committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    b143cda View commit details
    Browse the repository at this point in the history
  28. Update for API changes.

    Signed-off-by: Chris Sanders <zidane@spongepowered.org>
    Zidane committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    b155dd3 View commit details
    Browse the repository at this point in the history
  29. Update for API changes.

    Signed-off-by: Chris Sanders <zidane@spongepowered.org>
    Zidane committed Jan 3, 2021
    Configuration menu
    Copy the full SHA
    f302e6e View commit details
    Browse the repository at this point in the history