Interface NPCHologramSkin.PlayerSpecificSkinSupplier

Enclosing interface:
NPCHologramSkin

public static interface NPCHologramSkin.PlayerSpecificSkinSupplier
Displays a specific skins that varies to each player.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    getSkin(Player player, Consumer<Optional<Skin>> callback)
    Gets called when we want to know which skin shall be displayed to the player
  • Method Details

    • getSkin

      void getSkin(Player player, Consumer<Optional<Skin>> callback)
      Gets called when we want to know which skin shall be displayed to the player
      Parameters:
      player - The according player
      callback - The callback to which you shall return the skin. May be async