use of org.spongepowered.common.item.inventory.lens.impl.slots.OutputSlotLensImpl in project SpongeCommon by SpongePowered.
the class FurnaceInventoryLens method init.
@Override
protected void init(SlotProvider<IInventory, ItemStack> slots) {
this.addChild(new OrderedInventoryLensImpl(0, 3, 1, slots));
this.input = new InputSlotLensImpl(0, (i) -> true, (i) -> true);
// TODO SlotFurnaceFuel
this.fuel = new FuelSlotLensImpl(1, (i) -> true, (i) -> true);
// SlotFurnaceOutput
this.output = new OutputSlotLensImpl(2, (i) -> false, (i) -> false);
this.addSpanningChild(this.input, new SlotIndex(0));
this.addSpanningChild(this.fuel, new SlotIndex(1));
this.addSpanningChild(this.output, new SlotIndex(2));
}
Aggregations