@@ -45,12 +45,12 @@ public class InventoryNetworkTest {
4545 .set (2 , 0 , 0 , Blocks .BARREL .defaultBlockState ())
4646 .set (8 , 0 , 0 , Blocks .BARREL .defaultBlockState ())
4747
48- .set (3 , 0 , 1 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .getBlock (). defaultBlockState (), configured (Direction .NORTH ))
48+ .set (3 , 0 , 1 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .defaultState (), configured (Direction .NORTH ))
4949
50- .fill (0 , 0 , 0 , 1 , 0 , 0 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .getBlock (). defaultBlockState ())
51- .set (0 , 0 , 1 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .getBlock (). defaultBlockState ())
52- .fill (0 , 0 , 2 , 9 , 0 , 2 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .getBlock (). defaultBlockState ())
53- .fill (9 , 0 , 0 , 9 , 0 , 1 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .getBlock (). defaultBlockState ())
50+ .fill (0 , 0 , 0 , 1 , 0 , 0 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .defaultState ())
51+ .set (0 , 0 , 1 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .defaultState ())
52+ .fill (0 , 0 , 2 , 9 , 0 , 2 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .defaultState ())
53+ .fill (9 , 0 , 0 , 9 , 0 , 1 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .defaultState ())
5454 );
5555
5656 //TODO: Do we want to somehow test the case of when we add a shorter path to the same destination, as the newly pulled items go via the new shorter path
@@ -82,8 +82,8 @@ public static void shorterNewDestination(final DynamicTest test) {
8282 .set (0 , 0 , 5 , Blocks .BARREL .defaultBlockState ())
8383 .set (2 , 0 , 2 , Blocks .BARREL .defaultBlockState ())
8484
85- .set (0 , 0 , 1 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .getBlock (). defaultBlockState (), configured (Direction .NORTH ))
86- .fill (0 , 0 , 2 , 0 , 0 , 4 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .getBlock (). defaultBlockState ())
85+ .set (0 , 0 , 1 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .defaultState (), configured (Direction .NORTH ))
86+ .fill (0 , 0 , 2 , 0 , 0 , 4 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .defaultState ())
8787 );
8888
8989 test .onGameTest (helper -> helper .startSequence ()
@@ -111,11 +111,11 @@ public static void shorterEnabledPath(final DynamicTest test) {
111111 .set (0 , 0 , 5 , Blocks .BARREL .defaultBlockState ())
112112 .set (2 , 0 , 2 , Blocks .BARREL .defaultBlockState ())
113113
114- .set (0 , 0 , 1 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .getBlock (). defaultBlockState (), configured (Direction .NORTH ))
115- .fill (0 , 0 , 2 , 0 , 0 , 4 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .getBlock (). defaultBlockState ())
114+ .set (0 , 0 , 1 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .defaultState (), configured (Direction .NORTH ))
115+ .fill (0 , 0 , 2 , 0 , 0 , 4 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .defaultState ())
116116
117- .set (1 , 0 , 3 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .getBlock (). defaultBlockState ())
118- .set (1 , 0 , 2 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .getBlock (). defaultBlockState (), configured (null , Direction .WEST , ConnectionType .NONE ))
117+ .set (1 , 0 , 3 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .defaultState ())
118+ .set (1 , 0 , 2 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .defaultState (), configured (null , Direction .WEST , ConnectionType .NONE ))
119119 );
120120
121121 test .onGameTest (helper -> helper .startSequence ()
@@ -143,8 +143,8 @@ public static void colorlessIntoColor(final DynamicTest test) {
143143 .set (0 , 0 , 0 , Blocks .BARREL .defaultBlockState (), containing (Items .STONE ))
144144 //End barrel
145145 .set (1 , 0 , 0 , Blocks .BARREL .defaultBlockState ())
146- .set (0 , 0 , 1 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .getBlock (). defaultBlockState (), configured (Direction .NORTH ))
147- .set (1 , 0 , 1 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .getBlock (). defaultBlockState (), colored (EnumColor .BLACK ))
146+ .set (0 , 0 , 1 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .defaultState (), configured (Direction .NORTH ))
147+ .set (1 , 0 , 1 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .defaultState (), colored (EnumColor .BLACK ))
148148 );
149149
150150 //Note: We initialize the starting inventory above
@@ -169,10 +169,10 @@ public static void colorMatches(final DynamicTest test) {
169169 .set (2 , 0 , 2 , Blocks .BARREL .defaultBlockState ())
170170 .set (2 , 0 , 3 , Blocks .BARREL .defaultBlockState ())
171171
172- .set (0 , 0 , 1 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .getBlock (). defaultBlockState (), colored (EnumColor .BLACK , Direction .NORTH ))
173- .set (1 , 0 , 2 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .getBlock (). defaultBlockState (), colored (EnumColor .DARK_BLUE ))
174- .set (1 , 0 , 3 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .getBlock (). defaultBlockState (), colored (EnumColor .BLACK ))
175- .fill (0 , 0 , 2 , 0 , 0 , 3 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .getBlock (). defaultBlockState ())
172+ .set (0 , 0 , 1 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .defaultState (), colored (EnumColor .BLACK , Direction .NORTH ))
173+ .set (1 , 0 , 2 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .defaultState (), colored (EnumColor .DARK_BLUE ))
174+ .set (1 , 0 , 3 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .defaultState (), colored (EnumColor .BLACK ))
175+ .fill (0 , 0 , 2 , 0 , 0 , 3 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .defaultState ())
176176 );
177177
178178 test .onGameTest (helper -> helper .startSequence ()
@@ -199,9 +199,9 @@ public static void colorIsNotPriority(final DynamicTest test) {
199199 .set (1 , 0 , 2 , Blocks .BARREL .defaultBlockState ())
200200 .set (1 , 0 , 3 , Blocks .BARREL .defaultBlockState ())
201201
202- .set (0 , 0 , 1 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .getBlock (). defaultBlockState (), colored (EnumColor .BLACK , Direction .NORTH ))
203- .set (0 , 0 , 2 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .getBlock (). defaultBlockState ())
204- .set (0 , 0 , 3 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .getBlock (). defaultBlockState (), colored (EnumColor .BLACK ))
202+ .set (0 , 0 , 1 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .defaultState (), colored (EnumColor .BLACK , Direction .NORTH ))
203+ .set (0 , 0 , 2 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .defaultState ())
204+ .set (0 , 0 , 3 , MekanismBlocks .BASIC_LOGISTICAL_TRANSPORTER .defaultState (), colored (EnumColor .BLACK ))
205205 );
206206
207207 test .onGameTest (helper -> helper .startSequence ()
0 commit comments