Class GeyserListEntityDataType<T>

java.lang.Object
org.geysermc.geyser.api.entity.data.GeyserEntityDataType<List<T>>
org.geysermc.geyser.api.entity.data.GeyserListEntityDataType<T>
Type Parameters:
T - the object type in the list

@Experimental public abstract sealed class GeyserListEntityDataType<T> extends GeyserEntityDataType<List<T>>
Represents a list of objects for specific entity data types. For example, there can be multiple hitboxes on an entity.
Since:
2.11.0
  • Method Details

    • listEntryClass

      @Experimental public abstract Class<T> listEntryClass()
      Returns:
      the class of the list entries
      Since:
      2.11.0