2017-02-04 14:12:17 +01:00
|
|
|
package de.ellpeck.actuallyadditions.mod.util.compat;
|
|
|
|
|
|
|
|
import net.minecraftforge.items.IItemHandler;
|
|
|
|
|
2019-05-02 09:10:29 +02:00
|
|
|
public class SlotlessableItemHandlerWrapper {
|
2017-02-04 14:12:17 +01:00
|
|
|
|
|
|
|
private final IItemHandler normalHandler;
|
|
|
|
private final Object slotlessHandler;
|
|
|
|
|
2019-05-02 09:10:29 +02:00
|
|
|
public SlotlessableItemHandlerWrapper(IItemHandler normalHandler, Object slotlessHandler) {
|
2017-02-04 14:12:17 +01:00
|
|
|
this.normalHandler = normalHandler;
|
|
|
|
this.slotlessHandler = slotlessHandler;
|
|
|
|
}
|
|
|
|
|
2019-05-02 09:10:29 +02:00
|
|
|
public IItemHandler getNormalHandler() {
|
2017-02-04 14:12:17 +01:00
|
|
|
return this.normalHandler;
|
|
|
|
}
|
|
|
|
|
2019-05-02 09:10:29 +02:00
|
|
|
public Object getSlotlessHandler() {
|
2017-02-04 14:12:17 +01:00
|
|
|
return this.slotlessHandler;
|
|
|
|
}
|
|
|
|
}
|