-
Notifications
You must be signed in to change notification settings - Fork 25
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
Update for 1.14 #227
Comments
Happy to help. |
Haven't gotten to it yet, still working on some other stuff (I've got to update tons and tons of things myself), but I'll need COG before I can release. Was just one of those "oh god, I didn't even think about that" moments. The real problem will be that metadata is 100% gone and COG can't cheat any more using getStateFromMeta, which is going to be an utter nightmare to deal with. |
List of things I cannot do:
I created a branch with what I could do. |
Cool. Do you think you can submit a PR? Looks like the NBT matching stuff that was added for Gregtech paid off. |
Just a ping reminder. Haven't seen any commits related to 1.14 yet. |
I gave it a go for the afternoon. Wow, so much has changed; it's overwhelming. This is going to take an indefinite amount of time. |
Yeah, I hear ya there. It's why I looked at seeing what I could do, but there are large systems I just don't want to mess with,even though I could. And other things that I just don't know anything about. |
I've been working on the trivial stuff. The networking turned out to be easier than expected, largely because there are no longer packet size limits. The GUI and world gen refactoring is going to take a while. The "great flattening" of blocks might also simplify things, as the block state (or meta) is no longer so relevant to ore generation. |
Great about the networking. Guis haven't been too bad in my experience so far. More along the lines of having to register new bits of it (TEs are registered, but now its based on a TE Type object, and if you want a gui, that means registering a ContainerType). But then again I haven't poked around with main menu stuff, so I could see how that could get hairy. And yeah, the flattening will simplify generation, there was just so much involved there that I didn't want to make the attempt. I wasn't familiar with large portions of the system and I could have easily broken something and not known it (and then there's the 27000 config files that have to get updated). |
How're things coming? Haven't seen a push since August. |
It hasn't progressed any, now that the easy stuff is done. I've been busy with other things, but I will try to get back to it. The motivation is a bit lacking, as this is not my mod/code originally. I only took it over because it was a dependency of my now dormant PFAA mod. |
I hear ya, the whole "maintaining due to dependency of own mods" is why I've done what I can. I'm happy to help, but there's good chunks of underlying systems that I just don't understand. I'm pretty sure that the distribution math (the stuff that can be drawn as a wireframe or be used to query against blocks, whatever that underlying data structure is) is already being handled in a way that is going to be safe to query from threads with minimal alterations. But I'll admit limited multithreading experience. I also managed to hook into replacing an ore generator last night (I managed to extract enough info from what was public to remove the iron ore generator and then replace it with altered data (that data being parity with what was extracted, didn't get a chance to write new values; proof of concept)). So I've got a little bit more understanding of what vanilla is doing. See this method: What's needed from that baseline is creating a |
Got a couple hours to dig into this again. Found a whole bunch more low hanging fruit that I've been able to knock out ("oh Biome#baseHeight is now Biome#depth, cool"). But found just as many "TODO" items where I've commented out a large swath of code that just has oodles of errors that are either all related, or point to things that don't exist any more (looking at you, ConsoleCommands). Gui stuff is looking a lot more almost-ready, just a few things that I don't know how to deal with yet. As well as some blind jabs ("getNearestStructure is probably now findNearest...code isn't throwing errors at least"). Will make a commit tonight or later this weekend. |
Digging into this some more. Have so far resolved a few errors, but there's a major hurdle that the distribution wants to determine its expected size using an XML property that wants World and blockpos ( The only option I can think of here is to change the distribution's There's a similar issue with wireframes being turned on or off per world ( And with |
Circled back around to this once again (finally). Want to get it working before I do anything up migrating to a new MC version (ha). I think I found the core issue with distributions not showing up with default settings. I had to strip things down to a really really bare bones config file state to find it.
This results in COG being inactive all the time. Forcing it to be true, on the other hand, locks the game up during worldgen (keeping in mind that this is still a stripped down config set, only vanilla.xml and only with vanilla-like distribution options). :\ Last entry in the log:
And because the project I have doesn't let me debug things (I get errors like "can't find system mod 'minecraft'" or "[mjava.lang.NoSuchFieldException: ucp") it further restricts my ability to go in and watch execution. |
Thanks for looking into this again. Nice find about
It's possible that the name of the dimension has changed, or the |
Entirely probable. Might stringify to "minecraft:overworld" The numerical ID is super-gone by 1.19 though, the only thing left is legacy migration code, but it's not usable meaningfully. |
...and of course the next day, my working dev environment no longer works. |
Ah christ, I'm going to need to do it again myself aren't I.
The text was updated successfully, but these errors were encountered: