-
Notifications
You must be signed in to change notification settings - Fork 1
Craft Tweaker (Mine Tweaker) Support
Bruno Marques Caroba edited this page Mar 31, 2024
·
7 revisions
When the client is going to render a boss, and it is of the filtered type, it will use the defined style instead of the default one, so you can change the bars for certain types of mobs, different from the default pink one.
import necrotempus.crafttweaker.BossBar;
BossBar.customize("entity.boss.class.name", "flat | notched_6 | notched_10 | notched_12 | notched_20 | none", int_rgb_color);
BossBar.customize("twilightforest.entity.boss.EntityTFNaga", "notched_6", 39244);
BossBar.customize("twilightforest.entity.boss.EntityTFUrGhast", "notched_10", 16764108);
BossBar.customize("twilightforest.entity.boss.EntityTFHydra", "notched_12", 19609);
import necrotempus.crafttweaker.Glyph;
Glyph.register(<char>, <resource location>, <horizontal padding>, <vertical padding>, <width>, <height>);
Glyph.register(<char>, <resource location>, <horizontal padding>, <vertical padding>, <width>, <height>, ["NONE | VERTICALLY | CONTAINS"]);
Glyph.register(<char>, <resource location>, <horizontal padding>, <vertical padding>, <width>, <height>, ["NONE | VERTICALLY | CONTAINS"], [Char Width]);
Glyph.unregister(<char>);
import necrotempus.crafttweaker.Glyph;
Glyph.register('\u2150', "minecraft:textures/items/apple.png", 20, 72, 64, 64);
Glyph.register('\u2151', "minecraft:textures/items/boat.png", 20, 72, 64, 64, "NONE");
Glyph.register('\u2152', "necrotempus:glyphs/assets/trade.png", 8, 12, 256, 256, "NONE", 0);
Glyph.unregister('\u1f7f');