Interface Merchant

All Known Implementing Classes:
MerchantEntity, SimpleMerchant, VillagerEntity, WanderingTraderEntity

public interface Merchant
Mappings:
Namespace Name
named net/minecraft/village/Merchant
intermediary net/minecraft/class_1915
official dbr
  • Method Details

    • setCustomer

      void setCustomer(@Nullable @Nullable PlayerEntity customer)
      Mappings:
      Namespace Name Mixin selector
      named setCustomer Lnet/minecraft/village/Merchant;setCustomer(Lnet/minecraft/entity/player/PlayerEntity;)V
      intermediary method_8259 Lnet/minecraft/class_1915;method_8259(Lnet/minecraft/class_1657;)V
      official f Ldbr;f(Lcmv;)V
    • getCustomer

      Mappings:
      Namespace Name Mixin selector
      named getCustomer Lnet/minecraft/village/Merchant;getCustomer()Lnet/minecraft/entity/player/PlayerEntity;
      intermediary method_8257 Lnet/minecraft/class_1915;method_8257()Lnet/minecraft/class_1657;
      official gm Ldbr;gm()Lcmv;
    • getOffers

      TradeOfferList getOffers()
      Mappings:
      Namespace Name Mixin selector
      named getOffers Lnet/minecraft/village/Merchant;getOffers()Lnet/minecraft/village/TradeOfferList;
      intermediary method_8264 Lnet/minecraft/class_1915;method_8264()Lnet/minecraft/class_1916;
      official go Ldbr;go()Ldbt;
    • setOffersFromServer

      void setOffersFromServer(TradeOfferList offers)
      Mappings:
      Namespace Name Mixin selector
      named setOffersFromServer Lnet/minecraft/village/Merchant;setOffersFromServer(Lnet/minecraft/village/TradeOfferList;)V
      intermediary method_8261 Lnet/minecraft/class_1915;method_8261(Lnet/minecraft/class_1916;)V
      official a Ldbr;a(Ldbt;)V
    • trade

      void trade(TradeOffer offer)
      Mappings:
      Namespace Name Mixin selector
      named trade Lnet/minecraft/village/Merchant;trade(Lnet/minecraft/village/TradeOffer;)V
      intermediary method_8262 Lnet/minecraft/class_1915;method_8262(Lnet/minecraft/class_1914;)V
      official a Ldbr;a(Ldbs;)V
    • onSellingItem

      void onSellingItem(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      named onSellingItem Lnet/minecraft/village/Merchant;onSellingItem(Lnet/minecraft/item/ItemStack;)V
      intermediary method_8258 Lnet/minecraft/class_1915;method_8258(Lnet/minecraft/class_1799;)V
      official n Ldbr;n(Lcuo;)V
    • getExperience

      int getExperience()
      Mappings:
      Namespace Name Mixin selector
      named getExperience Lnet/minecraft/village/Merchant;getExperience()I
      intermediary method_19269 Lnet/minecraft/class_1915;method_19269()I
      official t Ldbr;t()I
    • setExperienceFromServer

      void setExperienceFromServer(int experience)
      Mappings:
      Namespace Name Mixin selector
      named setExperienceFromServer Lnet/minecraft/village/Merchant;setExperienceFromServer(I)V
      intermediary method_19271 Lnet/minecraft/class_1915;method_19271(I)V
      official t Ldbr;t(I)V
    • isLeveledMerchant

      boolean isLeveledMerchant()
      Mappings:
      Namespace Name Mixin selector
      named isLeveledMerchant Lnet/minecraft/village/Merchant;isLeveledMerchant()Z
      intermediary method_19270 Lnet/minecraft/class_1915;method_19270()Z
      official gp Ldbr;gp()Z
    • getYesSound

      SoundEvent getYesSound()
      Mappings:
      Namespace Name Mixin selector
      named getYesSound Lnet/minecraft/village/Merchant;getYesSound()Lnet/minecraft/sound/SoundEvent;
      intermediary method_18010 Lnet/minecraft/class_1915;method_18010()Lnet/minecraft/class_3414;
      official gq Ldbr;gq()Lavn;
    • canRefreshTrades

      default boolean canRefreshTrades()
      Mappings:
      Namespace Name Mixin selector
      named canRefreshTrades Lnet/minecraft/village/Merchant;canRefreshTrades()Z
      intermediary method_20708 Lnet/minecraft/class_1915;method_20708()Z
      official gy Ldbr;gy()Z
    • sendOffers

      default void sendOffers(PlayerEntity player, Text name, int levelProgress)
      Mappings:
      Namespace Name Mixin selector
      named sendOffers Lnet/minecraft/village/Merchant;sendOffers(Lnet/minecraft/entity/player/PlayerEntity;Lnet/minecraft/text/Text;I)V
      intermediary method_17449 Lnet/minecraft/class_1915;method_17449(Lnet/minecraft/class_1657;Lnet/minecraft/class_2561;I)V
      official a Ldbr;a(Lcmv;Lwy;I)V
    • isClient

      boolean isClient()
      Mappings:
      Namespace Name Mixin selector
      named isClient Lnet/minecraft/village/Merchant;isClient()Z
      intermediary method_38069 Lnet/minecraft/class_1915;method_38069()Z
      official gu Ldbr;gu()Z