Started by
Incendispike
on
Topic category: Help with Minecraft modding (Java Edition)
I'm trying to create some slime-like entities that have all the characteristics of slimes, but look like different mob heads. I tried putting in the slime AI base, but it only showed the small size despite having the hitbox of a random slime size, and upon being killed, split into regular slimes. How can I make it so that they behave exactly like normal slimes, or have these characteristics?
- Can't 'walk', only jumps
- Splits into 2-4 smaller versions of itself when killed
- Deals damage whenever it is touched
- Looks in the direction it jumps towards
Any help of any kind would be great.
For the only jumping part, you could set the walk speed to 0, or give it slowness.
For splitting into smaller versions, you will need to make an entity for each size.
Put in a procedure with a bit of randomization in when entity dies to spawn the smaller ones.
Not sure about those other 2, sorry.
Damage whenever it is touched can be done through the collision procedure and set damage in the procedure. You won't even need to have any damage enabled outside of the procedure.
How do I change the size of the slime? I don't see anything anywhere, except for the bounding box.
I don't think you can. As I said, you'll probably need to make a slime for each size individually as separate entities.
I've added in the procedure for the damage, but the only issue is that the damage doesn't do knockback, meaning the slimes just have a 'kill aura' of sorts.
No, I mean, how do I change the size of the entity? There's only one slime base, and that's for the smallest size.
You'll have to create a custom model, use tabula for exemple, juste import the slime model and make it bigger then export it.
I dont know how to export. Can you explain it please? when i export as java it doesnt do nothing
use blockbench and make varying slime models for each size
use blockbench and make varying slime models for each size
I'm having the same size problem, i made 2 more entities, but how I make it so they spawn properly. Anytime a slime in spawned, i want it to be a small slime 25% of the time, medium 35%, and big 40%. Also, as of right now, anytime i spawn a slime in, any of the 3 sizes, their hitbox is random like normal slimes. My small slimes sometimes have a really small hitbox, a normal sized one, and medium sized one. My medium sized slimes have the same hitboxes as normal vanilla slimes, but again stick with the medium sized model, and the large slimes have a medium, normal large, and double that of normal large.
I'm struggling with something similar to this. i am trying to make my own custom slime but when i choose the model in blockbench it only makes the small version and when i try using the resize tool to stretch it out it distorts the texture im adding to the slime and looks bad. How do i make the medium and large sizes and set as one entity that spawns in normal sizes.