Everything posted by musava_ribica
-
My Minecraft Modpack Keeps Crashing and Im lost from this point
you provided fabricmc crash report, these forums are for minecraft forge...
-
After adding my last couple of mods to the already modified BetterMC modpack, Minecraft and Exaroton started crashing
It probably isn't the case that someone actually digged into xaero mods to find out what exactly goes wrong. It's possible that xaero mods are known to cause crashes when used with other mods, and that came first to user TileEntity's mind
-
Calling a function without blocking, then waiting for it in main thread
Hello everyone, this may be more of a Java question but I couldn't find anything helpful on the internet. I'm in the following scenario: when a player opens a chest (inventory gui), my mod will make a http get request (which might take a while if the server is slow), and then update the chest contents depending om the response. And, before the request finishes, there will be "Loading..." message displayed. However, when putting all code in main thread, while the game waits for response, the fps drops to zero as expected. If I make the request in a separate thread, no blocking occurs but I've read in a lot of places that one should not call Minecraft functions from threads other than the main one. If I set a callback function for http request, it gets executed in another thread, too. So I'm wondering how can I do the non-blocking request and await it's completion. I've looked into java.util.concurrent classes but every approach I tried resulted in either blocking or calling minecraft code from another thread. Any help is appreciated, and apologies if this question is not well suited for this forum, I haven't found a better place to ask.
-
Chat color codes formatting issue
Nevermind, I already found it (I am coding for 1.14) Thank you once again
-
Chat color codes formatting issue
Then, how do I import it ? Where do I look for it?
-
Chat color codes formatting issue
Thank you. Can you please link some documentation to ITextComponent?
-
Chat color codes formatting issue
Hello, if I wanted to send a colored chat message to a user, including § in that string (for example §4Hello), the text is still white and some random characters are shown in the place of §. Is there anything regarding to chat colors that I missed? Please let me know, thank you! Screenshot: http://prntscr.com/uk9apt (supposed to be §4§l | §c Thank you for ...)
IPS spam blocked by CleanTalk.