It might sound weird at first, but think about it. What if Minecraft Bedrock used a lua-based api for addons? There are tons of other c-made games that use lua as a way for modders to add new content, so why should bedrock be any different? The addon system wouldn’t even have to be changed that much, you could still keep of the old system with .json files, but just swap out .mcfunction files with .lua files. The main reason why I think this is a good idea, is it allows for things like if else statements, loops, data saving, and all kinds of other stuff that would either be made possible or greatly simplified with this new system. For example, imagine this was your tick.lua file:
if mc.executeCommand(“weather query”) == “rain” then
mc.executeCommand(“weather thunder”)
end
This code simply upgrades all rainstorms to thunderstorms. It’s clear, it’s concise, and it’s minimal. Not to mention the fact that the api could be expanded with more features then executing commands. What if there was a function called, “mc.saveData” and “mc.loadData” which would save and load data respectively that would be unique to the world. Maybe this wouldn’t be to useful, since scoreboards already exist, but it’s just a thought. There could be so many unique possibilities that would be made possible with this new addon api! Maybe I’m just spitballing, but this sounds like a great idea to me! And if you agree with this, maybe give it a vote and we can make this dream a reality!
Please sign in to leave a comment.
0 Comments