feat: renamed namespace for glyphs

This commit is contained in:
Andrey Terentev 2024-10-24 22:35:38 +07:00
parent 1b231463f3
commit 63def77581
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ import ru.dragonestia.msb3.api.glyph.glyph.exception.ResourceNotProducedExceptio
public interface Glyph { public interface Glyph {
String DEFAULT_NAMESPACE = "glyphs"; String DEFAULT_NAMESPACE = "msb3";
Key DEFAULT_FONT_KEY = Key.key(DEFAULT_NAMESPACE, "default"); Key DEFAULT_FONT_KEY = Key.key(DEFAULT_NAMESPACE, "default");

View File

@ -52,7 +52,7 @@ public class BlankSlotItem {
.overrides(ItemOverride.of(modelKey, ItemPredicate.customModelData(1))) .overrides(ItemOverride.of(modelKey, ItemPredicate.customModelData(1)))
.build(); .build();
Texture texture = Texture.texture(Key.key("glyphs", "blank_slot.png"), BLANK_SLOT_IMAGE_WRITABLE); Texture texture = Texture.texture(Key.key(Glyph.DEFAULT_NAMESPACE, "blank_slot.png"), BLANK_SLOT_IMAGE_WRITABLE);
return Arrays.asList(blankSlotModel, paperItemModel, texture); return Arrays.asList(blankSlotModel, paperItemModel, texture);
} }
} }