Suggestion Closed · Implemented

Spawnreason Condition

#2644 opened by Unknown 4 years ago

Unknownreported this suggestion

Summary

A Condition that checks what spawn condition that mob was spawned.

Usage

Would be used on droptables, or skills that need naturally spawned or plugin spawned mobs/mythc mobs

Value

This should open up new ways on making complex skill mechanics and such.

Priority

Low, only a suggestion

Implementation

.

Unknowncommented

Totally agree and I'm surprised there isn't such condition yet.

There is ugly workaround for this however: On our server, Vanilla Mobs are modified in a way they have chance to drop money for players when they are killed, however our server also supports use of custom spawners, which causes massive amount of Vanilla Mobs to spawn, all potentially dropping money when killed. I had to define "Spawner_" variant for a mob and set PreventMobKillDrops false to prevent them droping money and replace Spawner behavior with RandomSpawners, making it unnecessarily complicated. It would be much better and simpler to just check for Spawn Reason in Conditions to allow or disallow certain situations.

Unknowncommented

I would really like for this to be a thing. Not checking for spawn reason causes so many issues for drops.

Unknowncommented

Is this still being considered? It'll really help on some mechanics!

Sign in to join the discussion.