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

This is more of a question of whether this is possible, not so much how its done, that part I can figure out if I know its possible. My issue is as follows: I have a blockstate file for a block that defines a multi-part structure as to change the model depending on different things like sides. I also have a need to use a multi-layer model as to allow for a translucent glowing overlay over the model. In my testing I was not able to define both, as in once I add in the multi-layer aspect it no longer loads due to variants not being found, but attempting to place the multi-part within the variants leads to them once again not loading in, as in:

Spoiler

"forge_marker": 1,
		"defaults": {
			"model": "forge:multi-layer",
			"custom": {
				"base": "radiance:edge_lamp_white#base",
				"Solid": "radiance:edge_lamp_white#base",
				"Translucent": "radiance:edge_lamp_white#glow"
			},
			"transform": "forge:default-block"
		},
    "base": [{
      "custom": { "flip-v": true },
      "model": "radiance:edge_lamp_white"
    }],
    "glow": [{
      "model": "radiance:edge_lamp_glow", "textures": { "overlay": "radiance:blocks/glow" }
    }]

 

this creates the translucent part correctly, but separate from this I have

Spoiler

"multipart": [
        {   "when": {"OR":[{ "north": true }, {"north":false,"south":false,"west":false,"east":false}]},
            "apply": { "model": "radiance:edge_lamp_glow" }
        },
        {   "when": {"OR":[{ "east": true }, {"north":false,"south":false,"west":false,"east":false}]},
            "apply": { "model": "radiance:edge_lamp_glow", "y": 90  }
        },
        {   "when": {"OR":[{ "south": true }, {"north":false,"south":false,"west":false,"east":false}]},
            "apply": { "model": "radiance:edge_lamp_glow", "y": 180 }
        },
        {   "when": {"OR":[{ "west": true }, {"north":false,"south":false,"west":false,"east":false}]},
            "apply": { "model": "radiance:edge_lamp_glow", "y": 270 }
        },
		{   "when": { "top_left": true },
            "apply": { "model": "radiance:edge_lamp_vertical"}
        },
		{   "when": { "top_right": true },
            "apply": { "model": "radiance:edge_lamp_vertical", "y": 90 }
        },
		{   "when": { "bottom_right": true },
            "apply": { "model": "radiance:edge_lamp_vertical", "y": 180 }
        },
		{   "when": { "bottom_left": true },
            "apply": { "model": "radiance:edge_lamp_vertical", "y": 270 }
        }
    ],

 

Is it possible to have both a multi-layer model and a multipart defined? Keep in mind the code snippets provided may not be complete, they were taken from separate models that work individually, its combining them that I can't make sense of

Edited by TerdyTheTerd
Closing, but there is no close feature...why

Which Minecraft version are you using? In 1.14.4/1.15.2, the Forge blockstates format has been deprecated/removed; and the model system has been reworked such that multi-layer models are defined in the model file itself rather than the blockstates file.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

  • Author

Ahh well that likely puts me on my own then, I'm using 1.12.2, which I know many of the users here will quickly paste in a generic message about it not being supported, regardless of the question, simply for being on a different version...

 

I really just want to know if its possible to do via blockstates, otherwise I'll look into doing it another method.

  • Author

I appreciate the response Choonster, others on this site are not as caring.

Closing this myself (why is there no close feature?) before a certain someone decides to remove replies and close with a generic BS response of no longer being supported. I recently replied to someone else's post trying to offer them support, and a moderator then REMOVED my reply to close their post with a generic BS response, unreal. If the stick up your ass is really that long against "unsupported" versions, then require the post to select a version, "unsupported" versions then go into a separate section, of which you can blissfully ignore, really not that difficult...you know who you are

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.