Class NPCTrades

java.lang.Object
com.pixelmonmod.pixelmon.api.trading.NPCTrades

public class NPCTrades extends Object
  • Constructor Details

    • NPCTrades

      public NPCTrades()
  • Method Details

    • showTrade

      public static void showTrade(net.minecraft.server.level.ServerPlayer player, TradePair tradePair)
    • showTrade

      public static void showTrade(net.minecraft.server.level.ServerPlayer player, TradePair tradePair, @Nullable @Nullable NPC npc)
    • updateClientTradeData

      public static void updateClientTradeData(net.minecraft.server.level.ServerPlayer player, TradePair tradePair, NPC npc)
    • getTradePair

      @Nullable public static @Nullable TradePair getTradePair(UUID uuid)
    • clearTradePair

      public static void clearTradePair(UUID uuid)