2024-12-12 09:20:28|Myriagame |source:minecraft skins
Colredglow lib
This library module allows you to set the color of the entity. In addition to the ordinary white or Minecraft original team color, you can also set different colors.
You can also add custom color animation, a set of colors will change over time, just like a rainbow!
For ordinary users, you can use commands to set custom colors and use packets to add custom animation, and developers can use API, Javadoc and Wiki as guidelines.
instruction
Each command starts with "/cgl", which is the abbreviation of ColoredGlowlib.You can also use "/colorDglowlib".
You can use the following commands for the color specified by the entity or entity type:
/cgl SetglowColor
Parameters are the goals you want to position, such as "@P", "Emafire003", UUID of the entity in front of you, or its type, such as ".ntity/Type/Default"The entity will glow with the default color, such as the default color of "Minecraft: Sheep".
The parameter is a hexadecimal color code (such as "#FF85AB", "#750711", "#ABC", "#123", "#A7E", etc., you can search for "Color Picker" to get them),Do not include "#", because MineCraft will explain it as the beginning of the label (in this case, you should not do this).
Or, you can provide the word "rainbow" to let the entity shine.You can also use "Random" to make the entity emit different random colors every half second, or use other strings of the customized animation added by the representative through the packet!
There are some settings that you can adjust.For example, if you want to cover the default team color assigned by Minecraft:
/cgl Settings Set OverridEamColors
You can also get the current value of the settings:
/cgl Settings get overrideteamcolors
To remove the color, you can use it:
/cgl clear[UseDefault]
"UseDefault" is an optional True/False parameter.If you set to True, you will use the default color instead of setting the color of the entity to white.
More information can be found in wiki!
Custom color animation
You can add a customized animation through a packet, and you can find an example here.
After creating a packet, you can use it as a color, corresponding to the name parameter you set inside the packet.
For example, you can use:
/cgl SetglowColor @P Marine
More information can be found in wiki.
set up
For ordinary users:
Just drag and drop this module into your module folder, and then enjoy the fun it brings!(Make sure you download the correct file for the correct loader!)
Developers pay attention:
Add this library as a dependency item to your library.
repositories {maven {name = "modrinth" url = "" rel = "noopent nofollow" target = "_blank"> https://api.modenttings h.com/maven en al; Content {Includegroup "Maven.modrinth"}}} Dependencies {modimplementati You also add CardinalComponentsapiIn your project, you can do this by adding these to dependencies:repositories {maven {name = "ladysnake mods" url = 'https://maven.ladysnake.org/releases'}} defennden CIES {Modimplementation ("DEV.ONYXSTUDIOS.CARDINAL-Components-api: Cardinal-components-base: 5.4.0 ") Modimplementation (" DEV.ONYXSTUDIOS.CARDINAL-Components-API: Cardinal-components: 5.4.0 ")) ModImplementa n: Cardinal-components-scoreboard: 5.4.0 ")}You can find the correct version on the version of the Modrinth.If you want to Forge version, add +forge to the digital version.(Note: Currently not applicable to 3.0.0)
If the CardinalComponetsapi module is already needed, please consider downloading the MOD version that has not yet contained them to add+noCCA to the version format.
The required modules are: Base, Entity, Scoreboard.
You can find more information on wiki!
You can find the example of this library in the author's Foxglow and Lightwithin.
license
This module can be used under the GNU LGPL3 license.
National Service DNF Dark Ni
2025-01-28 09:19:27The new screenshot of the be
2025-01-28 09:18:57The 15th anniversary wallpap
2025-01-28 09:18:273DM Xuanyuan Sinicization Gr
2025-01-28 09:17:57French magazine is the first
2025-01-28 09:17:27The sneak game "Republic" wi
2025-01-28 09:16:57The story between humans and
2025-01-28 09:16:27Capture "Trinity 3: Artifact
2025-01-28 09:15:27Wind direction change "Myste
2025-01-28 09:14:57DICE's new project "Dream" w
2025-01-28 09:14:27Pirate Minecraft Skins
Minecraft Skins
2024-12-10 04:11:27Pirate Minecraft Skins
Minecraft Skins
2024-12-10 04:11:26Master Minecraft Skins
Minecraft Skins
2024-12-10 04:11:25King Minecraft Skins
Minecraft Skins
2024-12-10 04:11:25Guide Minecraft Skins
Minecraft Skins
2024-12-10 04:11:24Dark Knight Minecraft Skins
Minecraft Skins
2024-12-10 04:11:23Sparta Minecraft Skins
Minecraft Skins
2024-12-10 04:11:23Moncraft Skins of the War
Minecraft Skins
2024-12-10 04:11:22Red Witch Minecraft Skins
Minecraft Skins
2024-12-10 04:11:22Golden Cavaliers Minecraft S
Minecraft Skins
2024-12-10 04:11:22