Jump to content

jottyfan

Members
  • Posts

    4
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

jottyfan's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Thanks for your responses. As far as I've understood, replacing BlockPos doesn't help to improve minecraft to run smoother. I can accept this due to the benchmark results. Maybe it's just forge itself that gave me the performance boost on minecraft 1.8. Then it would be fine enough for me. I've tried this out by installing the latest version of forge and run minecraft 1.8.1 native and forge 11.14.1.1336, and found out that: * with minecraft 1.8.1 I've got about 60 fps on flying around in creative mode * with forge I've got about 70 fps on flying around in creative mode So there seems to be a performance boost simply by using forge instead of vanilla only - this could be what I thought BlockPos replacement could have done. For comparison: on 1.7.10 (vanilla) I got 55 fps on same settings - seems I've been too fastidious to realize reality. Anyway, this is a good point to give up the migration project. But - I've learned a lot about forge, and if there is something for me to help in making forge improve minecraft's performance, please let me know. Regards
  2. Ok, so if this is the case, I wonder why minecraft became so much slower in 1.8 compared to 1.7. I really cannot play 1.8 on a quad core i5 with 16 GB ram - because of lags. What other reason could it be? Besides, I did the benchmark tests also and added a method to compare the real int values also, and this is the result: t.m.BlockPosBM.blockPos avgt 10 1,239 0,095 ns/op t.m.BlockPosBM.intArr avgt 10 1,242 0,068 ns/op t.m.BlockPosBM.ints avgt 10 1,187 0,038 ns/op I'm not sure how to interpret this results - but it seems really not to make this big difference. But why is minecraft running smooth on my computer after the described changes and lagging if I use the original version? Maybe this benchmark test doesn't come close enough to reality? I'm still confused...
  3. Well, thanks for your comments, I think this is great for discussions, and maybe there are some better solutions. If so, I'd like to know, just post it here. If values types comes to Java one day, the BlockPos class may be a good solution. But for now, minecraft original sources (1.8.3) are build against java 1.7.0_55 (currently we've got 1.8 ), and I wonder when the performance boost could come. May it be that new Date() is bad for time measures, but I could also play much smoother after changing. And this is what I want to reach - make minecraft 1.8 playable again without lags. That was my intension, and waiting for a better release in the future is no solution for me. About the vm: I'm using oracle java 1.8.0_31, and if this would be as smart as mentioned, why can I still see this big performance differences? Using an int[] instead of a new class is really faster, this is a fact. Next topic: the optifine people. I didn't know about disagreements with them, their changes to minecraft have made really great performance boosts on old versions, and I think that their opinion should at least be heard. I wouldn't be able to do what they did. @LexManos: if you still have found a better solution, where can I find it to try it out? Maybe it gives me the performance boost on my computer to make minecraft smooth again. Well, if forge rejects to do something into this direction, any other project could do so. The time of minecraft's public boost seems to be over since Microsoft built it, but if it could become playable again (currently, in 1.8.3 native it isn't), I suppose it to be interesting again. Whatever Microsoft will do with the game, if they publish a new version, people will look at performance and mod compatibilities first - and this is why forge should care about such performance things. Just my opinions, but I'm open for yours. Regards
  4. Hi out there, with Minecraft 1.8 BlockPos was introduced to keep game coordinates x, y and z including its operations for easier developement and (as told) easier modding. Nevertheless, the great people from optifine found out that minecraft became much slower because of heavily using such constructors. I tried to find a better solution for the BlockPos way and found out that using an int[] with 3 fields (0 = x, 1 = y, 2 = z) is much faster. But how could this information help? I set up a forge clone on my computer and tried some experiments, finding real performance boosts and could make Minecraft smooth playable again on my computer. Now I'm trying to share this solution, maybe one of you knows what to do with this. I'd like to see my changes in forge main branch, but I suppose this change is too big for forge to accept it. But maybe someone is interested in this, I give reports from time to time on my homepage for this topic: http://jottyfan.de/minecraft/blockpost/. In the end, there is a download of the generated patch files, if anyone wants to try this on his own computer. Could be that I didn't do things right, so be careful - I didn't want to do some harm, just to make the minecraft world a bit better as this is still the greatest game that I know. This way, I'd like to give sth. back to all of you modders that created really fantastic extensions. Regards
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.