r/MinecraftMod
•
u/Salt_and_Fries
•
4d ago
•
2
Messing around with making physics based mobs
It was originally just a silly idea, but it's actually looking super cool! So I decided to show you all! Should I continue investing my time into this? Or is it not something anyone would want?
The way it works is the mobs bodies are physics objects, and they actually keep themselves upright through limb motor control. Running requires them to try and keep themselves balanced. I did make their heads weightless, because of how big they are, they would face plant every time them moved.
34
u/BarbsFPV 4d ago
A mob here and there having advanced physics won’t be too taxing on most PCs. Having an entire world full of mobs with advanced physics will probably slow all but the most beastly PCs to a crawl.
This looks awesome though, but even resource packs like fresh animations can really bog you down, and that’s pretty light compared to this.
Everything in the game runs on the same thread so that’s the main reason they try to keep mob AI and movement pretty basic.
15
u/Salt_and_Fries 4d ago
Yah I was thinking maybe only having mobs within like 5 chunks having active physics? Also mobs that the player directly interacted within the past minute, so sniping a zombie or something will make it kick into physics mode. Idk, I'm brain storming optimization fixes
11
u/Kakllakl 4d ago
Def should have different versions though for people's pc's sake. I could see options to only allow x amount of creatures at a time to experience physics based on distance and interaction. But honestly this looks very funny, is it gonna have different weights or is everything going to be paper boxes that get tossed with knockback. Or will only the knockback or punch enchantment throw mobs?
4
u/Salt_and_Fries 4d ago
I'm going for heavy weights. So the player should struggle to tip a cow for example
3
2
u/quardoballs 2d ago
Maybe have a max sim number of mobs too. Farms would be very difficult. And maybe you could have two degrees of simulation: full and low-level.
111
u/emil836k 4d ago
So, about that GitHub page…
87
u/Salt_and_Fries 4d ago •
![]()
It's not a mod right now. The git is entirely on my PC. But if people want it I'll make the GitHub public like the rest of my mods!
2
74
14
7
2
2
2
-5
u/One_Pitch3982 1d ago
Reddit recommending me 3d old posts on MC mods that look kinda neat and the first thing I see is a mf trying to start an AI witch hunt. Gfy.
2
u/emil836k 1d ago
I literally couldn’t have asked nicer
0
u/One_Pitch3982 1d ago
You could've just asked the modmaker politely and directly, asking to access a git repo sounds, feels, and looks pretentious as hell (and I don't trust everyone to just magically know whether something was or wasn't coded using an LLM).
Besides, quite genuinely, what does it matter? LLMs are not generative AI, they are not the droids you're looking for. Most LLMs have been around a long while, and some are used by top research labs in the US because they trivialize data aggregation and analysis. NASA has been using machine learning and LLMs for the longest time and no one's up their ass about it.
I get it, if you're worried about lazy coding. That's a valid concern, stuff like Epic refactoring their launcher's code to be entirely vibecoded by Claude, or the recent trend of indie devs using Claude to vibecode entire games for them, even their models. But, like, a minecraft mod? Really?
I'm almost happier to see LLMs open up more avenues for people who have wanted to be modders but never had the know how to actually be able to make their mods now, no matter how fucked up or jank. I like seeing the creativity LLMs let people bring to the table sometimes, like this mod. Plus, people don't realize that LLMs are really the only way to decode and decrypt game engine files in a reasonable period of time anymore- gone are the days of console OS cracking where getting the graphics engine files could be done on a laptop in a few hours- stuff's just too internally complicated now and usually encrypted above the level of the average modder.
Idk man, just ask nicely next time and maybe don't care as much, for the sake of not discouraging creativity.
2
u/knoxarium 1d ago
-1
u/One_Pitch3982 1d ago
LLMs can only regurgitate whatever they've been fed, like ChatGPT or Claude; things like sora take what they've been fed, fundamentally transform it, and spit out something else instead.
2
u/knoxarium 1d ago
i work in machine learning and ai. you are very wrong, im sorry. LLMs are generative ai, because LLMs predict and GENERATE tokens (aka words). LLMs don't just regurgitate data, they learn statistical patterns, grammar, concepts, and reasoning procedures into billions of shared weights so they can generalize to new inputs. if LLMs only regurgitate info, then how did it prove the Navier Stokes equation, Riemann Hypothesis and VP vs VNP? also, Sora isn't an LLM, its a diffusion model.
2
u/emil836k 1d ago
To be fair, I would argue that’s just regurgitation with extra steps
It looks at patterns, grammar, and other hard rules, but it doesn’t “learn” concepts, and it doesn’t “understand” reasoning
Though I guess that may depend on how you define the word learn, Chinese room and all that
1
u/po_stulate 14h ago
In that case human is also just regurgitation with extra steps, the exact same thing you described is also 100% the same as how we learn. Guess we also don't learn and don't understand depending on how you define the word then.
1
u/emil836k 14h ago
Well, yes and no, again, chinese room
If you can argue for it learning by bending the definition of learning, it can’t learn
It can retain knowledge and use said knowledge, but so can an algorithm
Really is just an algorithm with extra steps
→ More replies (0)0
7
u/Defense_Turtle 4d ago
this mod but for playermodel would get thousands of interested players imo.
3
u/Salt_and_Fries 4d ago
That would play like the game "Peak"
4
u/CursedBM81 4d ago
Pretty much every Landfall game plays like Peak in terms of movement since they all use physics for that
3
4
u/Zestyclose-Ideal2395 4d ago
I like the animation principle that these are block based robots before they're animals
1
u/Salt_and_Fries 4d ago
Yes! The logic is functionally very close to his someone would program a robot
3
u/Maskoloxyn 4d ago
if you base it on sable and that they are sort of blocks first, people can make themselves into mechanisms or augment themselves through mods like pocket sized and putting stuff on themselves I don't know how this would work
2
2
u/pixel_demonic 4d ago
is this use Sable?
2
u/Salt_and_Fries 4d ago
I did originally experiment with sable. But sable was entirely block physics, it didn't have any means to apply it to Entities. So I never could get it to work.
2
u/Jbolt3737 4d ago
Please make the rabbit have jumping physics, these mobs are so cute wadling around and rabbits are my favorite animal
2
u/Salt_and_Fries 4d ago
I am scared to do rabbits
2
u/Jbolt3737 3d ago
I don't know how exactly you're doing this but I assume each leg has a desired rotation or target to point at or something. How I'd implement it: just take the rotations from the vanilla animation at the idle point, A, and the last frame of the jump before they leave the ground, B. When the rabbit jumps you have the desired rotation go instantly from point A to B and as long as the legs are strong enough the rabbit should be sprung into the air (try to make it so they use their front legs and head to keep their body upright if possible)
1
2
2
u/that_idioticgenius 2d ago
This is really cool! But im really concerned on the performance of this. Would love to know if it assigns the procedural animations automatically or do you have to set a custom procedural animation for each new mob each time? More details on the procedural animation would be nice! Ive loved it since i was a kid and i love how you implemented yours, they're so much more full of life than other games ive seen and works way better in the minecraft art style than i expected.
2
12
u/Edmord17 4d ago
They move around like if they were avatars in VRChat, they way pig turn around to look at us felt way too uncanny omg, cool stuff
1
8
3
u/After-Distance6134 4d ago
uhmm
seems cool
but too physicy or smth id day
dontget me wrong i like smth like ts https://modrinth.com/resourcepack/reanimated-blue but it looks too much
5
u/unga_bunga_1987 4d ago
its less meant to look like physics but seems to be going for physics driven ragdolls controlled by procedural animation
3
3
3
3
3
3
3
u/Living_The_Dream75 19h ago
This looks amazing, but the lack of head movement makes it a little disturbing to watch..
2
u/ethan125 4d ago
This is a neat idea! I was expecting some kind of pig turning into a creeper joke on the last gif lol
2
u/GoldSunLulu 4d ago
I like the little turnaround but i dont like how they run and stuff. Heledron has a great video on how he made inverse kinematics, with a lot of good info for any Ik Programming really
2
2
2
u/TheGreatQuetz 4d ago
I wonder what it'd look like if you tried to make a mob walk that has multiple bones in its legs.
Unfortunately the only vanilla mob like that is the Ender Dragon which only flies.
2
u/MystifyreMusic 4d ago
looks good and I see the vision but it's a little too much rn. the limbs get disconnected from the mob a little too much at times
2
2
2
u/skydisey 4d ago
Whoa procedural animations! I bet rain world MC community want to hear about you
I guess being named Salt- gives you +100 to coding skills btw, absolutely gorgeous
2
u/No_Context2723 4d ago
Looks awesome! But you should make it so that only mobs in a certain radius to the player are simulated (4 - 6 chunks maybe)
2
2
u/artmogus 4d ago
I'm not sure if this looks godsent or cursed lmao, I like it anyway though, keep it up!
2
2
u/Witty-World2916 4d ago
genuinely one of the most needed things I've seen in a while. Keep it up please!
2
2
2
2
2
u/Bubbly-Release9011 3d ago
seeing the mobs stumble over blocks and stuff is so adorable i NEED THIS
2
2
2
2
2
2
2
2
2
2
u/Mysterious-Run-3794 2d ago
It kinda looks like someone trying to pretend to be an animal in vrchat
2
2
2
u/Actuallynobutwhynot 1d ago
this feels like something you'd have to run minecraft in a whole new engine for, however it's a banger. oddly scary but also cute
2
u/JiveJammer 1d ago
They look so cute!!!! I would absolutely love this. Even if it is too CPU insensitive I'd just make a skyblock world and turn it into a tiny farm to have these guys around
2
2
u/CatPrince69 13h ago
Nice!!!!!
people have already said this but I hove nothing helpful to say... so uhhh make it not make pcs explode
like add performance fixes
its still really high quality tho :D
2
1
1
u/geneyfarrell 4d ago
Definitely keep working on that pig because seeing it waddle around like that is honestly the cutest thing I have seen in a blocky world
1
3
u/darkgamer2099 3d ago
I would like to be able to dismember them and manually cut them into pork chop and chicken wings
1











57
u/ScwiddIsScwidd 4d ago
how performant is this?