Skip to content

add ForceKill action type for MythicMobs vanilla override support#1961

Open
JrouleEnGolf5 wants to merge 1 commit intoZrips:masterfrom
JrouleEnGolf5:master
Open

add ForceKill action type for MythicMobs vanilla override support#1961
JrouleEnGolf5 wants to merge 1 commit intoZrips:masterfrom
JrouleEnGolf5:master

Conversation

@JrouleEnGolf5
Copy link
Copy Markdown

Problem

When MythicMobs applies a vanilla override to a base Minecraft mob (e.g. a Zombie configured to drop a diamond), the mob becomes invisible to both existing kill actions:

  • Kill skips it because isMythicMob() returns true
  • MMKill skips it because the mob has no custom MythicMobs internal name

Players receive no job reward when killing vanilla-override mobs.

Solution

Adds a new ForceKill action type that bypasses the MythicMobs check and always fires on entity death, matching by vanilla entity type name (same as Kill).

image

Changes

  • ActionType.java — added FORCEKILL enum entry
  • JobsPaymentListener.javaKILL is gated behind !isMythicMobEntity, ForceKill always dispatches

No impact on existing Kill or MMKill configurations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant