Posted February 2, 20232 yr I have create and register a custom shield (in itempropritie and moditem) but it is invisible in game . can you help me please ?
February 3, 20232 yr Please provide the relevant classes or a repo containing the information. My best guess would probably be you don't have an item model without it.
February 6, 20232 yr Author here is the shield code : https://github.com/Devan1311/shield If you find where the problem comes from, could you tell me where it is please?
February 6, 20232 yr You created an item shield java model, but you have not created a BEWLR to render the shield from the java model. You're going to need to override a method within the IClientItemExtensions to return your own custom BlockEntityWithoutLevelRenderer to which you will render the shield when it is held. You can see that class for how the shield is normally rendered.
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.