Jump to content

hiimjustin000

Members
  • Posts

    26
  • Joined

  • Last visited

Converted

  • Gender
    Male
  • URL
    https://www.youtube.com/bokuwaboingo
  • Location
    North Carolina

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

hiimjustin000's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. I removed `fillItemGroup()` from the class of BedrockSwordItem and it doesn't do it anymore. Bruh.
  2. I'll be back after I watch some awards about a game I like (but less than minecraft)
  3. I'm only using the dev environment. It still happens. What code should I post, though? Here is my debug log. https://gist.github.com/hiimjustin000/8c55d020cf4d4544b19b1b386a9f6b6c
  4. I was testing out my mod, it was successful, but I found something peculiar... Is there any advice on how to fix this? Is this a bug? Or something on my accord? Any help is appreciated.
  5. 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_(); } }
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.