Started by
lullyzinha
on
Topic category: Mod ideas exchange
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?
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)
somehow I made it!! Thank you, if you want to be friends my discord is @Lullyzinha :3
Awesome, glad I could help!
now just solve the problem that they no longer exist and stay like this,
I really bugg
y
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.
can you explain a little better?
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.