java.lang.Object
com.blamejared.crafttweaker.natives.entity.type.villager.ExpandMerchant

@ZenRegister public class ExpandMerchant extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static boolean
    canRestock(net.minecraft.world.item.trading.Merchant internal)
     
    static net.minecraft.sounds.SoundEvent
    getNotifyTradeSound(net.minecraft.world.item.trading.Merchant internal)
     
    static net.minecraft.world.item.trading.MerchantOffers
    getOffers(net.minecraft.world.item.trading.Merchant internal)
     
    static net.minecraft.world.entity.player.Player
    getTradingPlayer(net.minecraft.world.item.trading.Merchant internal)
     
    static int
    getVillagerXp(net.minecraft.world.item.trading.Merchant internal)
     
    static boolean
    isClientSide(net.minecraft.world.item.trading.Merchant internal)
     
    static void
    notifyTrade(net.minecraft.world.item.trading.Merchant internal, net.minecraft.world.item.trading.MerchantOffer offer)
     
    static void
    notifyTradeUpdated(net.minecraft.world.item.trading.Merchant internal, net.minecraft.world.item.ItemStack stack)
     
    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)
     
    static void
    setTradingPlayer(net.minecraft.world.item.trading.Merchant internal, net.minecraft.world.entity.player.Player player)
     
    static boolean
    showProgressBar(net.minecraft.world.item.trading.Merchant internal)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)