2020-04-17 20:03:54 +02:00
|
|
|
package de.ellpeck.prettypipes.pipe.modules.retrieval;
|
|
|
|
|
2020-05-07 15:48:46 +02:00
|
|
|
import de.ellpeck.prettypipes.pipe.containers.AbstractPipeGui;
|
2021-12-02 16:55:04 +01:00
|
|
|
import net.minecraft.network.chat.Component;
|
|
|
|
import net.minecraft.world.entity.player.Inventory;
|
2020-04-17 20:03:54 +02:00
|
|
|
|
|
|
|
public class RetrievalModuleGui extends AbstractPipeGui<RetrievalModuleContainer> {
|
2021-12-02 16:55:04 +01:00
|
|
|
|
|
|
|
public RetrievalModuleGui(RetrievalModuleContainer screenContainer, Inventory inv, Component titleIn) {
|
2020-04-17 20:03:54 +02:00
|
|
|
super(screenContainer, inv, titleIn);
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
protected void init() {
|
|
|
|
super.init();
|
2022-06-30 16:00:33 +02:00
|
|
|
for (var widget : this.menu.filter.getButtons(this, this.leftPos + 7, this.topPos + 17 + 32 + 20, false))
|
2021-12-02 16:55:04 +01:00
|
|
|
this.addRenderableWidget(widget);
|
2020-04-17 20:03:54 +02:00
|
|
|
}
|
|
|
|
}
|