Jump to content

[1.14.4] [SOLVED] Trouble getting Forge Blockstate jsons to work


TheOnlyTrueEnte

Recommended Posts

I'm using Forge 1.14.4-28.1.0

I've been trying to figure out Forge's blockstate.jsons. I cannot get them to work even though I'm following the official docs closely. The block I'm trying them with is the acacia slab.

 

The first thing I tried is have the "type" state change the textures.

The model is correctly applied but the textures are not (the pink/black debug texture is shown):

{
  "forge_marker": 1,
  "defaults": {
    "model": "block/pressure_plate_up"
  },
  "variants": {
    "type": {
		"bottom": {
			"textures": {
				"texture": "block/black_wool"
			}
		},
		"top": {
			"textures": {
				"texture": "block/blue_wool"
			}
		},
		"double":{
			"textures": {
				"texture": "block/red_wool"
			}
		}
	}
  }
}

 

In fact, not even this works, producing the same result:

{
  "forge_marker": 1,
  "defaults": {
    "model": "block/pressure_plate_up",
	"textures": {
		"texture": "block/white_wool"
	}
  },
  "variants": {
    "type": {
		"bottom": {},
		"top": {},
		"double":{}
	}
  }
}

 

This one breaks the model. Only the debug cube is shown. In fact I can't get any forge blockstate to work that doesn't have any states/variants, like cobblestone.

{
  "forge_marker": 1,
  "defaults": {
    "model": "block/dirt"
  },
  "variants": {
    "normal": [{}]
  }
}

 

What am I doing wrong?

Thank you.

2019-11-09_01.26.34.png

Edited by TheOnlyTrueEnte
Link to comment
Share on other sites

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

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