Interface Pager.ElementTransformer<PagedElement>

Type Parameters:
PagedElement - The class to transform into a Component
Enclosing class:
Pager<PagedElement>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Pager.ElementTransformer<PagedElement>
A Functional interface to transform the given PagedElement into a Chat Component
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.network.chat.Component
     
  • Method Details

    • transform

      net.minecraft.network.chat.Component transform(PagedElement element)