Compatibility
Minecraft: Java Edition
1.21–1.21.1
1.20.4–1.20.6
Platforms
Fabric
Supported environments
75% of ad revenue goes to creators
Support creators and Modrinth ad-free with Modrinth+Links
Creators
Details
Licensed MIT
Published 4 months ago
Updated 4 months ago
Clickable Entities
Adds left and right click functionality to entities with the entityclick command
For what would I use this mod?
If you have a server with npc's and you want an interactable npc that executes a command when it is clicked, you can bind a command with this mod to the entity. Just like big servers such as Hypixel. You can pair this mod with something like proxycommand for velocity to change between servers
How does the /entityclick command work?
The entityclick command is divided in 2 categories
Add a command binding:
/entityclick add hand entity command
- hand: the mouse button the player has to press, can be left or right
- entity: the entity the command will be bound to, can be a UUID or a selector
- command: the command that will be executed, doesn't necessarily need the / prefix
Remove a command binding:
/entityclick remove hand entity
- hand: the mouse button the player has to press, can be left or right
- entity: the entity the command will be bound to, can be a UUID or a selector
Command Examples
To add a command when the player right-clicks the nearest armor stand
/entityclick add right @e[type=minecraft:armor_stand, limit=1, sort=nearest] tp @p 100 100 100
To remove a command when the player right-clicks the nearest armor stand
/entityclick remove right @e[type=minecraft:armor_stand, limit=1, sort=nearest]
Data Location
Data about the entities is stored under config/clickable-entities/RegisteredEntities.yaml