bridge. icon indicating copy to clipboard operation
bridge. copied to clipboard

Type definition not working for scripting api in android

Open SpaceDummy opened this issue 1 year ago • 1 comments

Hey there! There's been an issue with bridge regarding the scripting api type definitions. It's not working as intended heck not even import gets suggested to me in the main.js file. I have turned on the beta api experimental feature and it still doesn't work. My device is Samsung and its a 2024 model actually and still doesn't work this issue needs to get fixed ASAP.

SpaceDummy avatar Aug 03 '24 07:08 SpaceDummy

Hello SpaceDummy, I know I'm a bit late, but have you tried setting the script API module versions you import in the manifest.json? If they're all 1.0.0-beta, that's where your problem is. Try setting them to a later version - you can find supported versions for @minecraft/server here, and if you want to find the supported versions for other modules, check the side tab. I hope I can help anybody else who has this problem!

ewanpeebles avatar Feb 05 '25 19:02 ewanpeebles