Piglin style Bartering help

Started by pyro turtle gaming on

Topic category: Help with MCreator software

Joined Oct 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Piglin style Bartering help

Hello, I am very new to modding and i dont know much of anything about coding yet. Im trying to make a mob that behaves similarly to piglins (spawns in groups,calls for help like zombie piglins) The main feature I want is a bartering system like the piglins. I've been looking everywhere but cant find any real guidance on how to do this. any advice or help would be very much appreciated. Thanks!

Joined Dec 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think about group spawning…
Mon, 01/06/2025 - 13:20

I think about group spawning and setting AI or procedure that calls other mobs to help

Joined Oct 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@Enny getting group spawning…
Mon, 01/06/2025 - 21:54

@Enny getting group spawning and call for help was easy. I've already got that set up. My main thing I'm struggling with is getting the bartering system to work

Joined Dec 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
you would need some…
Sun, 01/12/2025 - 21:13

you would need some procedure work. Like you throw an item, they pick up and throw a specific item

Joined Aug 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
for trading simply check if…
Sun, 01/12/2025 - 21:19

for trading simply check if main item in hand is like say gold for example
then make using the "random number between # and # integers included" you can randomize the barter drops to your liking by using the "spawn dropped item" block
this system is what worked for me

 

Joined Oct 2014
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
@Cheese Dealer do you have…
Mon, 01/13/2025 - 04:26

@Cheese Dealer do you have any specific guidance or tutorial recommendations to help me with this?