eaglerforge / example-typescript-mod

example eaglerforge mod made using typescript
5 stars 4 forks source link

Add new EFI features to the typescript definition file #4

Open OtterCodes101 opened 16 hours ago

OtterCodes101 commented 16 hours ago

a bunch of new EFI features need to be added to the definition file so it can properly use intellisense

OtterCodes101 commented 15 hours ago

oh we also need to update the API docs iirc

OtterCodes101 commented 15 hours ago

nvm the docs are in the EFI repo but it'd still be helpful to link them there

OtterCodes101 commented 15 hours ago

or we could just move those to eaglerforge.github.io

radmanplays commented 15 hours ago

or we could just move those to eaglerforge.github.io

I agree

OtterCodes101 commented 15 hours ago

yeah i think it'd be better to have the docs just at eaglerforge.github.io

OtterCodes101 commented 15 hours ago

we should also add descriptions to the d.ts documentation

ZXMushroom63 commented 3 hours ago

a bunch of new EFI features need to be added to the definition file so it can properly use intellisense

about that........... EFI's structure is a little bit different from legacy EaglerForge, as instead of having code to manually expose each property, its all based on directly interfacing with eaglercraft at runtime. we'd pretty much need to convert all of minecraft into a .d.ts file (which I've got no clue how to use)

After I'm done doing custom meshes and whatnot I can try writing a script to traverse the modapi object and generate a .d.ts from it, but it's still not gonna be fun.