ok i got the trade list thank you but how do i edit it to accept my gems alongside emeralds since there is nothing saying that it takes emeralds for what is being traded
ok so i have the trades working but i cant find the list of all the trades, which i need to properly give an equal chance that my mod trades appear along with the vanilla trades
Thank you for this, I have found the method that I have been searching for
void manipulateTradesForVillager(EntityVillager villager, MerchantRecipeList recipeList, Random random)
Unfortunately, I have no idea how to use such method, but it seems that i can only add new stuff for emeralds to buy and sell
I have added a few equivalent to emerald gems (ruby & sapphire) and would like to add them as replacements in trades or possibly allow any of the gems to be accepted in in any given trade. i have searched merchantrecipe, merchantrecipelist, an any othe rclas involving villager trades to no avail.
Ok so here is what i've got
public boolean isBeaconBase; {
return (blockID == PureBlock.blockID || blockID == RubyBlock.blockID || blockID == SapphireBlock.blockID);
}
but i am getting errors at the blockID's just before ==
So i have added new ores similar to emeralds (rubies and sapphires) and of course storage blocks for them, now how to i make it so that those blocks can be used to power a beacon?
Well all the armor i made is repairable so it makes me wonder what code do i add to my tools? It must be in the armor class that I showed before, I guess i just put the same code in my tool classes.