Interface ItemRewriter<T extends Protocol>

    • Method Detail

      • handleItemToClient

        @Nullable Item handleItemToClient​(@Nullable Item item)
        Returns the rewritten item, which may or may not be the same given Item instance.
        Parameters:
        item - item
        Returns:
        rewritten item
      • handleItemToServer

        @Nullable Item handleItemToServer​(@Nullable Item item)
        Returns the rewritten item, which may or may not be the same given Item instance.
        Parameters:
        item - item
        Returns:
        rewritten item