how to make a mob barter like a piglin (1.19.2)

Started by Thane of Whiterun YT on

Topic category: Help with Minecraft modding (Java Edition)

Joined May 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how to make a mob barter like a piglin (1.19.2)

The Title explains it all!

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
if  right clicked with "gold…
Sun, 08/06/2023 - 19:40

if  right clicked with "gold" then

 remove  1 "gold" from players inventory

  if random integrer between 1 and 10 = 6 then

     spawn gem "Item"

  else if random integrer between 1 and 10 = 6 then

     spawn gem "Item"

  else 

    spawn gem "Item"

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
how would it look like…
Sat, 08/10/2024 - 12:41

how would it look like visualy?

Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
the procedur that is
Sat, 08/10/2024 - 12:41

the procedur that is