I'm working on a map similar to that of Super Mario 64 or A Hat In Time. A collect-a-thon Platformer, if you will. The main collectable which is essentially a star or a time piece is called an "Umune Shard." The game mechanic I have in mind for this is that you punch the shard and it drops the item you need. I have an entity made, it has all the things to it that I want it to have, but I cant get it to show up. Im using Bridge to make this, so I hope that my screenshots are easy to read.
And If anyone is interested in the story of my map, ill leave the link here:
I had a similar problem when I was making a jellyfish entity. It just wasn't showing up. I have tried to use bridge before but I always ended up confused so I just used Visual Studio Code but if you are comfortable with bridge it should work.
I needed to give make a file called "render_controllers" then made a file called "jellyfish.render_controllers.json" here is the code located in the file. Maybe plugging in the name of your entity where it says "jellyfish" will make it work? If you want to see the code in the animations files let me know and I'll post them.
Another mistake I made was that I didn't give it it's own animations or animation controllers and from what I've gathered every entity needs them. I ended up copying and pasting the same animations for the fish (if I remember right) and deleted the flopping part (and I changed everywhere it said fish to jellyfish)
Here is the "entity.json" file when I was complete
I'm working on a map similar to that of Super Mario 64 or A Hat In Time. A collect-a-thon Platformer, if you will. The main collectable which is essentially a star or a time piece is called an "Umune Shard." The game mechanic I have in mind for this is that you punch the shard and it drops the item you need. I have an entity made, it has all the things to it that I want it to have, but I cant get it to show up. Im using Bridge to make this, so I hope that my screenshots are easy to read.
And If anyone is interested in the story of my map, ill leave the link here:
I had a similar problem when I was making a jellyfish entity. It just wasn't showing up. I have tried to use bridge before but I always ended up confused so I just used Visual Studio Code but if you are comfortable with bridge it should work.
I needed to give make a file called "render_controllers" then made a file called "jellyfish.render_controllers.json" here is the code located in the file. Maybe plugging in the name of your entity where it says "jellyfish" will make it work? If you want to see the code in the animations files let me know and I'll post them.
{
"format_version": "1.8.0",
"render_controllers": {
"controller.render.jellyfish": {
"geometry": "Geometry.default",
"materials": [ { "*": "Material.default" } ],
"textures": [ "Texture.default" ]
}
}
}
Another mistake I made was that I didn't give it it's own animations or animation controllers and from what I've gathered every entity needs them. I ended up copying and pasting the same animations for the fish (if I remember right) and deleted the flopping part (and I changed everywhere it said fish to jellyfish)
Here is the "entity.json" file when I was complete
{
"format_version": "1.8.0",
"minecraft:client_entity": {
"description": {
"identifier": "rmm:jellyfish",
"materials": { "default": "ghast" },
"textures": {
"default": "textures/entity/jellyfish/jellyfish"
},
"geometry": {
"default": "geometry.jellyfish"
},
"spawn_egg": {
"texture": "spawn_egg",
"texture_index": 18
},
"animations": {
"move": "animation.jellyfish.move",
"scale": "animation.jellyfish.scale"
},
"animation_controllers": [
{ "move": "controller.animation.jellyfish.move" },
{ "scale": "controller.animation.jellyfish.scale" }
],
"render_controllers": [ "controller.render.jellyfish" ]
}
}
}