2
Is it possible to run java code (or any other language, but minecraft was written in java) in minecraft? Or run a jar file? Or do you have to run it manually, and generate an mcfunction file, which you then run? Minecraft commands are very limiting, and it would be nice to have variables (not scoreboards, they cannot be strings), and concat strings? The
/execute store
command can only inject numbers, but say I want a villager to be called what the player is called? How would I do that?
Do you need a mod?
This thread has sort of split into two questions, but the main one is the first.
/execute store
command can only inject numbers, but say I want a villager to be called what the player is called? How would I do that?
Do you need a mod?
This thread has sort of split into two questions, but the main one is the first.
Create an account or sign in to comment.
3
1
Use mods, or a wrapper (like halfshell/halfmod - https://github.com/nigelSaysHesHappy/halfMod).
A wrapper is sort of a mod, but different than what people normally call mods. Wrappers do not mess with the minecraft server/client jar but instead work around it (reading from the game output and executing commands from the console)
A wrapper is sort of a mod, but different than what people normally call mods. Wrappers do not mess with the minecraft server/client jar but instead work around it (reading from the game output and executing commands from the console)
1
It is only possible to run code in Minecraft if you make the language yourself with command blocks.
SethBling did it... (google "sethbling basic language")
SethBling did it... (google "sethbling basic language")
1
If it's a server, you might be able to make it a plug-in... Don't know, as I know nothing about making plug-ins. In single player, however... I don't know. Maybe you can get an api?