Class FilterRegistry

java.lang.Object
de.mrjulsen.dragnsounds.registry.FilterRegistry

public class FilterRegistry extends Object
  • Constructor Details

    • FilterRegistry

      public FilterRegistry()
  • Method Details

    • register

      public static void register(Class<? extends IFilter<?>> clazz)
      Registers a custom filter type.
      Parameters:
      clazz - The class of the custom filter.
    • get

      public static Optional<IFilter<?>> get(net.minecraft.resources.ResourceLocation location, String key, String value, ECompareOperation operation)