Better mobGriefing GameRule

Better mobGriefing GameRule

848k Downloads

Use EntityList to get the entity name

Judge40 opened this issue ยท 0 comments

commented

The custom game rules added have hard coded strings to identify the rule.
The EntityList should be used to retrieve the name of the entity and the rule dynamically built using the "mobGriefing" base and the retrieved entity name.

This will improve extensibility for later versions which incorporate new entity types and also allow easier reuse for custom entities.