public class NPCTrades
extends java.lang.Object
Constructor and Description |
---|
NPCTrades() |
Modifier and Type | Method and Description |
---|---|
static void |
clearTradePair(java.util.UUID uuid) |
static TradePair |
getTradePair(java.util.UUID uuid) |
static void |
showTrade(net.minecraft.entity.player.ServerPlayerEntity player,
TradePair tradePair) |
static void |
showTrade(net.minecraft.entity.player.ServerPlayerEntity player,
TradePair tradePair,
int trainerID) |
static void |
updateClientTradeData(net.minecraft.entity.player.ServerPlayerEntity player,
TradePair tradePair) |
public static void updateClientTradeData(net.minecraft.entity.player.ServerPlayerEntity player, TradePair tradePair)
public static void showTrade(net.minecraft.entity.player.ServerPlayerEntity player, TradePair tradePair)
public static void showTrade(net.minecraft.entity.player.ServerPlayerEntity player, TradePair tradePair, int trainerID)
@Nullable public static TradePair getTradePair(java.util.UUID uuid)
public static void clearTradePair(java.util.UUID uuid)