Unified Parameter-Names for Slots

This commit is contained in:
Sebastian Hartte
2020-08-02 22:12:08 +02:00
parent 5fca946ef3
commit a85ffec9f9
23 changed files with 112 additions and 109 deletions
@@ -26,12 +26,12 @@ public class InaccessibleSlot extends AppEngSlot {
private ItemStack dspStack = ItemStack.EMPTY;
public InaccessibleSlot(final IItemHandler i, final int slotIdx, final int x, final int y) {
super(i, slotIdx, x, y);
public InaccessibleSlot(final IItemHandler i, final int invSlot, final int x, final int y) {
super(i, invSlot, x, y);
}
@Override
public boolean isItemValid(final ItemStack i) {
public boolean isItemValid(final ItemStack stack) {
return false;
}
@@ -42,7 +42,7 @@ public class InaccessibleSlot extends AppEngSlot {
}
@Override
public boolean canTakeStack(final PlayerEntity par1PlayerEntity) {
public boolean canTakeStack(final PlayerEntity player) {
return false;
}