MineKhan icon indicating copy to clipboard operation
MineKhan copied to clipboard

Plugins / Mods

Open Mist-Stego opened this issue 3 years ago • 6 comments

This may not be a real issue, but if people can make mods for clones of things like OptiFine or Gammabright, that would be cool 🤔

I know that for one thing, it would not take a huge amount of time to make this happen due to the fact that #1, you need to only make another button in the settings UI (I am supposing that Willard has created a buttons creator object), and #2, it would just need to have a drag or click mechanisim like this:

if (/* button colls go here */ & mouseIsPressed){ gamma++; };

I am sorry if that example isn't accurate, I am more of a Python, C++ oriented fellow :/

Mist-Stego avatar Nov 03 '21 14:11 Mist-Stego

We won't get a clone of Optifine because we could just push it to the main program due to the open source nature. However, I agree that if we can get a mod API that would be nice. After all, we can load mods by just injecting our own JavaScript because really nothing uses const and that allows us to basically override anything we see.

MicrolemurDev avatar Dec 20 '21 18:12 MicrolemurDev

Maybe some way to add, similar to the marketplace, sort of "extra features" that have functionality similar to popular mods? Like, a way in settings or something to enable/disable a zoom key, or a way to edit brightness, or something along those lines.

RepeatGitHub avatar Feb 18 '22 15:02 RepeatGitHub

This would be a good feature and could be something among the lines of Minetest mods.

MicrolemurDev avatar Feb 20 '22 03:02 MicrolemurDev

i want things like carpenters blocks or mallasis doors and even crazy craft

runbobfun1 avatar Feb 22 '22 16:02 runbobfun1

Well, that would be very hard and would require a HUGE refactor but it should (in theory) be possible. However, due to the nature of MineKhan's engine, a large amount of code may need to be rewritten all together. But, you could try if you think you are up to the challenge!

MicrolemurDev avatar Feb 25 '22 00:02 MicrolemurDev

In theory all that would need to be implemented would be code for changing blockIDs, blockData, and a few other minor variables. I hate arrays in JS so I definitly won't be working on this.

trevorwatkins1129 avatar Nov 10 '23 19:11 trevorwatkins1129