Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

While breaking custom blocks like a new chest the breaking patricles are missing textures, and I'm not sure where in the code I need to implement this part.

I'm pretty sure that this part changed between 1.7 to 1.8 so I couldn't find much already online which is relevant to me.

Thanks! :)

Why are you reading this?

Try doing a block model file like this:

{
    "parent": "block/cube",
    "textures": {
        "particle": "blocks/gold_block"
    }
}

 

Also if you have probelms rendering a chest i remind you to my previous post wich has been solved :)

http://www.minecraftforge.net/forum/index.php/topic,32858

Don't blame me if i always ask for your help. I just want to learn to be better :)

  • Author

Try doing a block model file like this:

{
    "parent": "block/cube",
    "textures": {
        "particle": "blocks/gold_block"
    }
}

 

Also if you have probelms rendering a chest i remind you to my previous post wich has been solved :)

http://www.minecraftforge.net/forum/index.php/topic,32858

When I add this to my model it just breaks, and the block isn't rendering at all D:

This is my current (and working but without the particles) model:

{
    "textures": {
        "0": "blocks/stonebrick_carved",
        "1": "blocks/log_spruce",
        "2": "blocks/coal_block",
        "3": "blocks/hardened_clay_stained_cyan",
        "4": "blocks/piston_bottom",
        "5": "blocks/glowstone",
        "6": "blocks/planks_oak",
        "7": "blocks/quartz_block_top",
        "8": "blocks/hardened_clay_stained_red",
        "9": "blocks/hardened_clay_stained_blue",
        "10": "blocks/hardened_clay_stained_yellow",
        "11": "blocks/mushroom_block_skin_stem"
    },
    "elements": [
        {
            "name": "Cube",
            "from": [ 1.0, 0.0, 1.0 ], 
            "to": [ 15.0, 1.0, 15.0 ], 
            "faces": {
                "north": { "texture": "#0", "uv": [ 0.0, 0.0, 13.0, 1.0 ] },
                "east": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] },
                "south": { "texture": "#0", "uv": [ 0.0, 0.0, 13.0, 1.0 ] },
                "west": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 1.0 ] },
                "up": { "texture": "#0", "uv": [ 0.0, 0.0, 14.0, 14.0 ] },
                "down": { "texture": "#0", "uv": [ 0.0, 0.0, 13.0, 14.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 11.0, 1.0, 11.0 ], 
            "to": [ 14.0, 9.0, 14.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 0.0, 0.0, 3.0, 8.0 ] },
                "east": { "texture": "#1", "uv": [ 0.0, 0.0, 3.0, 8.0 ] },
                "south": { "texture": "#1", "uv": [ 0.0, 0.0, 3.0, 8.0 ] },
                "west": { "texture": "#1", "uv": [ 0.0, 0.0, 3.0, 8.0 ] },
                "up": { "texture": "#1", "uv": [ 0.0, 0.0, 3.0, 3.0 ] },
                "down": { "texture": "#1", "uv": [ 0.0, 0.0, 3.0, 3.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 12.0, 1.0, 11.0 ], 
            "to": [ 5.0, 9.0, 5.0 ], 
            "faces": {
                "north": { "texture": "#2", "uv": [ 0.0, 0.0, -7.0, 8.0 ] },
                "east": { "texture": "#2", "uv": [ 0.0, 0.0, -6.0, 8.0 ] },
                "south": { "texture": "#2", "uv": [ 0.0, 0.0, -7.0, 8.0 ] },
                "west": { "texture": "#2", "uv": [ 0.0, 0.0, -6.0, 8.0 ] },
                "up": { "texture": "#2", "uv": [ 0.0, 0.0, -7.0, -6.0 ] },
                "down": { "texture": "#2", "uv": [ 0.0, 0.0, -7.0, -6.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 3.0, 1.0, 0.0 ], 
            "to": [ 13.0, 17.0, 6.0 ], 
            "faces": {
                "north": { "texture": "#3", "uv": [ 0.0, 0.0, 9.0, 17.0 ] },
                "east": { "texture": "#3", "uv": [ 0.0, 0.0, 6.0, 17.0 ] },
                "south": { "texture": "#3", "uv": [ 0.0, 0.0, 9.0, 17.0 ] },
                "west": { "texture": "#3", "uv": [ 0.0, 0.0, 6.0, 17.0 ] },
                "up": { "texture": "#3", "uv": [ 0.0, 0.0, 9.0, 6.0 ] },
                "down": { "texture": "#3", "uv": [ 0.0, 0.0, 9.0, 6.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 2.0, 9.0, 1.0 ], 
            "to": [ 14.0, 10.0, 14.0 ], 
            "faces": {
                "north": { "texture": "#4", "uv": [ 1.0, 5.0, 12.0, 6.0 ] },
                "east": { "texture": "#4", "uv": [ 0.0, 0.0, 13.0, 1.0 ] },
                "south": { "texture": "#4", "uv": [ 0.0, 0.0, 11.0, 1.0 ] },
                "west": { "texture": "#4", "uv": [ 0.0, 0.0, 13.0, 1.0 ] },
                "up": { "texture": "#4", "uv": [ 2.0, 1.0, 14.0, 14.0 ] },
                "down": { "texture": "#4", "uv": [ 2.0, 3.0, 13.0, 16.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 10.0, 9.0, 6.0 ], 
            "to": [ 11.0, 10.0, 7.0 ], 
            "faces": {
                "north": { "texture": "#-1", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
                "east": { "texture": "#-1", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
                "south": { "texture": "#-1", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
                "west": { "texture": "#-1", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
                "up": { "texture": "#-1", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
                "down": { "texture": "#-1", "uv": [ 0.0, 0.0, 1.0, 1.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 4.0, 16.0, 8.0 ], 
            "to": [ 12.0, 18.0, 12.0 ], 
            "rotation": { "origin": [ 8.0, 8.0, 8.0 ], "axis": "x", "angle": -22.5 },
            "faces": {
                "north": { "texture": "#2", "uv": [ 0.0, 0.0, 7.0, 2.0 ] },
                "east": { "texture": "#2", "uv": [ 0.0, 0.0, 4.0, 2.0 ] },
                "south": { "texture": "#2", "uv": [ 0.0, 0.0, 7.0, 2.0 ] },
                "west": { "texture": "#2", "uv": [ 0.0, 0.0, 4.0, 2.0 ] },
                "up": { "texture": "#2", "uv": [ 0.0, 0.0, 7.0, 4.0 ] },
                "down": { "texture": "#5", "uv": [ 4.0, 6.0, 11.0, 10.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 4.0, 10.0, 6.0 ], 
            "to": [ 12.0, 16.0, 7.0 ], 
            "faces": {
                "north": { "texture": "#6", "uv": [ 0.0, 0.0, 7.0, 6.0 ] },
                "east": { "texture": "#6", "uv": [ 3.0, 0.0, 4.0, 6.0 ] },
                "south": { "texture": "#7", "uv": [ 8.0, 5.0, 15.0, 11.0 ] },
                "west": { "texture": "#6", "uv": [ 2.0, 0.0, 3.0, 6.0 ] },
                "up": { "texture": "#6", "uv": [ 3.0, 0.0, 10.0, 1.0 ] },
                "down": { "texture": "#6", "uv": [ 0.0, 0.0, 7.0, 1.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 11.0, 10.0, 7.0 ], 
            "to": [ 13.0, 12.0, 9.0 ], 
            "rotation": { "origin": [ 8.0, 8.0, 8.0 ], "axis": "y", "angle": -22.5 },
            "faces": {
                "north": { "texture": "#8", "uv": [ 0.0, 0.0, 2.0, 2.0 ] },
                "east": { "texture": "#8", "uv": [ 0.0, 0.0, 2.0, 2.0 ] },
                "south": { "texture": "#8", "uv": [ 0.0, 0.0, 2.0, 2.0 ] },
                "west": { "texture": "#8", "uv": [ 0.0, 0.0, 2.0, 2.0 ] },
                "up": { "texture": "#8", "uv": [ 0.0, 0.0, 2.0, 2.0 ] },
                "down": { "texture": "#8", "uv": [ 0.0, 0.0, 2.0, 2.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 3.0, 10.0, 8.0 ], 
            "to": [ 5.0, 13.0, 10.0 ], 
            "rotation": { "origin": [ 8.0, 8.0, 8.0 ], "axis": "y", "angle": 22.5 },
            "faces": {
                "north": { "texture": "#9", "uv": [ 0.0, 0.0, 2.0, 3.0 ] },
                "east": { "texture": "#9", "uv": [ 0.0, 0.0, 2.0, 3.0 ] },
                "south": { "texture": "#9", "uv": [ 0.0, 0.0, 2.0, 3.0 ] },
                "west": { "texture": "#9", "uv": [ 0.0, 0.0, 2.0, 3.0 ] },
                "up": { "texture": "#9", "uv": [ 0.0, 0.0, 2.0, 2.0 ] },
                "down": { "texture": "#9", "uv": [ 0.0, 0.0, 2.0, 2.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 14.0, 7.0, 4.0 ], 
            "to": [ 15.0, 10.0, 13.0 ], 
            "faces": {
                "north": { "texture": "#10", "uv": [ 0.0, 0.0, 1.0, 3.0 ] },
                "east": { "texture": "#10", "uv": [ 0.0, 0.0, 9.0, 3.0 ] },
                "south": { "texture": "#10", "uv": [ 0.0, 0.0, 1.0, 3.0 ] },
                "west": { "texture": "#10", "uv": [ 0.0, 0.0, 9.0, 3.0 ] },
                "up": { "texture": "#10", "uv": [ 0.0, 0.0, 1.0, 9.0 ] },
                "down": { "texture": "#10", "uv": [ 0.0, 0.0, 1.0, 9.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 1.0, 7.0, 4.0 ], 
            "to": [ 2.0, 10.0, 13.0 ], 
            "faces": {
                "north": { "texture": "#10", "uv": [ 0.0, 0.0, 1.0, 3.0 ] },
                "east": { "texture": "#10", "uv": [ 0.0, 0.0, 9.0, 3.0 ] },
                "south": { "texture": "#10", "uv": [ 0.0, 0.0, 1.0, 3.0 ] },
                "west": { "texture": "#10", "uv": [ 0.0, 0.0, 9.0, 3.0 ] },
                "up": { "texture": "#10", "uv": [ 0.0, 0.0, 1.0, 9.0 ] },
                "down": { "texture": "#10", "uv": [ 0.0, 0.0, 1.0, 9.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 2.0, 1.0, 2.0 ], 
            "to": [ 5.0, 9.0, 5.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 0.0, 0.0, 3.0, 8.0 ] },
                "east": { "texture": "#1", "uv": [ 0.0, 0.0, 3.0, 8.0 ] },
                "south": { "texture": "#1", "uv": [ 0.0, 0.0, 3.0, 8.0 ] },
                "west": { "texture": "#1", "uv": [ 0.0, 0.0, 3.0, 8.0 ] },
                "up": { "texture": "#1", "uv": [ 0.0, 0.0, 3.0, 3.0 ] },
                "down": { "texture": "#1", "uv": [ 0.0, 0.0, 3.0, 3.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 11.0, 1.0, 2.0 ], 
            "to": [ 14.0, 9.0, 5.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 0.0, 0.0, 3.0, 8.0 ] },
                "east": { "texture": "#1", "uv": [ 0.0, 0.0, 3.0, 8.0 ] },
                "south": { "texture": "#1", "uv": [ 0.0, 0.0, 3.0, 8.0 ] },
                "west": { "texture": "#1", "uv": [ 0.0, 0.0, 3.0, 8.0 ] },
                "up": { "texture": "#1", "uv": [ 0.0, 0.0, 3.0, 3.0 ] },
                "down": { "texture": "#1", "uv": [ 0.0, 0.0, 3.0, 3.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 2.0, 1.0, 11.0 ], 
            "to": [ 5.0, 9.0, 14.0 ], 
            "faces": {
                "north": { "texture": "#1", "uv": [ 0.0, 0.0, 3.0, 8.0 ] },
                "east": { "texture": "#1", "uv": [ 0.0, 0.0, 3.0, 8.0 ] },
                "south": { "texture": "#1", "uv": [ 0.0, 0.0, 3.0, 8.0 ] },
                "west": { "texture": "#1", "uv": [ 0.0, 0.0, 3.0, 8.0 ] },
                "up": { "texture": "#1", "uv": [ 0.0, 0.0, 3.0, 3.0 ] },
                "down": { "texture": "#1", "uv": [ 0.0, 0.0, 3.0, 3.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 9.0, 16.0, -1.0 ], 
            "to": [ 10.0, 22.0, 0.0 ], 
            "rotation": { "origin": [ 8.0, 8.0, 8.0 ], "axis": "z", "angle": 22.5 },
            "faces": {
                "north": { "texture": "#11", "uv": [ 0.0, 0.0, 1.0, 6.0 ] },
                "east": { "texture": "#11", "uv": [ 0.0, 0.0, 1.0, 6.0 ] },
                "south": { "texture": "#11", "uv": [ 0.0, 0.0, 1.0, 6.0 ] },
                "west": { "texture": "#11", "uv": [ 0.0, 0.0, 1.0, 6.0 ] },
                "up": { "texture": "#11", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
                "down": { "texture": "#11", "uv": [ 0.0, 0.0, 1.0, 1.0 ] }
            }
        },
        {
            "name": "Cube",
            "from": [ 6.0, 16.0, -1.0 ], 
            "to": [ 7.0, 22.0, 0.0 ], 
            "rotation": { "origin": [ 8.0, 8.0, 8.0 ], "axis": "z", "angle": -22.5 },
            "faces": {
                "north": { "texture": "#11", "uv": [ 0.0, 0.0, 1.0, 6.0 ] },
                "east": { "texture": "#11", "uv": [ 0.0, 0.0, 1.0, 6.0 ] },
                "south": { "texture": "#11", "uv": [ 0.0, 0.0, 1.0, 6.0 ] },
                "west": { "texture": "#11", "uv": [ 0.0, 0.0, 1.0, 6.0 ] },
                "up": { "texture": "#11", "uv": [ 0.0, 0.0, 1.0, 1.0 ] },
                "down": { "texture": "#11", "uv": [ 0.0, 0.0, 1.0, 1.0 ] }
            }
        }
    ]
}

And this is the block state:

{
    "variants": {
        "normal": { "model": "jum:useless_machine" }
    }
}

Why are you reading this?

  • Author

http://minecraft.gamepedia.com/Models

 

You don't "add" this. It IS your model.

Simply add particle to textures. Also - we can't see your code.

I edited it in, can you please tell me what the hell am I doing wrong?

Thanks :P

Why are you reading this?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.