Interface IMerchant

    • Method Detail

      • setTradingPlayer

        void setTradingPlayer​(@Nullable
                              PlayerEntity p_70932_1_)
      • getTradingPlayer

        @Nullable
        PlayerEntity getTradingPlayer()
      • overrideOffers

        void overrideOffers​(@Nullable
                            MerchantOffers p_213703_1_)
      • notifyTradeUpdated

        void notifyTradeUpdated​(ItemStack p_110297_1_)
      • getLevel

        World getLevel()
      • getVillagerXp

        int getVillagerXp()
      • overrideXp

        void overrideXp​(int p_213702_1_)
      • showProgressBar

        boolean showProgressBar()
      • getNotifyTradeSound

        SoundEvent getNotifyTradeSound()
      • canRestock

        default boolean canRestock()