mirror of
https://github.com/Ellpeck/PrettyPipes.git
synced 2024-05-20 07:41:22 +02:00
21 lines
831 B
Java
21 lines
831 B
Java
package de.ellpeck.prettypipes.pipe.modules.retrieval;
|
|
|
|
import de.ellpeck.prettypipes.pipe.containers.AbstractPipeGui;
|
|
import net.minecraft.network.chat.Component;
|
|
import net.minecraft.world.entity.player.Inventory;
|
|
|
|
public class RetrievalModuleGui extends AbstractPipeGui<RetrievalModuleContainer> {
|
|
|
|
public RetrievalModuleGui(RetrievalModuleContainer screenContainer, Inventory inv, Component titleIn) {
|
|
super(screenContainer, inv, titleIn);
|
|
}
|
|
|
|
@Override
|
|
protected void init() {
|
|
super.init();
|
|
for (var widget : this.menu.filter.getButtons(this, this.leftPos + this.imageWidth - 7, this.topPos + 17 + 32 + 20, true))
|
|
this.addRenderableWidget(widget);
|
|
this.addRenderableWidget(this.menu.directionSelector.getButton(this.leftPos + 7, this.topPos + 17 + 32 + 20));
|
|
}
|
|
}
|