So I'm trying to create a custom entity but whenever I try and spawn it, it crashed my game. These logs also show up when I'm loading into a game. I've looked around in the files and can't find anything wrong, but I honestly don't know what I'm doing lol. I can send the files if needed. Any help would be appreciated 😄
#Custom Entity Help
1 messages · Page 1 of 1 (latest)
change the mob material to entity_alphatest and also change the render controllers to controller.render.default
Ok cool, I did that and now I can see it lol. Now it’s all purple and the animations aren’t working 😭😭
ah, you probably have not put the textures correctly then
inside your mob.entity.json, there is a textures component
change it to
"default": "textures/entity/your_mob_texture"
}```
your mob texture is changed to whatever the texture of the mob is called inside the textures/entity folder
Ok so I didn’t have the texture file named as the entity’s name, but that didn’t fix it. I’m wondering if I need to add a render controller file to see if that can fix it…
Welp, I’m not really sure what to do now lol
just sens the entity.json file
I’m guessing this is what you meant xD
{ "format_version": "1.10.0", "minecraft:client_entity": { "description": { "identifier": "a229:flyingcreature", "materials": { "default": "entity" }, "textures": { "default": "textures/entity/flyingcreature" }, "geometry": { "default": "geometry.flyingcreature" }, "animations": { "moving": "animation.flyingcreature.moving", "base": "animation.flyingcreature.base", "dance": "animation.flyingcreature.dance", "sitting": "animation.flyingcreature.sitting", "flying": "animation.flyingcreature.flying", "standing": "animation.flyingcreature.standing", "look_at_target": "animation.common.look_at_target", "movement_controller": "controller.animation.parrot.move" }, "render_controllers": [ "controller.render.default" ], "spawn_egg": { "base_color": "#2e363a", "overlay_color": "#783e3e" } } } }
Hmm, let me try and add scripts and see if that helps. But would that help with the problem with the texture?
the texture must be in the same filepath
by that i mean the texture must be in its referenced location
So I have it as textures>entity>flyingcreature>flyingcreature.png
That’s right, isn’t it?
Or should the flyingcreature folder not be there
the flyingcreature folder should not be there, just put the image there
But it could
Ok I added the scripts and change the texture location, and they’re still pink…
Well heck lol
Send the model, texture, and anims
?entity troubleshoot
Entity Troubleshooting
Ok, cool! Let me check those out
Well, I tried looking up some videos, and read the trouble shooting, but nothing came up to help… Oh well xD. Guess I’ll just scrap the project for now