Klasse FilterRegistry

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

public class FilterRegistry extends Object
  • Konstruktordetails

    • FilterRegistry

      public FilterRegistry()
  • Methodendetails

    • register

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

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