use of com.lowdragmc.multiblocked.api.gui.recipe.ProgressWidget in project Multiblocked by Low-Drag-MC.
the class ProgressCapabilityTrait method createUI.
@Override
public void createUI(ComponentTileEntity<?> component, WidgetGroup group, PlayerEntity player) {
super.createUI(component, group, player);
group.addWidget(new ProgressWidget(this::getProgress, x, y, width, height, new ResourceTexture(texture)).setDynamicHoverTips(this::dynamicHoverTips));
}
Aggregations