Earlier quoted context omitted.
Could you give examples of what you mean? I've had a look through and there are certainly stylistic things I'd do differently, such as using "var" and LINQ more, and capitalising method names. But it's easy enough to understand despite that.
Don't get me wrong, it's not "bad" code (from a brief glance) but it's just clearly written as if it was Java code, and probably not in a usual IDE like Visual Studio, Rider or VSCode /w C# plugin (as that would typically scaffold a more C#-esque style). Here's what I've noticed so far: - Uses camelCase instead of PascalCase - Uses setter and getter methods instead of C# properties. - Uses reverse DNS namespace com.m…
Convert SimCity 2000 cities into Minecraft worlds
31–40 of 154 posts
Re: Convert SimCity 2000 cities into Minecraft worlds
#32Re: Convert SimCity 2000 cities into Minecraft worlds
#33Earlier quoted context omitted.
Servers are not interoperable by default. There is 3rd party software that acts as a proxy letting Bedrock players connect to Java servers but it'll just remove anything that the more limited client doesn't support. They both use completely different network stacks, Bedrock using RakNet over UDP, Java using Netty (?) over TCP, so they have to be translated accordingly.
Thanks! So I gather Microsoft has renamed Bedrock Edition to just "Minecraft" and then there's "Minecraft: Java Edition". What's the player base split between these? Do PC players still generally prefer the Java Edition?
The majority of players that stream/post videos or use/write mods use Java.
If you want to play with friends (Macos, Linux etc.) you need Java, because Bedrock is Windows and consoles only.
Re: Convert SimCity 2000 cities into Minecraft worlds
#34Re: Convert SimCity 2000 cities into Minecraft worlds
#35This reminds me a lot of SimCopter (1996) where you could also import your SC2k city and fly around and do missions. Mostly about helping people in various forms of distress by picking them up and flying to various destinations. Great flashback from 90's gaming, I remember tossing people out at random when flying which was always hilarious when you're a young kid. You could then pick them up and fly them to the hospi…
SimCopter wasn't the only game that allowed you to import from SC2k -- the city import is the only notable feature of the otherwise-unremarkable Streets of SimCity[0]. [0] https://en.wikipedia.org/wiki/Streets_of_SimCity
Re: Convert SimCity 2000 cities into Minecraft worlds
#36Earlier quoted context omitted.
Don't get me wrong, it's not "bad" code (from a brief glance) but it's just clearly written as if it was Java code, and probably not in a usual IDE like Visual Studio, Rider or VSCode /w C# plugin (as that would typically scaffold a more C#-esque style). Here's what I've noticed so far: - Uses camelCase instead of PascalCase - Uses setter and getter methods instead of C# properties. - Uses reverse DNS namespace com.m…
https://github.com/jgosar/mine-city-2000/blob/master/MineCit... contains "private byte[][][][][][][] _blockDatas;" which made my eye twitch. But generally I think it's just older than the git history indicates. The sln file mentions Visual Studio 2010!
The original README mentions .NET Framework 4, so C# has progressed a fair amount since.
[0] https://github.com/jgosar/mine-city-2000/commit/f1cbe98601c4...
Re: Convert SimCity 2000 cities into Minecraft worlds
#37Earlier quoted context omitted.
> only works on java edition Yes, as the project says, Minecraft. Not the cut-down mobile game with microtransactions that claims to be Minecraft.
I'm not playing Minecraft, but this has fascinated me from afar. AIUI, Microsoft has two teams on two different continents essentially developing two very similar but subtly incompatible versions of the same game. Funky. Do they share any code or formats? Are the client/server interoperable? Does the C++ one even have a server implementation?
The original was written in Java, and people decompiled and reverse engineered it almost completely, so there are tons of mods that reach in and change things deeply.
They then created MCPE (pocket edition) which was a "cut-down mobile edition". That evolved into "Bedrock Minecraft", which is not "cut-down", and is what runs on mobile devices and gaming consoles (XBox, Switch, PS*). (It also runs on Windows, but not on Macs.)
At this point, the Bedrock and Java editions are more or less equivalently complex, although there are still differences in how many mobs spawn (generally fewer in bedrock, presumably due to (legacy?) performance constraints), as well as tons and tons of differences, subtle and unsubtle, in where and how things spawn, how the mobs behave, etc. Notably, there are significant differences in how redstone works that render most Java edition contraptions non-working in Bedrock.
There are actually many, many more Bedrock players, because lots of kids play on iPads and consoles, but most of the notable YouTube personalities and servers people stream from (Hermitcraft, etc.) are Java, and Java has an incredibly diverse universe of mods and modded servers.
Mojang (now a division of Microsoft) seems to value parity between Java and Bedrock: new features seem equivalent in both, and many point releases contain minor parity fixes. But it's unlikely they would make complex dynamics like redstone equivalent.
IIUC, there seems to be a vague consensus that Bedrock is probably the future, for several reasons: a) As you point out, having two completely different codebases and teams is crazy b) Bedrock runs (or can run - MacOS?) on everything c) Bedrock is C++, and hence can perform better d) There are more recurring revenue opportunities for Bedrock: Mojang-provided servers ("Realms") are Bedrock, and there are the "microtransactions" mentioned in a parent comment: you can pay for skins and add-ons (essentially "mods" that use a provided and sanctioned extension API rather than modifying the binary/bytecode). Minecraft is unusual in that you pay for it once but they keep updating and adding content forever (so far), so recurring revenue is important for Mojang.
If you're getting into Minecraft, I highly recommend Pixlriffs' Minecraft Guide for Java edition players, or Prowl8413's Bedrock Guide for Bedrock players. They will walk you through the early game, and then explain how the various "farms" work ("farming" is when you figure out how to build structures and systems that exploit the game mechanics to produce large quantities of particular resources).
To answer a couple of your questions, the client/servers are not interoperable, but there are proxies like GeyserMC that translate.
The C++ one has a server implementation (Bedrock Dedicated Server - BDS) available in binary form, that you can run on Linux or Windows. As far as I know, there are no third-party bedrock servers that implement all (or even most) of the dynamics of the vanilla game, since that would essentially require re-implementing everything, but if contributing to that process is your jam, I highly recommend the Dragonfly folks: their Go server implementation is quite clean, their discord is active and helpful, and their various proxies and tools and libraries are very useful.
Re: Convert SimCity 2000 cities into Minecraft worlds
#38Earlier quoted context omitted.
Don't get me wrong, it's not "bad" code (from a brief glance) but it's just clearly written as if it was Java code, and probably not in a usual IDE like Visual Studio, Rider or VSCode /w C# plugin (as that would typically scaffold a more C#-esque style). Here's what I've noticed so far: - Uses camelCase instead of PascalCase - Uses setter and getter methods instead of C# properties. - Uses reverse DNS namespace com.m…
https://github.com/jgosar/mine-city-2000/blob/master/MineCit... contains "private byte[][][][][][][] _blockDatas;" which made my eye twitch. But generally I think it's just older than the git history indicates. The sln file mentions Visual Studio 2010!
Re: Convert SimCity 2000 cities into Minecraft worlds
#39Earlier quoted context omitted.
Thanks! So I gather Microsoft has renamed Bedrock Edition to just "Minecraft" and then there's "Minecraft: Java Edition". What's the player base split between these? Do PC players still generally prefer the Java Edition?
The invisible majority of players uses Bedrock. The majority of players that stream/post videos or use/write mods use Java. If you want to play with friends (Macos, Linux etc.) you need Java, because Bedrock is Windows and consoles only.
Until that breakage, I ran it quite successfully on MacOS (although it _did_ have occasional crashes)
Re: Convert SimCity 2000 cities into Minecraft worlds
#40Earlier quoted context omitted.
Thanks! So I gather Microsoft has renamed Bedrock Edition to just "Minecraft" and then there's "Minecraft: Java Edition". What's the player base split between these? Do PC players still generally prefer the Java Edition?
The invisible majority of players uses Bedrock. The majority of players that stream/post videos or use/write mods use Java. If you want to play with friends (Macos, Linux etc.) you need Java, because Bedrock is Windows and consoles only.