diff options
author | Linnea Gräf <nea@nea.moe> | 2024-12-31 17:51:29 +0100 |
---|---|---|
committer | Linnea Gräf <nea@nea.moe> | 2024-12-31 17:51:29 +0100 |
commit | bb124fe91d310d08fbf17ea8972d9e7b8b89b319 (patch) | |
tree | e392cc41284d06cdcd78eb073ee8212d620ee757 /src/texturePacks/java/moe/nea/firmament/features/texturepack/CustomGlobalTextures.kt | |
parent | a50de1601873d5c750c88bef9468b24fdd923ef0 (diff) | |
download | Firmament-bb124fe91d310d08fbf17ea8972d9e7b8b89b319.tar.gz Firmament-bb124fe91d310d08fbf17ea8972d9e7b8b89b319.tar.bz2 Firmament-bb124fe91d310d08fbf17ea8972d9e7b8b89b319.zip |
fix: Dungeon swords not being recognized for reforges
Diffstat (limited to 'src/texturePacks/java/moe/nea/firmament/features/texturepack/CustomGlobalTextures.kt')
-rw-r--r-- | src/texturePacks/java/moe/nea/firmament/features/texturepack/CustomGlobalTextures.kt | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/texturePacks/java/moe/nea/firmament/features/texturepack/CustomGlobalTextures.kt b/src/texturePacks/java/moe/nea/firmament/features/texturepack/CustomGlobalTextures.kt index ad44b03..02c0714 100644 --- a/src/texturePacks/java/moe/nea/firmament/features/texturepack/CustomGlobalTextures.kt +++ b/src/texturePacks/java/moe/nea/firmament/features/texturepack/CustomGlobalTextures.kt @@ -16,7 +16,6 @@ import net.minecraft.util.Identifier import net.minecraft.util.profiler.Profiler import moe.nea.firmament.Firmament import moe.nea.firmament.annotations.Subscribe -import moe.nea.firmament.events.BakeExtraModelsEvent import moe.nea.firmament.events.CustomItemModelEvent import moe.nea.firmament.events.EarlyResourceReloadEvent import moe.nea.firmament.events.FinalizeResourceManagerEvent @@ -69,15 +68,6 @@ object CustomGlobalTextures : SinglePreparationResourceReloader<CustomGlobalText }, event.preparationExecutor) } - @Subscribe - fun onBakeModels(event: BakeExtraModelsEvent) { - for (guiClassOverride in preparationFuture.join().classes) { - for (override in guiClassOverride.overrides) { - event.addItemModel(ModelIdentifier(override.model, "inventory")) - } - } - } - @Volatile var preparationFuture: CompletableFuture<CustomGuiTextureOverride> = CompletableFuture.completedFuture( CustomGuiTextureOverride(listOf())) |