I'm trying to modify/remove the villagers

Started by lullyzinha on

Topic category: Minecraft mod ideas exchange

Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm trying to modify/remove the villagers

I'm trying to make a mod inspired by comes alive, but I'm not able to change the villagers much less remove them to add an entity that plays its role in the world.

how can i do someone help me?

 

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well you can make custom…
Tue, 09/05/2023 - 23:37

Well you can make custom villagers with custom textures (I'd suggest using blockbench and select minecraft skin>villager) by adding 'villager profession' and 'villager trades' from the mod elements list, but I'm not exactly sure if that's what you're asking about. Main thing I know how to do is remove villagers, what you do is create a new procedure, and select the 'entity spawns' global procedure. Then, you'd grab the code blocks to make: if(is event/target entity (sub)type of [select "villager"]), do(despawn event/target entity)

Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I think it's better to…
Thu, 09/07/2023 - 17:18
I think it's better to create a creature from scratch or for the reason of the GUI I want to put unique functions in these new mobs not just cheap exchanges, but I already have a procedure like this I tested several models, but it simply doesn't work or the code is incorrect or it doesn't work
Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
somehow I made it!! Thank…
Thu, 09/07/2023 - 17:30

somehow I made it!! Thank you, if you want to be friends my discord is @Lullyzinha :3

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Awesome, glad I could help!
Thu, 09/07/2023 - 18:35

Awesome, glad I could help!

Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
now just solve the problem…
Thu, 09/07/2023 - 21:48

now just solve the problem that they no longer exist and stay like this, 
I really bugg

y

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ooo interesting bug, I’ve…
Sat, 09/09/2023 - 05:05

Ooo interesting bug, I’ve actually encountered the exact same issue once so I know the solution: put the despawn target entity block inside of a wait (1) tick then on server side do.

Joined Sep 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
can you explain a little…
Sat, 09/09/2023 - 10:36

can you explain a little better?

Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Use this code to despawn the…
Mon, 09/11/2023 - 17:10

“”

Use this code to despawn the villager except you’ll have to change a few things: the event trigger should be set to “entity spawns,” the number 20 should be replaced with 1 after it says “wait” and the “shoot ranged item as…” does not need to be there, so remove that block entirely. That will despawn villagers and fix the bug which leaves them half despawned as you showed in the picture.