#Custom Entity Help

1 messages · Page 1 of 1 (latest)

ebon portal
#

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 😄

hidden walrus
#

change the mob material to entity_alphatest and also change the render controllers to controller.render.default

ebon portal
hidden walrus
#

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

ebon portal
#

Oh yeah! I see what you’re talking about

#

It’s doubled right there for some reason…

ebon portal
#

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

hidden walrus
#

just sens the entity.json file

ebon portal
# hidden walrus 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" } } } }

hidden walrus
#

huh

#

have you checked if there was anything you forgot to put?

small turret
#

He forgot the scripts

#

for the animations

ebon portal
#

Hmm, let me try and add scripts and see if that helps. But would that help with the problem with the texture?

hidden walrus
#

the texture must be in the same filepath

#

by that i mean the texture must be in its referenced location

ebon portal
#

So I have it as textures>entity>flyingcreature>flyingcreature.png

#

That’s right, isn’t it?

#

Or should the flyingcreature folder not be there

hidden walrus
small turret
#

But it could

ebon portal
#

Ok I added the scripts and change the texture location, and they’re still pink…

#

Well heck lol

small turret
#

Send the model, texture, and anims

ebon portal
#

Ok

#

Texture

hidden walrus
#

?entity troubleshoot

stiff treeBOT
ebon portal
#

Ok, cool! Let me check those out

ebon portal
#

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