Started by
Finemanederby
on
Topic category: Help with Minecraft modding (Java Edition)
I know this would require custom code but if someone is willing to help me I'm willing. I basically want to replace cows that spawn in the plains biome with bison. Does anybody know how I can do that? Using global procedures such as "on entity joins world" or "entity spawns" crashes the game upon world loading.
Any help is appreciated!
I cant check now, but try making a procedure that when cow spawn. Spawn bison then kill cow. Again im not 100% sure that there is a procedure like this, but there might be.
My discord if u need more help: BlueGamer91#2663
I cant check now, but try making a procedure that when cow spawn. Spawn bison then kill cow. Again im not 100% sure that there is a procedure like this, but there might be.
My discord if u need more help: BlueGamer91#2663
When entity spawns trigger
If entity = cow then spawn bison + despawn cow
Quite easy but risks to be laggy
It leaves a glitch ghost behind using the despawn method.
Anybody?
cow spawn - summon your bison mob - damage cow ( enough to kill ) instead of despawning it. Maybe that will fix your glitch/ghost issue
How can I also make it so it doesn't drop its items?
Make a loot table for cows and put no items. that should work I think?
That would but I still want cows functioning normally outside of the plains
Hmm maybe whenever a bison spawns do something along the lines of "wait 1 second " then make it run "/kill @e[type=item, r=x]" the radius being very small at the bisons position
what if for somereason the cow spawns on some items and then it despawns those other items too? and also making it only kill items of cows loot wont work as items already present could be those very items