2016-05-14 17:50:10 +02:00
|
|
|
package de.ellpeck.actuallyadditions.mod.tile;
|
|
|
|
|
2018-08-10 05:04:07 +02:00
|
|
|
import de.ellpeck.actuallyadditions.mod.util.ItemStackHandlerAA;
|
|
|
|
import de.ellpeck.actuallyadditions.mod.util.ItemStackHandlerAA.IAcceptor;
|
|
|
|
import de.ellpeck.actuallyadditions.mod.util.ItemStackHandlerAA.IRemover;
|
2016-05-14 17:50:10 +02:00
|
|
|
|
2018-08-10 05:04:07 +02:00
|
|
|
public class TileEntityPhantomBreaker extends TileEntityPhantomPlacer {
|
|
|
|
|
|
|
|
public TileEntityPhantomBreaker() {
|
2016-05-14 17:50:10 +02:00
|
|
|
super(9, "phantomBreaker");
|
|
|
|
this.isBreaker = true;
|
|
|
|
}
|
|
|
|
|
2018-08-10 05:04:07 +02:00
|
|
|
@Override
|
|
|
|
public IAcceptor getAcceptor() {
|
2018-10-28 18:38:26 +01:00
|
|
|
return (slot, stack, automation) -> !automation;
|
2018-08-10 05:04:07 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public IRemover getRemover() {
|
|
|
|
return ItemStackHandlerAA.REMOVE_TRUE;
|
|
|
|
}
|
|
|
|
|
2018-10-28 18:38:26 +01:00
|
|
|
}
|