Skip to content

Commit

Permalink
Update forge version + change around mixin?
Browse files Browse the repository at this point in the history
  • Loading branch information
Beachman4 committed Nov 22, 2023
1 parent d543cb9 commit f7da577
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ kotlinVersion=1.7.10
minecraftVersion=1.20.1
mcpChannel=official
mcpMappings=1.20.1
forgeVersion=47.1.1
forgeVersion=47.2.0
aeVersion=15.0.4-beta

wthitVersion=4.10.3
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;

@Mixin(ModelBakery.class)
public class ModelBakeryMixin {
public abstract class ModelBakeryMixin {
@Inject(at = @At("HEAD"), method = "loadModel", cancellable = true)
private void loadModelHook(ResourceLocation id, CallbackInfo ci) {
var model = Models.getModel(id);
Expand All @@ -23,7 +23,6 @@ private void loadModelHook(ResourceLocation id, CallbackInfo ci) {
}

@Shadow
protected void cacheAndQueueDependencies(ResourceLocation id, UnbakedModel unbakedModel) {
}
protected abstract void cacheAndQueueDependencies(ResourceLocation id, UnbakedModel unbakedModel);
}

0 comments on commit f7da577

Please sign in to comment.