Fabric Shield Lib

Fabric Shield Lib

3M Downloads

Custom banner shield uses FabricShieldLib shield texture when blocking

Partonetrain opened this issue ยท 6 comments

commented
Minecraft_.1.20.1.2024-01-13.13-02-19.-.Trim.mp4

The tutorial (https://fabricmc.net/wiki/tutorial:shield) has the blocking model parent from fabric_banner_shield_blocking and doesn't specify the texture.
image

However, specifying the texture like so in the blocking model (my JSON) results in the shield using the default Minecraft missing texture.

  "textures":{
    "shield":"botaniacombat:entity/elementium_banner_shield"
  }

image

commented

D'oh, I had it parented to fabricshieldlib:item/fabric_shield_blocking instead of fabricshieldlib:item/fabric_banner_shield_blocking, which is why it didn't work. My apologies, and thanks for your patience, haha.

commented

It's all good! Happy you got it sorted out.

commented

thats not what happens on my end, could you please show your project, preferably as a github repo?

commented

Thanks for catching this! It seems I changed it in the code but not in the wiki, will fix in a sec!

commented

fixed

commented

Thanks for the quick response, but there still seems to be an issue.
using
"textures":{ "shield":"examplemod:item/netherite_shield" }
(which is what the wiki has now) in the blocking model uses the non-banner-compatible shield texture. It looks like the banner disappears when blocking.