Interface InfoProvider
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A supplier of debug information. May be queried on the client or server.
-
Method Summary
Modifier and TypeMethodDescription@Nullable StringgetInfo(@Nullable net.minecraft.world.entity.player.Player player) default StringgetInfoSafe(net.minecraft.world.entity.player.Player player)
-
Method Details
-
getInfo
@Nullable @Nullable String getInfo(@Nullable @Nullable net.minecraft.world.entity.player.Player player) - Parameters:
player- the player requesting the data. May be null
-
getInfoSafe
-