File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
run/kubejs/server_scripts
src/main/java/net/neganote/monilabs/common/machine/multiblock Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ ServerEvents.recipes(event =>{
2828 . itemInputs ( "minecraft:dirt" )
2929 . EUt ( 128 )
3030 . duration ( 100 )
31- . outputStatesSpecial ( SpecialCase . ANY )
31+ . outputStatesRelative ( 1 )
3232
3333 event . recipes . gtceu . prismatic_crucible ( "test5" )
3434 . inputColor ( PrismaticColor . TERTIARY )
Original file line number Diff line number Diff line change @@ -123,12 +123,12 @@ public void afterWorking() {
123123
124124 int newKey ;
125125
126- int outputStatesCount = recipe .data .getInt ("output_states" );
127126 if (recipe .data .contains ("output_states" )) {
127+ int outputStatesCount = recipe .data .getInt ("output_states" );
128128 if (outputStatesCount == 1 ) { // Deterministic
129129 newKey = recipe .data .getInt ("output_states_0" );
130130
131- } else if (outputStatesCount == Color .COLOR_COUNT ) { // Full random
131+ } else if (outputStatesCount == Color .ACTUAL_COLOR_COUNT ) { // Full random
132132 newKey = Color .getRandomColor ();
133133
134134 } else { // Random Among List
@@ -139,7 +139,7 @@ public void afterWorking() {
139139 }
140140
141141 if (recipe .data .contains ("color_change_relative" ) && recipe .data .getBoolean ("color_change_relative" )) {
142- newKey = (color .key + newKey ) % Color .COLOR_COUNT ;
142+ newKey = (color .key + newKey ) % Color .ACTUAL_COLOR_COUNT ;
143143 }
144144 } else {
145145 newKey = Color .getRandomColor ();
You can’t perform that action at this time.
0 commit comments