Ignore unused
This commit is contained in:
parent
ee2c3241d4
commit
34ced36ba0
@ -36,10 +36,12 @@ public class MatteryContainer implements Container, Iterable<ItemStack> {
|
|||||||
this.watcher = watcher;
|
this.watcher = watcher;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("unused")
|
||||||
public void startIgnore() {
|
public void startIgnore() {
|
||||||
ignore_change_notifications++;
|
ignore_change_notifications++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("unused")
|
||||||
public void stopIgnore() {
|
public void stopIgnore() {
|
||||||
ignore_change_notifications--;
|
ignore_change_notifications--;
|
||||||
}
|
}
|
||||||
@ -105,6 +107,7 @@ public class MatteryContainer implements Container, Iterable<ItemStack> {
|
|||||||
return new ContainerIteratorItemStack(this);
|
return new ContainerIteratorItemStack(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("unused")
|
||||||
public void consumeNonEmpty(Consumer<ItemStack> consumer) {
|
public void consumeNonEmpty(Consumer<ItemStack> consumer) {
|
||||||
stackIterator().consume(consumer);
|
stackIterator().consume(consumer);
|
||||||
}
|
}
|
||||||
@ -153,6 +156,7 @@ public class MatteryContainer implements Container, Iterable<ItemStack> {
|
|||||||
return container;
|
return container;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@SuppressWarnings("unused")
|
||||||
public boolean hasEmptySlot() {
|
public boolean hasEmptySlot() {
|
||||||
for (int i = 0; i < getContainerSize(); i++) {
|
for (int i = 0; i < getContainerSize(); i++) {
|
||||||
if (getItem(i).isEmpty())
|
if (getItem(i).isEmpty())
|
||||||
|
Loading…
Reference in New Issue
Block a user