mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-06-08 08:33:37 +02:00
23 lines
609 B
Java
23 lines
609 B
Java
package de.ellpeck.actuallyadditions.common.util.compat;
|
|
|
|
import net.minecraftforge.items.IItemHandler;
|
|
|
|
public class SlotlessableItemHandlerWrapper {
|
|
|
|
private final IItemHandler normalHandler;
|
|
private final Object slotlessHandler;
|
|
|
|
public SlotlessableItemHandlerWrapper(IItemHandler normalHandler, Object slotlessHandler) {
|
|
this.normalHandler = normalHandler;
|
|
this.slotlessHandler = slotlessHandler;
|
|
}
|
|
|
|
public IItemHandler getNormalHandler() {
|
|
return this.normalHandler;
|
|
}
|
|
|
|
public Object getSlotlessHandler() {
|
|
return this.slotlessHandler;
|
|
}
|
|
}
|