-
-
Notifications
You must be signed in to change notification settings - Fork 1
2: Commands
This is the gate, the prefix to all of this mod commands. You can explore the commands added by this mod in game, or read the rest of this page, by typing in chat:
or
And press tab to look for the subcommands. This is done so you can have all of the commands added by this mod in a single place, which is more comfortable. The subcommands include: A way to set the color of the glowing effect for entities and whatnot, a way to interact with the config and a way to get info on the current version of the mod.
With this command you can set an entity's color to an RGB value, express in hexadecimal value (aka a string of RRGGBB). You can use color pickers to chose the color you want, like this one for example. Anyway, this is the syntax of the command:
The target
parameter is the entity you want to target, so @p
, Emafire003
, the uuid
of the entity in front of you etc.
The entitytype
parameter is the type entity you want to target, a bit like in /summon command, so minecraft:cow
, minecraft:armor_stand
, minecraft:parrot
etc.
It is not recommended to use @e
, @a
and similar stuff that targets a lot of entities since it could casue lag, so use the entitytype parameter instead please. If you want you can use it anyway, for ~100/500ish entities it should run just fine, maybe even a lot more but I'm not even going to test it.
You can also set the default color (if an entity does not have a color assigned to itself or its entitytype, it will glow this color) using:
The color
parameter is a hexadecimal color code (like ff85ab
, 750711
, abc
, 123
, a7e
etc.). You have to write it without the '#'
since minecraft interprets it as a beginning of a tag or something (which is not what it should be doing in this case). In alternative you can provide the word rainbow
that will make the entity glow, you guessed it, rainbow (surprise suprise, there is another way to get an entity glowing rainbow, try to find it your self :D)
Example:
/cgl setglowcolor minecraft:polar_bear 1fb19e
or
/cgl setglowcolor Notch F31
This command is a bit more complex, but still pretty easy and straightforward. There are a few settings to customize your experience, they all are "boolean" values, which means they are either active or inactive, true or false, and this settings are:
- PerEntityColor -> Enabled by default, allows every entity to have their own glow color. If disabled, all entities will follow their entitytype's color.
- PerEntityTypeColor -> Enabled by default, allows every EntityType (such as sheep, cow, zombie) to have their own glow color. If disabled, all entities will follow the default color.
- GeneralizedRainbow -> Disabled by default, if enabled makes every entity glow rainbow, regardless of the default color or other settings.
- OverrideTeamColors -> Disabled by default, if enabled will give priority to the color setted by the mod instead of the color assigned by Minecraft vanilla to an entity which is part of a team.
All of these settings can be modified by executing:
If you instead want to know the current value of the settings you can use:
Every time you modify a setting in-game it will be registered on the config file, but if you instead modify the config file you will need to reload it in order to make the changes happen in game, so you will need to use:
Well, it just gives a out a few info and credits, you can use this by doing so: