90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
PLAYER ATTRIBUTE COMMANDS
Easily adjust player attributes with simple commands!
Player Attribute Commands allows you to change various player attributes through commands. This mod is perfect for modpack creators who want to customize the player experience by modifying vanilla and modded attributes.
Commands
/playerattribute ‹target› ‹attribute› get
- Get the player's current attribute value./playerattribute ‹target› ‹attribute› add ‹value›
- Add to the player's attribute value./playerattribute ‹target› ‹attribute› set ‹value›
- Set the player's attribute value./playerattribute ‹target› ‹attribute› mult ‹value›
- Multiply the player's attribute value.
Command Examples
/playerattribute @p generic.movementSpeed get
- Get the movement speed of the nearest player./playerattribute @p generic.movementSpeed add 0.1
- Increase the nearest player's movement speed by 0.1./playerattribute @p generic.movementSpeed set 0.2
- Set the nearest player's movement speed to 0.2./playerattribute @p generic.movementSpeed mult 2
- Multiply the nearest player's movement speed by 2.
This mod was commissioned for Minecraft 1.12.2
Details
Licensed MIT
Published 3 months ago
Updated 3 months ago