Makes quartz fixture resources and class consistent with the registry name.
This commit is contained in:
+3
-3
@@ -49,16 +49,16 @@ import appeng.core.CommonHelper;
|
|||||||
import appeng.helpers.ICustomCollision;
|
import appeng.helpers.ICustomCollision;
|
||||||
import appeng.helpers.MetaRotation;
|
import appeng.helpers.MetaRotation;
|
||||||
|
|
||||||
public class BlockQuartzTorch extends AEBaseBlock implements IOrientableBlock, ICustomCollision
|
public class BlockQuartzFixture extends AEBaseBlock implements IOrientableBlock, ICustomCollision
|
||||||
{
|
{
|
||||||
|
|
||||||
// Cannot use the vanilla FACING property here because it excludes facing DOWN
|
// Cannot use the vanilla FACING property here because it excludes facing DOWN
|
||||||
public static final PropertyDirection FACING = PropertyDirection.create( "facing" );
|
public static final PropertyDirection FACING = PropertyDirection.create( "facing" );
|
||||||
|
|
||||||
// Used to alternate between two variants of the torch on adjacent blocks
|
// Used to alternate between two variants of the fixture on adjacent blocks
|
||||||
public static final PropertyBool ODD = PropertyBool.create( "odd" );
|
public static final PropertyBool ODD = PropertyBool.create( "odd" );
|
||||||
|
|
||||||
public BlockQuartzTorch()
|
public BlockQuartzFixture()
|
||||||
{
|
{
|
||||||
super( Material.CIRCUITS );
|
super( Material.CIRCUITS );
|
||||||
|
|
||||||
@@ -46,7 +46,7 @@ import appeng.block.misc.BlockInterface;
|
|||||||
import appeng.block.misc.BlockLightDetector;
|
import appeng.block.misc.BlockLightDetector;
|
||||||
import appeng.block.misc.BlockPaint;
|
import appeng.block.misc.BlockPaint;
|
||||||
import appeng.block.misc.BlockQuartzGrowthAccelerator;
|
import appeng.block.misc.BlockQuartzGrowthAccelerator;
|
||||||
import appeng.block.misc.BlockQuartzTorch;
|
import appeng.block.misc.BlockQuartzFixture;
|
||||||
import appeng.block.misc.BlockSecurityStation;
|
import appeng.block.misc.BlockSecurityStation;
|
||||||
import appeng.block.misc.BlockSkyCompass;
|
import appeng.block.misc.BlockSkyCompass;
|
||||||
import appeng.block.misc.BlockTinyTNT;
|
import appeng.block.misc.BlockTinyTNT;
|
||||||
@@ -200,7 +200,7 @@ public final class ApiBlocks implements IBlocks
|
|||||||
this.chiseledQuartzBlock = deco.block( "chiseled_quartz_block", BlockChiseledQuartz::new ).build();
|
this.chiseledQuartzBlock = deco.block( "chiseled_quartz_block", BlockChiseledQuartz::new ).build();
|
||||||
this.quartzGlass = deco.block( "quartz_glass", BlockQuartzGlass::new ).build();
|
this.quartzGlass = deco.block( "quartz_glass", BlockQuartzGlass::new ).build();
|
||||||
this.quartzVibrantGlass = deco.block( "quartz_vibrant_glass", BlockQuartzLamp::new ).addFeatures( AEFeature.DecorativeLights ).build();
|
this.quartzVibrantGlass = deco.block( "quartz_vibrant_glass", BlockQuartzLamp::new ).addFeatures( AEFeature.DecorativeLights ).build();
|
||||||
this.quartzFixture = registry.block( "quartz_fixture", BlockQuartzTorch::new ).features( AEFeature.DecorativeLights ).build();
|
this.quartzFixture = registry.block( "quartz_fixture", BlockQuartzFixture::new ).features( AEFeature.DecorativeLights ).build();
|
||||||
|
|
||||||
this.fluixBlock = deco.block( "fluix_block", BlockFluix::new ).build();
|
this.fluixBlock = deco.block( "fluix_block", BlockFluix::new ).build();
|
||||||
this.skyStoneBlock = deco.block( "sky_stone_block", () -> new BlockSkyStone( SkystoneType.STONE ) ).build();
|
this.skyStoneBlock = deco.block( "sky_stone_block", () -> new BlockSkyStone( SkystoneType.STONE ) ).build();
|
||||||
|
|||||||
@@ -1,47 +1,47 @@
|
|||||||
{
|
{
|
||||||
"variants": {
|
"variants": {
|
||||||
"facing=down,odd=false": {
|
"facing=down,odd=false": {
|
||||||
"model": "appliedenergistics2:quartz_torch_standing",
|
"model": "appliedenergistics2:quartz_fixture_standing",
|
||||||
"x": 180
|
"x": 180
|
||||||
},
|
},
|
||||||
"facing=down,odd=true": {
|
"facing=down,odd=true": {
|
||||||
"model": "appliedenergistics2:quartz_torch_standing_odd",
|
"model": "appliedenergistics2:quartz_fixture_standing_odd",
|
||||||
"x": 180
|
"x": 180
|
||||||
},
|
},
|
||||||
"facing=east,odd=false": {
|
"facing=east,odd=false": {
|
||||||
"model": "appliedenergistics2:quartz_torch_wall",
|
"model": "appliedenergistics2:quartz_fixture_wall",
|
||||||
"y": 90
|
"y": 90
|
||||||
},
|
},
|
||||||
"facing=east,odd=true": {
|
"facing=east,odd=true": {
|
||||||
"model": "appliedenergistics2:quartz_torch_wall_odd",
|
"model": "appliedenergistics2:quartz_fixture_wall_odd",
|
||||||
"y": 90
|
"y": 90
|
||||||
},
|
},
|
||||||
"facing=north,odd=false": {
|
"facing=north,odd=false": {
|
||||||
"model": "appliedenergistics2:quartz_torch_wall"
|
"model": "appliedenergistics2:quartz_fixture_wall"
|
||||||
},
|
},
|
||||||
"facing=north,odd=true": {
|
"facing=north,odd=true": {
|
||||||
"model": "appliedenergistics2:quartz_torch_wall_odd"
|
"model": "appliedenergistics2:quartz_fixture_wall_odd"
|
||||||
},
|
},
|
||||||
"facing=south,odd=false": {
|
"facing=south,odd=false": {
|
||||||
"model": "appliedenergistics2:quartz_torch_wall",
|
"model": "appliedenergistics2:quartz_fixture_wall",
|
||||||
"y": 180
|
"y": 180
|
||||||
},
|
},
|
||||||
"facing=south,odd=true": {
|
"facing=south,odd=true": {
|
||||||
"model": "appliedenergistics2:quartz_torch_wall_odd",
|
"model": "appliedenergistics2:quartz_fixture_wall_odd",
|
||||||
"y": 180
|
"y": 180
|
||||||
},
|
},
|
||||||
"facing=up,odd=false": {
|
"facing=up,odd=false": {
|
||||||
"model": "appliedenergistics2:quartz_torch_standing"
|
"model": "appliedenergistics2:quartz_fixture_standing"
|
||||||
},
|
},
|
||||||
"facing=up,odd=true": {
|
"facing=up,odd=true": {
|
||||||
"model": "appliedenergistics2:quartz_torch_standing_odd"
|
"model": "appliedenergistics2:quartz_fixture_standing_odd"
|
||||||
},
|
},
|
||||||
"facing=west,odd=false": {
|
"facing=west,odd=false": {
|
||||||
"model": "appliedenergistics2:quartz_torch_wall",
|
"model": "appliedenergistics2:quartz_fixture_wall",
|
||||||
"y": 270
|
"y": 270
|
||||||
},
|
},
|
||||||
"facing=west,odd=true": {
|
"facing=west,odd=true": {
|
||||||
"model": "appliedenergistics2:quartz_torch_wall_odd",
|
"model": "appliedenergistics2:quartz_fixture_wall_odd",
|
||||||
"y": 270
|
"y": 270
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
+3
-3
@@ -299,8 +299,8 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"textures": {
|
"textures": {
|
||||||
"particle": "appliedenergistics2:blocks/quartz_torch",
|
"particle": "appliedenergistics2:blocks/quartz_fixture",
|
||||||
"metal": "appliedenergistics2:blocks/quartz_torch_metal",
|
"metal": "appliedenergistics2:blocks/quartz_fixture_metal",
|
||||||
"quartz": "appliedenergistics2:blocks/quartz_torch"
|
"quartz": "appliedenergistics2:blocks/quartz_fixture"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+3
-3
@@ -299,8 +299,8 @@
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
"textures": {
|
"textures": {
|
||||||
"particle": "appliedenergistics2:blocks/quartz_torch",
|
"particle": "appliedenergistics2:blocks/quartz_fixture",
|
||||||
"metal": "appliedenergistics2:blocks/quartz_torch_metal",
|
"metal": "appliedenergistics2:blocks/quartz_fixture_metal",
|
||||||
"quartz": "appliedenergistics2:blocks/quartz_torch"
|
"quartz": "appliedenergistics2:blocks/quartz_fixture"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+11
-11
@@ -122,15 +122,15 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"from": [
|
"from": [
|
||||||
8.0,
|
7.0,
|
||||||
4.0,
|
4.0,
|
||||||
12.0
|
11.0
|
||||||
],
|
],
|
||||||
"name": "Lower Quartz Tip",
|
"name": "Lower Quartz Tip",
|
||||||
"to": [
|
"to": [
|
||||||
9.0,
|
8.0,
|
||||||
5.0,
|
5.0,
|
||||||
13.0
|
12.0
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -188,21 +188,21 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"from": [
|
"from": [
|
||||||
7.0,
|
8.0,
|
||||||
10.0,
|
10.0,
|
||||||
11.0
|
12.0
|
||||||
],
|
],
|
||||||
"name": "Upper Quartz Tip",
|
"name": "Upper Quartz Tip",
|
||||||
"to": [
|
"to": [
|
||||||
8.0,
|
9.0,
|
||||||
11.0,
|
11.0,
|
||||||
12.0
|
13.0
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"textures": {
|
"textures": {
|
||||||
"particle": "appliedenergistics2:blocks/quartz_torch",
|
"particle": "appliedenergistics2:blocks/quartz_fixture",
|
||||||
"metal": "appliedenergistics2:blocks/quartz_torch_metal",
|
"metal": "appliedenergistics2:blocks/quartz_fixture_metal",
|
||||||
"quartz": "appliedenergistics2:blocks/quartz_torch"
|
"quartz": "appliedenergistics2:blocks/quartz_fixture"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+11
-11
@@ -122,15 +122,15 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"from": [
|
"from": [
|
||||||
7.0,
|
8.0,
|
||||||
4.0,
|
4.0,
|
||||||
11.0
|
12.0
|
||||||
],
|
],
|
||||||
"name": "Lower Quartz Tip",
|
"name": "Lower Quartz Tip",
|
||||||
"to": [
|
"to": [
|
||||||
8.0,
|
9.0,
|
||||||
5.0,
|
5.0,
|
||||||
12.0
|
13.0
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -188,21 +188,21 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"from": [
|
"from": [
|
||||||
8.0,
|
7.0,
|
||||||
10.0,
|
10.0,
|
||||||
12.0
|
11.0
|
||||||
],
|
],
|
||||||
"name": "Upper Quartz Tip",
|
"name": "Upper Quartz Tip",
|
||||||
"to": [
|
"to": [
|
||||||
9.0,
|
8.0,
|
||||||
11.0,
|
11.0,
|
||||||
13.0
|
12.0
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"textures": {
|
"textures": {
|
||||||
"particle": "appliedenergistics2:blocks/quartz_torch",
|
"particle": "appliedenergistics2:blocks/quartz_fixture",
|
||||||
"metal": "appliedenergistics2:blocks/quartz_torch_metal",
|
"metal": "appliedenergistics2:blocks/quartz_fixture_metal",
|
||||||
"quartz": "appliedenergistics2:blocks/quartz_torch"
|
"quartz": "appliedenergistics2:blocks/quartz_fixture"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+2
-2
@@ -168,7 +168,7 @@
|
|||||||
],
|
],
|
||||||
"parent": "block/block",
|
"parent": "block/block",
|
||||||
"textures": {
|
"textures": {
|
||||||
"metal": "appliedenergistics2:blocks/quartz_torch_metal",
|
"metal": "appliedenergistics2:blocks/quartz_fixture_metal",
|
||||||
"quartz": "appliedenergistics2:blocks/quartz_torch"
|
"quartz": "appliedenergistics2:blocks/quartz_fixture"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Before Width: | Height: | Size: 824 B After Width: | Height: | Size: 824 B |
|
Before Width: | Height: | Size: 622 B After Width: | Height: | Size: 622 B |
Reference in New Issue
Block a user