promotional bannermobile promotional banner
premium banner
You can avoid accidentally injuring some entities.

Description

This mod added five commands, which can be used to prevent oneself from accidentally harming entities.

1. /entityAttackBlacklist add (entities)

This command prevents player from attacking specified entities.

2. /entityAttackBlacklist remove (entities)

This command allows player to remove specified entities that they have previously marked as unattackable.

3. /entityAttackBlacklist addToAll (entity type)

This command prevents player from attacking all entities of the specified type.

4. /entityAttackBlacklist removeToAll (entity type)

This command allows player to remove all entities of the specified type that have marked as unattackable.

5. /entityAttackBlacklist clear

This command allows player to clear all entities that have marked as unattackable.

6. /entityAttackBlacklist getCanNotAttackEntity

This command can get all entities that the player cannot attack.

7. /entityAttackBlacklist getCanNotAttackEntityType

This command can get all entitiy types that the player cannot attack.

Other than that, operators can designate players after these commands.