diff options
| author | Linnea Gräf <nea@nea.moe> | 2025-06-23 13:34:02 +0200 |
|---|---|---|
| committer | Linnea Gräf <nea@nea.moe> | 2025-06-23 13:34:02 +0200 |
| commit | 051668fe9ac8d02fd9546e588d4255ee5e120f40 (patch) | |
| tree | c36e1415e78c37c71b0abaab3099349d8650d9dd /src/main/kotlin/features/debug/itemeditor | |
| parent | 72b8d8c8a37cd4396de44f0bcd2a9e8bd4b073b9 (diff) | |
| download | Firmament-051668fe9ac8d02fd9546e588d4255ee5e120f40.tar.gz Firmament-051668fe9ac8d02fd9546e588d4255ee5e120f40.tar.bz2 Firmament-051668fe9ac8d02fd9546e588d4255ee5e120f40.zip | |
feat: Add dev capes
Diffstat (limited to 'src/main/kotlin/features/debug/itemeditor')
| -rw-r--r-- | src/main/kotlin/features/debug/itemeditor/ExportRecipe.kt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main/kotlin/features/debug/itemeditor/ExportRecipe.kt b/src/main/kotlin/features/debug/itemeditor/ExportRecipe.kt index d7f4620..4d43f6e 100644 --- a/src/main/kotlin/features/debug/itemeditor/ExportRecipe.kt +++ b/src/main/kotlin/features/debug/itemeditor/ExportRecipe.kt @@ -5,7 +5,6 @@ import kotlinx.serialization.json.JsonArray import kotlinx.serialization.json.JsonObject import kotlinx.serialization.json.JsonPrimitive import net.minecraft.client.network.AbstractClientPlayerEntity -import net.minecraft.client.network.ClientPlayerEntity import net.minecraft.entity.decoration.ArmorStandEntity import moe.nea.firmament.Firmament import moe.nea.firmament.annotations.Subscribe @@ -64,7 +63,7 @@ object ExportRecipe { ?: "" val reply = waitForTextInput("$guessName (NPC)", "Export stub") val id = generateName(reply) - ItemExporter.exportStub(id, reply) { + ItemExporter.exportStub(id, "§9$reply") { val playerEntity = entity as? AbstractClientPlayerEntity val textureUrl = playerEntity?.skinTextures?.textureUrl if (textureUrl != null) @@ -117,7 +116,7 @@ object ExportRecipe { val shopId = SkyblockId(title.uppercase().replace(" ", "_") + "_NPC") if (!ItemExporter.isExported(shopId)) { // TODO: export location + skin of last clicked npc - ItemExporter.exportStub(shopId, "$title (NPC)") + ItemExporter.exportStub(shopId, "§9$title (NPC)") } for (index in (9..9 * 5)) { val item = event.screen.getSlotByIndex(index, false)?.stack ?: continue |
