The mobs flash now :o –MINECRAFT MODDING YAY
I’ve continued trying to add more randomization to Minecraft, starting with mob textures. In my last devlog, I got it to randomize the texture of my custom mob everytime the game started.
brief recap
I’ve been trying to make it so every mob that spawns has a random texture, and I’ve tried using networking to communicate between the server and client, as well as exploring the renderer classes that pandas use (since they also have different appearances) and trying to imitate that functionality.
technical stuff for nerds
I’ve successfully been able to set up payload communication between the server and client(rendering is on the client), but even when the client receives the message, there isn’t an easy way to re-register the entity model each time a new entity spawns. I looked at how the game handles the different randomized panda textures from source files, but the game uses different texture files to do this, whereas I use one giant texture file and randomly offset where in the file the model renderer starts pulling from. Because pulling from the texture file and declaring which texture file to use happen in different parts of the code, I can’t do my method the same way the game handles pandas (I tried 😭🙏)
This is a smaller thing, but since last time I’ve also addd working animated arms to my mob. arms are cool. I like my arms. Coding would be harder without them.
**the restt …
As of right now, I tried randomizing between different texture files as a test to see what I can do. It randomizes the mob textures but does it every game tick instead of once when it spawns.(╥﹏╥) I am posting this devlog as a sort of “checkpoint” on all the stuff I’ve tried so far and where I am right now.
This genuinely feels like square one 🥀
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.