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

I'm trying to add Rose Quartz to the game. When I do the pillar the block shows up in game but with no textures.

 

This is what I have in BlockInit

@SubscribeEvent
    public static void registerBlocks(final RegistryEvent.Register<Block> event)
    {
        event.getRegistry().register(new Block(Properties.from(Blocks.QUARTZ_PILLAR)).setRegistryName("rose_quartz_pillar_block"));
    }

 

My Blockstate

{
    "variants": {
        "axis=y": { "model": "block/rose_quartz_pillar_block" },
        "axis=z": { "model": "block/rose_quartz_pillar_block", "x": 90 },
        "axis=x": { "model": "block/rose_quartz_pillar_block", "x": 90, "y": 90 },
    }
}

And my model

{
    "parent": "block/cube_column",
    "textures": {
        "end": "block/rose_quartz_pillar_top",
        "side": "block/rose_quartz_pillar"
    }
}
 

Any idea what I'm doing wrong?

Please post your debug.log, it will tell us what is going wrong. :)

 

*edit: also, please use an external post site for the debug.log, as it will be quite large for sure. github gists are great for that.

Edited by Ugdhar

27 minutes ago, Umpaz said:

        "end": "block/rose_quartz_pillar_top",
        "side": "block/rose_quartz_pillar"

You need to include your mod ID or the game will search the minecraft textures.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

  • Author
4 minutes ago, Draco18s said:

You need to include your mod ID or the game will search the minecraft textures.

I changed it for the model and blockstate. Still shows up textureless.

Edited by Umpaz

Quote

 

[06Jun2020 20:53:28.004] [Server-Worker-5/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'umpaztweaks:blockstates/rose_quartz_pillar_block.json' missing model for variant: 'umpaztweaks:rose_quartz_pillar_block#'

[06Jun2020 20:53:28.005] [Server-Worker-5/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'umpaztweaks:blockstates/rose_quartz_pillar_block.json' in resourcepack: 'Mod Resources': com.google.gson.stream.MalformedJsonException: Expected name at line 6 column 3 path $.variants.axis=x

[06Jun2020 20:53:29.248] [Server-Worker-8/ERROR] [net.minecraft.client.renderer.texture.AtlasTexture/]: Using missing texture, unable to load umpaztweaks:textures/block/rose_quartz_pillar_top.png : java.io.FileNotFoundException: umpaztweaks:textures/block/rose_quartz_pillar_top.png

[06Jun2020 20:53:29.344] [Server-Worker-3/ERROR] [net.minecraft.client.renderer.texture.AtlasTexture/]: Using missing texture, unable to load umpaztweaks:textures/block/rose_quartz_pillar.png : java.io.FileNotFoundException: umpaztweaks:textures/block/rose_quartz_pillar.png

 

 

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

  • Author

I'm using the same blockstate as the vanilla quartz pillar. I copied and pasted on purpose to make sure nothing should have gone wrong.

He already did:

15 hours ago, Umpaz said:

My Blockstate

{
    "variants": {
        "axis=y": { "model": "block/rose_quartz_pillar_block" },
        "axis=z": { "model": "block/rose_quartz_pillar_block", "x": 90 },
        "axis=x": { "model": "block/rose_quartz_pillar_block", "x": 90, "y": 90 },
    }
}

And it does contain the error. I spotted it easily.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

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.