Skip to content

Commit 22ad459

Browse files
committed
Remove unused method from recipe
1 parent 477fee6 commit 22ad459

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/main/java/com/robotgryphon/compactcrafting/recipes/MiniaturizationRecipe.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -223,17 +223,6 @@ public boolean areLayerPositionsCorrect(IRecipeLayer layer, AxisAlignedBB fieldF
223223
.allMatch(layer::isPositionRequired);
224224
}
225225

226-
private Optional<IRecipeLayer> getRecipeLayerFromPositions(AxisAlignedBB fieldFilledBounds, BlockPos[] filledPositions) {
227-
if (filledPositions.length == 0)
228-
return Optional.empty();
229-
230-
int filledYLevel = filledPositions[0].getY();
231-
int minFilledLevel = (int) Math.floor(fieldFilledBounds.minY);
232-
int yLevelRelative = filledYLevel - minFilledLevel;
233-
234-
return this.getLayer(yLevelRelative);
235-
}
236-
237226
public Optional<IRecipeLayer> getLayer(int y) {
238227
if (y < 0 || y > this.layers.length - 1)
239228
return Optional.empty();

0 commit comments

Comments
 (0)