Removed Deprecated API

This commit is contained in:
shedaniel
2021-11-14 02:32:14 +08:00
parent 52d3bad6f8
commit a7ecdcf578
5 changed files with 1 additions and 29 deletions

View File

@@ -63,7 +63,7 @@ public class TestMod {
public static void initializeClient() {
TestKeybinds.initialize();
TestModNet.initializeClient();
EntityRendererRegistry.register(TestEntity.TYPE, context ->
EntityRendererRegistry.register(() -> TestEntity.TYPE, context ->
new MinecartRenderer<>(context, ModelLayers.MINECART));
}
}