-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
World Drop update #1
Comments
Gud gud. Hum... is there anything in entity that gives you back its ResourceLocation? Like entity.getResourceLocation()? Or in Entity/EntityList as a static class with the entity as argument? Like EntityList.getResourceLocationFromEntity(entity). (The fuck kind of function name is createEntityByIDFromName anyway? Is it "by ID" or "from Name"?) WorldServer is a subtype of World meanwhile, if I remember correctly, so that should work just fine as argument. |
EntityList has this EntityList.getKey(entityIn) which is described as Went ahead, and gave it a try, it's working! Thank you so so much for your help! This is awesome! ^.^/ |
Noice. I do want the new files, yes. Maybe do a branch specifically for 1.12 and then pull request that over here. :) (ow with CurseForge out of the picture, the mod jar files should probably be hosted here as well.) |
EDIT: got it, I never forked before, that was why XD And I got a CurseForge/twitch account so if you don't mind it, I post the 1.12 jar there, with a link to the old versions as well :) |
Yeah, that should be fine. Don't forget to also comment on it with a link to the new place so people know where to go. A thing that should be done is uploading the jar here too, for general easy of access. (So it sits in more places than just CurseForge. That can then be linked to in the readme, since that's what shows first when this repository is opened.) |
Alright, I'll make the curseforge page, then send you a link to dl the jar directly if you need I'll copy the description from your thread, and the icon as well, unless you want me to find new ones |
Coo', that should work. :) Oh yeah, don't forget to link to the github repository as well. The mod is open source after all, so any fork from it has to be as well and marked as such. |
Hello
It was a bit of a guessing game but I think I got everything, like you said it was mainly new names for functions that you had written already. I did some guessing using the arguments, I figured the functions would still have a similar name to the old one and with the same arguments.
I went and did that for the other scripts as well, using the arguments again to guess the new functions names or new types names.
After all this I'm left with only one error, in the Transition script:
Entity newEntity = EntityList.createEntityByName(EntityList.getEntityString(entity), wsNew);
"The method createEntityByName(String, WorldServer) is undefined for the type EntityList"
I tried guessing again, but I couldn't find a function that take for arguments a string and a world server. The closest I found is
createEntityByIDFromName(name, worldIn)
But the name argument is a Resource location and worldIn is just a world and not a world server
Hope you're having a nice day, and thanks once again
The text was updated successfully, but these errors were encountered: