Jump to content

Recommended Posts

Posted

I made an API for your Developer cape needs. :D It uses a txt file that has all the usernames you need in it. The txt file is hosted on a server like dropbox. The capes are also hosted there, and all the groups and urls are given in the txt file. :D Don't worry if that sounds complicated, a sample is given on the GitHub.

 

https://github.com/jadar/DeveloperCapesAPI

 

It works. I'm using it in my mod.

Posted

I don't want to be mean, but it looks like a pretty wasteful solution. I might have overlooked something, but it seems like the api in every tick is iterating over all players and doing stuff. The original code is looking for cloaks only once after entity is spawned.

mnn.getNativeLang() != English

If I helped you please click on the "thank you" button.

Posted

I don't want to be mean, but it looks like a pretty wasteful solution. I might have overlooked something, but it seems like the api in every tick is iterating over all players and doing stuff. The original code is looking for cloaks only once after entity is spawned.

 

yes its true that it checks all entities every tick

Posted

it can be done via ASM library to only process entities once, just like the original method does. I have it implemented, you can take a look - https://github.com/mnn/jaffas/tree/master/src/minecraft/monnef/core/asm. it's a bit more work, but I don't want to stress cpu (potentially lowering fps) of players of my mod more that it's actually needed.

mnn.getNativeLang() != English

If I helped you please click on the "thank you" button.

Posted

Capes really? Theres a reason why forge hasnt exposed this.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

Guest
This topic is now closed to further replies.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.