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 am working on total overhaul mod/resource pack and I have run into an issue with a blockstates file. I want to create a custom model for one of the ores in Thermal Foundation and have my model prepared but unlike vanilla Minecraft, Thermal Foundation uses a single blockstate file to manage all of its ores and declares the model at the top level. I am not sure if it is a .json syntax issue I am running into, or whether there is something that prohibits me from declaring the model under the variations. Can someone point me in the right direction?

Here is the ores.json blockstate file.

{
	"forge_marker": 1,
	"defaults": {
		"model": "cube_all",
		"transform": "forge:default-block"
	},
	"variants": {
		"type": {
			"copper": {
				"textures": {
					"all": "thermalfoundation:blocks/ore/ore_copper"
				}
			},
			"tin": {
				"textures": {
					"all": "thermalfoundation:blocks/ore/ore_tin"
				}
			},
			"silver": {
				"textures": {
					"all": "thermalfoundation:blocks/ore/ore_silver"
				}
			},
			"lead": {
				"textures": {
					"all": "thermalfoundation:blocks/ore/ore_lead"
				}
			},
			"aluminum": {
				"textures": {
					"all": "thermalfoundation:blocks/ore/ore_aluminum"
				}
			},
			"nickel": {
				"textures": {
					"all": "thermalfoundation:blocks/ore/ore_nickel"
				}
			},
			"platinum": {
				"textures": {
					"all": "thermalfoundation:blocks/ore/ore_platinum"
				}
			},
			"iridium": {
				"textures": {
					"all": "thermalfoundation:blocks/ore/ore_iridium"
				}
			},
			"mithril": {
				"textures": {
					"all": "thermalfoundation:blocks/ore/ore_mithril"
				}
			}
		}
	}
}

 

 

Edited by GameSetCrash

My guess is that you're updating this to 1.13+. The ore is registered using metadata. There is no such thing as 'metadata' in that sense after 1.13. So, you have to create a separate block for each ore.

Guest
This topic is now closed to further replies.

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.