Closed TripleCamera closed 2 years ago
@zhuowei Yes how did you unlock? @zhuowei
@zhuowei I have hooked a lot of functions, so that all these functions always return true
now:
AppPlatform::supportsScripting
AppPlatform_android::supportsScripting
ClientInstance::isScriptingEnabled
Experiments::Scripting
FeatureToggles::isEnabled
ScriptEngine::isScriptingEnabled
hbui::Feature::isEnabled
Now I can enter worlds with scripts, but the scripts are not working. I don't know what is missing. Could you help me?
@zhuowei I know you're not working on this project anymore, but at least give the necessary information for making a new similar project like Modded BE
@ zhuowei I know you're not working on this project anymore, but at least give the necessary information for making a new similar project like Modded BE
Maybe we shouldn't @ him so many times... He is probably busy these days.
I do keep an eye on these issues, and no, hooking those methods was enough on 1.13 and below, not sure what changed.
@TripleCamera if you developed the app please post the link here i can use it
Well, actually, Mojang has removed Scripting(aka Additional Modding Capabilities) in Beta 1.18.20.21. I guess there is no need to keep this issue open, so I will close it very soon.
@ TripleCamera if you developed the app please post the link here i can use it
I don't think it is polite to promote my app here. You can check out my profile for more info.
I'm going to close it now. The issue list is so crowded.
Hi, zhuowei. I am trying to unlock Mojang scripting in 1.16, and I have studied your code:
I wonder how you found out the way of unlocking Mojang scripting. How did you find out these 4 functions to hook? And why did you enable feature 9 and 7?
By the way, is there anything I should pay attention to in 1.16? Do I have to edit that code to make it work properly? Thanks.