krutotech.blogg.se

How to make a custom npc in minecraft
How to make a custom npc in minecraft




how to make a custom npc in minecraft how to make a custom npc in minecraft

Now, activate the command block with the redstone device such as a lever, button, or pressure plate. When you are finished entering the command, click on the Done button. Currently, the command uses Count:1 which indicates that 1 unit of each item is being traded.įinally, you can customize the maxUses parameter to indicate how many times the villager can do this trade. You can also customize the Count parameter to change the number of items used in the trade.

how to make a custom npc in minecraft

And replace the id:bedrock value with the item that you would like the villager to sell. TIP: See data tags for villager to learn more about the Offers data tag.įor example, replace id:leather with the item id you would like the villager to buy.






How to make a custom npc in minecraft