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/mixins | |
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/mixins')
-rw-r--r-- | src/texturePacks/java/moe/nea/firmament/mixins/custommodels/ReferenceCustomModelsPatch.java | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/texturePacks/java/moe/nea/firmament/mixins/custommodels/ReferenceCustomModelsPatch.java b/src/texturePacks/java/moe/nea/firmament/mixins/custommodels/ReferenceCustomModelsPatch.java deleted file mode 100644 index bbabeb5..0000000 --- a/src/texturePacks/java/moe/nea/firmament/mixins/custommodels/ReferenceCustomModelsPatch.java +++ /dev/null @@ -1,31 +0,0 @@ -package moe.nea.firmament.mixins.custommodels; - -import com.llamalad7.mixinextras.sugar.Local; -import moe.nea.firmament.events.BakeExtraModelsEvent; -import net.minecraft.client.item.ItemAssetsLoader; -import net.minecraft.client.render.model.BakedModelManager; -import net.minecraft.client.render.model.BlockStatesLoader; -import net.minecraft.client.render.model.ReferencedModelsCollector; -import net.minecraft.client.render.model.UnbakedModel; -import net.minecraft.client.util.ModelIdentifier; -import net.minecraft.util.Identifier; -import org.spongepowered.asm.mixin.Final; -import org.spongepowered.asm.mixin.Mixin; -import org.spongepowered.asm.mixin.Shadow; -import org.spongepowered.asm.mixin.injection.At; -import org.spongepowered.asm.mixin.injection.Inject; -import org.spongepowered.asm.mixin.injection.callback.CallbackInfo; -import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable; - -import java.util.Map; - -@Mixin(BakedModelManager.class) -public abstract class ReferenceCustomModelsPatch { - @Inject(method = "collect", at = @At("RETURN")) - private static void addFirmamentReferencedModels( - UnbakedModel missingModel, Map<Identifier, UnbakedModel> models, BlockStatesLoader.BlockStateDefinition blockStates, ItemAssetsLoader.Result itemAssets, CallbackInfoReturnable<ReferencedModelsCollector> cir, - @Local ReferencedModelsCollector collector) { - // TODO: Insert fake models based on firmskyblock models for a smoother transition - - } -} |