-
Notifications
You must be signed in to change notification settings - Fork 2
[1.21.1] Commands
Insane96 edited this page Apr 19, 2026
·
1 revision
InsaneLib adds the /insanelib command, available to operators (permission level 2).
Sets the played time statistic for one or more players.
Syntax: /insanelib set_time_played <players> <time>
| Argument | Type | Info |
|---|---|---|
players |
Entity selector | The player(s) whose play time to set |
time |
Integer (≥ 0) | The play time value to set, in ticks |
Prints all data components of an item to the chat, as JSON values. If the item has been patched by Item Components, it is noted in the header.
Syntax: /insanelib get_data_components <item>
| Argument | Type | Info |
|---|---|---|
item |
Identifier | The item to inspect (e.g. minecraft:diamond_sword) |