April 7, 20205 yr Author 1 hour ago, Animefan8888 said: Show all of your code. And the Item models for your shield. public static class ShieldRenderer extends ItemStackTileEntityRenderer { private final ShieldModel modelShield = new ShieldModel(); public void render(ItemStack itemStackIn, MatrixStack matrixStackIn, IRenderTypeBuffer bufferIn, int thign1, int thig) { boolean flag = itemStackIn.getChildTag("BlockEntityTag") != null; matrixStackIn.func_227860_a_(); matrixStackIn.func_227862_a_(1.0F, -1.0F, -1.0F); Material material = flag ? ModelBakery.field_229316_g_ : ModelBakery.field_229317_h_; IVertexBuilder ivertexbuilder = material.func_229314_c_().func_229230_a_(ItemRenderer.func_229113_a_(bufferIn, this.modelShield.func_228282_a_(material.func_229310_a_()), false, itemStackIn.hasEffect())); this.modelShield.func_228294_b_().func_228309_a_(matrixStackIn, ivertexbuilder, thign1, thig, 1.0F, 1.0F, 1.0F, 1.0F); if (flag) { List<Pair<BannerPattern, DyeColor>> list = BannerTileEntity.func_230138_a_(ShieldItem.getColor(itemStackIn), BannerTileEntity.func_230139_a_(itemStackIn)); BannerTileEntityRenderer.func_230180_a_(matrixStackIn, bufferIn, thign1, thig, this.modelShield.func_228293_a_(), material, false, list); } else { this.modelShield.func_228293_a_().func_228309_a_(matrixStackIn, ivertexbuilder, thign1, thig, 1.0F, 1.0F, 1.0F, 1.0F); } matrixStackIn.func_227865_b_(); } } Boku wa Boingo Manga de yogen~ Kanarazu ataru yo, machigai nain da Tottemo uchiki de itsumo hitoribotchi sa Shomotsu no Kami: “Toto”!
April 7, 20205 yr Author (Replied twice because first post needs to be deleted) Boku wa Boingo Manga de yogen~ Kanarazu ataru yo, machigai nain da Tottemo uchiki de itsumo hitoribotchi sa Shomotsu no Kami: “Toto”!
April 7, 20205 yr 15 minutes ago, hiimjustin000 said: (Replied twice because first post needs to be deleted) You know you can edit posts, right? Also please update your mcp mappings. If you need to know how to do that google it. VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
April 7, 20205 yr Author That's what I did. Boku wa Boingo Manga de yogen~ Kanarazu ataru yo, machigai nain da Tottemo uchiki de itsumo hitoribotchi sa Shomotsu no Kami: “Toto”!
April 7, 20205 yr 13 minutes ago, hiimjustin000 said: That's what I did. Not sure which part you are answering. But you don't have the most up to date mcp mappings. Also what part about 1 hour ago, Animefan8888 said: Show all of your code. And the Item models for your shield. Did you not understand? Does ShieldRenderer::render even get called? VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
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.