use of com.lowdragmc.multiblocked.api.gui.tester.PartScriptWidget in project Multiblocked by Low-Drag-MC.
the class PartTileTesterEntity method createUI.
@Override
public ModularUI createUI(PlayerEntity entityPlayer) {
if (Multiblocked.isClient() && Multiblocked.isSinglePlayer()) {
TabContainer tabContainer = new TabContainer(0, 0, 200, 232);
new PartScriptWidget(this, tabContainer);
if (getDefinition() != DEFAULT_DEFINITION) {
if (!traits.isEmpty())
initTraitUI(tabContainer, entityPlayer);
}
return new ModularUI(196, 256, this, entityPlayer).widget(tabContainer);
}
return null;
}
Aggregations