Is Java a gift to modders?

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here
  • The FTB Forum is now read-only, and is here as an archive. To participate in our community discussions, please join our Discord! https://ftb.team/discord

RavynousHunter

New Member
Jul 29, 2019
2,784
-3
1
Ok, as I said it was either that or poor coding. Also I was fiddling around with nuke in the FTB mod and there is huge lag when it exploid and after with all the bricks on the ground, I take it this is also due to very poor coding.

In that case, as is with any game, a huge mass of items on the ground will always cause lag. Good systems have a higher upper limit, of course, but even the best hardware can only handle so much.
 

Bigglesworth

New Member
Jul 29, 2019
1,072
0
1
Ok, as I said it was either that or poor coding. Also I was fiddling around with nuke in the FTB mod and there is huge lag when it exploid and after with all the bricks on the ground, I take it this is also due to very poor coding.
Partly, and the fact that a lot of blocks just needed updating. I dont think its so much poor programming as much as 'we didnt think mods would need to update that many blocks in the timeframe'.
 

Hydra

New Member
Jul 29, 2019
1,869
0
0
It's funny how on one hand people are blaming Java for the performance problems some mods cause and on the other hand people want to go toward a fully interpreted language like Lua or Python.

Make up your mind already! :D

Seriously though: I think the whole discussion about languages is pretty moot. If you can learn Python or Lua you can just as well learn Java. Looking at the source of some of the mods it's obvious that quite a few of the modders are self-taught. And coding in Java (as compared to a Lua runtime inside the game) has the benefits of easier and more direct access to the core of the game, JIT compiling and developing programming skills that are very marketable.
 

Bigglesworth

New Member
Jul 29, 2019
1,072
0
1
If it were moot, then people would only learn Java. Fact is, its NOT moot, and learning Python/LUA is a fuckton easier for most people than learning Java/C++ when talking about modding. Java having 'benefits of easier and more direct access to the core of the game' is nonsense, an API in LUA/Python would have exactly the same 'benefits of easier and more direct access to the core of the game'.
 

RavynousHunter

New Member
Jul 29, 2019
2,784
-3
1
The ease/difficulty of learning a given language depends a fair bit on the person in question. Personally, I find Python more difficult to work with than C++ and C#, requiring whitespace for scoping just doesn't agree with me. Others may find C++ more difficult to work with, that's just how people are, and with things like this, you've got to take the human element into account.

Java makes the game more easy to decompile and thus mod, because Java isn't compiled directly into machine instructions like C++ is, but is instead compiled into bytecode. However, if Minecraft had come with a modding API and/or a set of decent mod tools...this discussion likely wouldn't even be happening.