Skip to content

Commit

Permalink
Merge pull request #128
Browse files Browse the repository at this point in the history
Minor Adjustment Allows Hoppers to Extract Empty Buckets in the Input Slot from Freezers
  • Loading branch information
UnlikePaladin authored Oct 2, 2024
2 parents b699211 + c40aede commit fcf40ca
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public void onClose(PlayerEntity player) {


private static final int[] TOP_SLOTS = new int[]{0};
private static final int[] BOTTOM_SLOTS = new int[]{2, 1};
private static final int[] BOTTOM_SLOTS = new int[]{2, 1, 0};
private static final int[] SIDE_SLOTS = new int[]{1};
private DefaultedList<ItemStack> inventory = DefaultedList.ofSize(size(), ItemStack.EMPTY);
int fuelTime;
Expand Down Expand Up @@ -229,7 +229,7 @@ public void provideRecipeInputs(RecipeMatcher finder) {

@Override
public boolean canExtract(int slot, ItemStack stack, Direction dir) {
if (dir == Direction.DOWN && slot == 1) {
if (dir == Direction.DOWN && slot != 2) {
return stack.isOf(Items.BUCKET);
}
return true;
Expand Down

0 comments on commit fcf40ca

Please sign in to comment.