Making charged certus ore glow again (#3035)

This commit is contained in:
fscan
2017-08-17 11:01:31 +02:00
committed by yueh
parent 04d2b06c0d
commit 098ee2f000
4 changed files with 109 additions and 6 deletions
@@ -246,6 +246,7 @@ public final class ApiBlocks implements IBlocks
.build();
this.quartzOreCharged = registry.block( "charged_quartz_ore", BlockChargedQuartzOre::new )
.features( AEFeature.CERTUS_ORE, AEFeature.CHARGED_CERTUS_ORE )
.useCustomItemModel()
.bootstrap( ( block, item ) -> (IOreDictComponent) side -> OreDictionary.registerOre( "oreCertusQuartz", new ItemStack( block ) ) )
.build();
this.matrixFrame = registry.block( "matrix_frame", BlockMatrixFrame::new ).features( AEFeature.SPATIAL_IO ).build();
@@ -1,7 +1,16 @@
{
"variants": {
"normal": {
"model": "appliedenergistics2:charged_quartz_ore"
"forge_marker": 1,
"defaults": {
"textures": {
"all": "appliedenergistics2:blocks/charged_quartz_ore"
}
},
"variants": {
"normal": [{
"model": "appliedenergistics2:charged_quartz_ore"
}],
"inventory": [{
"model": "cube_all"
}]
}
}
@@ -1,6 +1,99 @@
{
"parent": "block/cube_all",
"uvlMarker": true,
"parent": "block/block",
"textures": {
"all": "appliedenergistics2:blocks/charged_quartz_ore"
}
"block": "blocks/stone",
"quartz": "appliedenergistics2:blocks/charged_quartz_ore_light"
},
"elements": [
{
"faces": {
"down": {
"texture": "#block"
},
"east": {
"texture": "#block"
},
"north": {
"texture": "#block"
},
"south": {
"texture": "#block"
},
"up": {
"texture": "#block"
},
"west": {
"texture": "#block"
}
},
"from": [
0,
0,
0
],
"to": [
16,
16,
16
]
},
{
"faces": {
"down": {
"texture": "#quartz",
"uvlightmap": {
"block": 0.007,
"sky": 0.007
}
},
"east": {
"texture": "#quartz",
"uvlightmap": {
"block": 0.007,
"sky": 0.007
}
},
"north": {
"texture": "#quartz",
"uvlightmap": {
"block": 0.007,
"sky": 0.007
}
},
"south": {
"texture": "#quartz",
"uvlightmap": {
"block": 0.007,
"sky": 0.007
}
},
"up": {
"texture": "#quartz",
"uvlightmap": {
"block": 0.007,
"sky": 0.007
}
},
"west": {
"texture": "#quartz",
"uvlightmap": {
"block": 0.007,
"sky": 0.007
}
}
},
"from": [
0,
0,
0
],
"shade": false,
"to": [
16,
16,
16
]
}
]
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 826 B