Interface Filtered<T>

Type Parameters:
T - type of value

@Experimental @NullMarked public interface Filtered<T>
Denotes that this type is filterable by the client, and may be shown differently depending on the player's set configuration.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    static <T> Filtered<T>
    of(T raw, @Nullable T filtered)
     
    raw()
     
  • Method Details

    • of

      @Contract(value="_, _ -> new", pure=true) static <T> Filtered<T> of(T raw, @Nullable T filtered)
    • raw

      @Contract(pure=true) T raw()
    • filtered

      @Contract(pure=true) @Nullable T filtered()