Villager Profession?

Started by BetaDv_ on

Topic category: Help with modding (Java Edition)

Last seen on 00:40, 26. Oct 2021
Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Villager Profession?

How could I make a villager with a Proffesion: "Scammer", what he does, is setup fake trades, and whenever the user trades, he gets nothing in Exchange, and just gets scammed overall. I know I can make a gui and all that, but if I could use the default gui so it looks credible, and make it spawn in villages it would be best, if anyone has any idea how I could get this done (even if it involves code) I would really apreciate if you could help me! :)

 

Last seen on 16:18, 1. May 2024
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
where can i find the mod…
Mon, 11/29/2021 - 14:00

where can i find the mod constructor?I'm a bit lost

Last seen on 23:21, 17. Jun 2022
Joined Apr 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It's located in the class…
Mon, 11/29/2021 - 20:13

It's located in the class that called like your mod.

Last seen on 16:18, 1. May 2024
Joined Sep 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In the file modnameMod.java…
Mon, 11/29/2021 - 21:06

In the file modnameMod.java right?

Last seen on 23:21, 17. Jun 2022
Joined Apr 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Correct
Mon, 11/29/2021 - 21:37

Correct

Last seen on 13:56, 19. Dec 2022
Joined Feb 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
FrostyGames0, I can't get…
Fri, 04/01/2022 - 23:13

FrostyGames0, I can't get this working and it gives me an error: 

error: no suitable constructor found for PointOfInterestType(java.lang.String,net.minecraft.village.PointOfInterestType)

Can you help me figure this out, I'll send you the whole class if needed.