Search in sources :

Example 1 with ISettingsBuilder

use of mcjty.rftoolsdim.api.dimlet.ISettingsBuilder in project RFToolsDimensions by McJty.

the class DimletConfigurationManager method addRule.

@Override
public void addRule(IFilterBuilder filterBuilder, ISettingsBuilder settingsBuilder) {
    Filter filter = ((Filter.Builder) filterBuilder).build();
    Settings settings = ((Settings.Builder) settingsBuilder).build();
    rules.add(Pair.of(filter, settings));
}
Also used : Filter(mcjty.rftoolsdim.config.Filter) IFilterBuilder(mcjty.rftoolsdim.api.dimlet.IFilterBuilder) ISettingsBuilder(mcjty.rftoolsdim.api.dimlet.ISettingsBuilder) Settings(mcjty.rftoolsdim.config.Settings)

Aggregations

IFilterBuilder (mcjty.rftoolsdim.api.dimlet.IFilterBuilder)1 ISettingsBuilder (mcjty.rftoolsdim.api.dimlet.ISettingsBuilder)1 Filter (mcjty.rftoolsdim.config.Filter)1 Settings (mcjty.rftoolsdim.config.Settings)1