Comments (2)
i understand that a lot of MLG isn't standard java code. And i already knew this.
Java isn't my standard language. In fact it's the first java program i ever worked on. I hadn't coded in any language in years before working with MLG. My last language was QBASIC, back in the DOS days. (except for a little HTML/JS/CSS here and there.)
I also have no formal Java training. Everything I've done has been from looking at other example code and a Java for Dummies book i bought. (And looking at a lot of JavaDocs)
I'll work on some of your suggestions.
For the update section, I wanted a unified piece of code that worked for all platforms. It was never my intent for MLG to have an installation package and use native update methods. I wanted a single file that you can put in any folder, and it can work there.
as for the /TP command... I looked at that myself. you need an active user logged into the server to move around. So, it doesn't work in this case. Also, note that this program is now almost 2 years old now. it comes from back in the old Alpha days, and is compatible with every version of the server (except the unreleased buggy versions of Beta 1.9)
as for having a lot of custom or manual code - I don't want to import a lot of libraries - this is why i've avoided apache commons, etc. MLG only relies upon the base Java framework, and the JNBT library. This way, if i have a bug, I know its my code - and not some blackbox library.
Maybe its because i'm used to having to make everything myself, back in the day.
as for the Rcon stuff and github branches - I'm not even going to go near github branches with a 10 foot pole. i' actually going to remove the Rcon stuff, as it just seems overkill. All that framework just to send a stop command...
anyways, I took on this project originally because the program was no longer supported by the original author, and it needed an "!" removed. I originally had no intention of expanding it or continually re-factoring it for this long. But i have, and i will continue trying to make it better. (I do look at my code i made a year ago, and ask - why did i do it this way? -- oh yeah, Its the first way that worked!)
And so for your general topic on MLG not being up to normal Java coding standards: I find myself in this position: I have coded in many many languages over the years, never fully mastering one, largely self-taught in all. (I've also noticed that I code very verbosely in all languages - aka, the hard way) So I'm beyond the typical beginners tutorial ("hello world"), and good Intermediate tutorials are hard to come by.
from minecraftlandgenerator.
oh, and to reply to the title "This code is broken":
It works.
I have hundreds of users download it everyday. very few complaints - and usually due to user error.
from minecraftlandgenerator.
Related Issues (16)
- String Index out of range HOT 1
- THIS_IS_THE_SOURCE_CODE.txt not really up to date HOT 2
- "[MLG-ERROR] Error in program arguments." when using MLG for anything other than generating worlds HOT 2
- Major design changes HOT 1
- Aggressive force-stop issue with [WARNING] lines in log HOT 2
- Custom server path does not work HOT 1
- Missing Chunks HOT 1
- MLG violates multiple java naming conventions HOT 1
- Would you mind to update it??(compatible with newer versions of Minecraft) HOT 1
- GUI not working
- Generator Won't Run on 1.17.1 world - "SEVERE: Invalid level format."
- MLG_Readme_and_Helpinfo.java has a broken name and is wrong HOT 1
- 1.7.1 doesnโt work with 13w09c HOT 5
- Nether generation HOT 6
- MLG fails to properly create world HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minecraftlandgenerator.