Villager Profession?

Started by BetaDv_ on

Topic category: Help with Minecraft modding (Java Edition)

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! :)

 

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

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.

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?

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.