Advanced XRay (Neoforge Edition)

Advanced XRay (Neoforge Edition)

5M Downloads

Industrial Craft 2‘s ore block can't be seen and their appearance is forge: default-block

Geooo030 opened this issue · 1 comments

commented

Describe the bug

Industrial Craft 2‘s ore block can't be seen and their appearance is forge: default-block..

To Reproduce

This phenomenon occurs in all the Industrial Craft 2‘s ore blocks.

UO4H%~E)H$I33RJIT8@` GM

Minecraft Environment

Minecraft Version: 1.12.2
XRay Mod Version: [Xray+Ultimate+1.12+v2.2.0.zip]

Additional context

I found that maybe the ic2's path caused this bug.

File path:

Xray+Ultimate+1.12+v2.2.0\assets\ic2\blockstates\resource.json

source code

{
	"forge_marker": 1,
	"defaults": {
		"transform": "forge:default-block"
	},
	"variants": {
		"type": {
			"basalt": { "model": "block/ic2/xray/basalt" },
			"copper_ore": { "model": "block/ic2/copper_ore" },
			"lead_ore": { "model": "block/ic2/lead_ore" },
			"tin_ore": { "model": "block/ic2/tin_ore" },
			"uranium_ore": { "model": "block/ic2/xray/uranium_ore" },
			"bronze_block": { "model": "ic2:resource/bronze_block" },
			"copper_block": { "model": "ic2:resource/copper_block" },
			"lead_block": { "model": "ic2:resource/lead_block" },
			"steel_block": { "model": "ic2:resource/steel_block" },
			"tin_block": { "model": "ic2:resource/tin_block" },
			"uranium_block": { "model": "ic2:resource/uranium_block" },
			"reinforced_stone": { "model": "ic2:resource/reinforced_stone" },
			"machine": { "model": "ic2:resource/machine" },
			"advanced_machine": { "model": "ic2:resource/advanced_machine" },
			"reactor_vessel": { "model": "ic2:generator/reactor/reactor_vessel" }
		},
		"inventory": [{}]
	}
}

When I changed the code look like this, it worked normally

{
	"forge_marker": 1,
	"defaults": {
		"transform": "forge:default-block"
	},
	"variants": {
		"type": {
			"basalt": { "model": "ic2/xray/basalt" },
			"copper_ore": { "model": "ic2/copper_ore" },
			"lead_ore": { "model": "ic2/lead_ore" },
			"tin_ore": { "model": "ic2/tin_ore" },
			"uranium_ore": { "model": "ic2/uranium_ore" },
			"bronze_block": { "model": "ic2:resource/bronze_block" },
			"copper_block": { "model": "ic2:resource/copper_block" },
			"lead_block": { "model": "ic2:resource/lead_block" },
			"steel_block": { "model": "ic2:resource/steel_block" },
			"tin_block": { "model": "ic2:resource/tin_block" },
			"uranium_block": { "model": "ic2:resource/uranium_block" },
			"reinforced_stone": { "model": "ic2:resource/reinforced_stone" },
			"machine": { "model": "ic2:resource/machine" },
			"advanced_machine": { "model": "ic2:resource/advanced_machine" },
			"reactor_vessel": { "model": "ic2:generator/reactor/reactor_vessel" }
		},
		"inventory": [{}]
	}
}

After fixing code's screenshot:
_BL5B30FA6CCR`3@6Y@FWJV

commented

Not my mod