Posted June 20, 20223 yr Heya, So I'm trying to update from 1.16.5 to 1.18.2 and I'm trying to register an entity for a firearm using a method in the main, and two methods are coming up as errors: RenderingRegistry and SpriteRenderer. private void registerEntityModels(Supplier<Minecraft> minecraft) { ItemRenderer renderer = minecraft.get().getItemRenderer(); RenderingRegistry.registerEntityRenderingHandler(EntityTypeInit.COMPACT_BULLET_ENTITY.get(), (rendererManager) -> new SpriteRenderer<>(rendererManager, renderer)); } Any points in the right direction are much appreciated!
June 20, 20223 yr you can use Forge bot on the Forge discord server to convert from mcp to mojang mappings
June 20, 20223 yr Author Thanks for responding, I joined the server and used the bot which fixed the SpriteRenderer method, but it couldn't find RenderingRegistry.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.