Class ExpandMerchant
java.lang.Object
com.blamejared.crafttweaker.natives.entity.type.villager.ExpandMerchant
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleancanRestock(net.minecraft.world.item.trading.Merchant internal) static net.minecraft.sounds.SoundEventgetNotifyTradeSound(net.minecraft.world.item.trading.Merchant internal) static net.minecraft.world.item.trading.MerchantOffersgetOffers(net.minecraft.world.item.trading.Merchant internal) static net.minecraft.world.entity.player.PlayergetTradingPlayer(net.minecraft.world.item.trading.Merchant internal) static intgetVillagerXp(net.minecraft.world.item.trading.Merchant internal) static booleanisClientSide(net.minecraft.world.item.trading.Merchant internal) static voidnotifyTrade(net.minecraft.world.item.trading.Merchant internal, net.minecraft.world.item.trading.MerchantOffer offer) static voidnotifyTradeUpdated(net.minecraft.world.item.trading.Merchant internal, net.minecraft.world.item.ItemStack stack) static voidopenTradingScreen(net.minecraft.world.item.trading.Merchant internal, net.minecraft.world.entity.player.Player player, net.minecraft.network.chat.Component displayName, int level) static voidsetTradingPlayer(net.minecraft.world.item.trading.Merchant internal, net.minecraft.world.entity.player.Player player) static booleanshowProgressBar(net.minecraft.world.item.trading.Merchant internal)
-
Constructor Details
-
ExpandMerchant
public ExpandMerchant()
-
-
Method Details
-
setTradingPlayer
public static void setTradingPlayer(net.minecraft.world.item.trading.Merchant internal, net.minecraft.world.entity.player.Player player) -
getTradingPlayer
public static net.minecraft.world.entity.player.Player getTradingPlayer(net.minecraft.world.item.trading.Merchant internal) -
getOffers
public static net.minecraft.world.item.trading.MerchantOffers getOffers(net.minecraft.world.item.trading.Merchant internal) -
notifyTrade
public static void notifyTrade(net.minecraft.world.item.trading.Merchant internal, net.minecraft.world.item.trading.MerchantOffer offer) -
notifyTradeUpdated
public static void notifyTradeUpdated(net.minecraft.world.item.trading.Merchant internal, net.minecraft.world.item.ItemStack stack) -
getVillagerXp
public static int getVillagerXp(net.minecraft.world.item.trading.Merchant internal) -
showProgressBar
public static boolean showProgressBar(net.minecraft.world.item.trading.Merchant internal) -
getNotifyTradeSound
public static net.minecraft.sounds.SoundEvent getNotifyTradeSound(net.minecraft.world.item.trading.Merchant internal) -
canRestock
public static boolean canRestock(net.minecraft.world.item.trading.Merchant internal) -
openTradingScreen
public static void openTradingScreen(net.minecraft.world.item.trading.Merchant internal, net.minecraft.world.entity.player.Player player, net.minecraft.network.chat.Component displayName, int level) -
isClientSide
public static boolean isClientSide(net.minecraft.world.item.trading.Merchant internal)
-