Jump to content

[1.7.10] 'Resting' Villager trading options upon interaction.


Samalot

Recommended Posts

Hello,

I am fairly new to modding, but do have a basic understanding of Java, although my knowledge on Events inst great.

 

I am trying to change the Villager trading option on interaction with an object (Shift right click.)

 

I am struggling to change the trade.

 

From my understanding, of reading every Villager entity file... they have a 'buyinglist' which is their collection of recipes that they are willing to trade.

 

Is there any way I can reset buyinglist so it is empty ?

 

Or does anyone have a better solution to this ?

 

thanks in advance!

 

(Just to clarify, I am not trying to add now trades to the villagers, I just want to refresh/change their trade upon interaction)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.