[SPIGOT-1765] ShieldMeta Created: 05/Mar/16  Updated: 06/Mar/16  Resolved: 05/Mar/16

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: Robi F. Assignee: Unassigned
Resolution: Done Votes: 0
Labels: 1.9, shield


 Description   

As we know, you can change the pattern of a Shield.
(Craft a banner and a shield together; http://i.imgur.com/H5Wn1NU.png)
However, this is not available on Spigot. We should handle ShieldMeta just like BannerMeta, OR, apply BannerMeta to Shields.

Thanks.



 Comments   
Comment by md_5 [ 06/Mar/16 ]

That's not how shields work though They are literally the combination of a shield and a banner. Pretending a shield is a banner when they are two combined things is silly.

Comment by Robi F. [ 06/Mar/16 ]

Honestly, I don't find that really smart. It'd be easier to simply use a ShieldMeta, or BannerMeta (for shields, of course.)

Comment by md_5 [ 06/Mar/16 ]

As I said above and as the stack trace says, it's a BlockStateMeta. So use that and set the state to a banner.

Comment by Robi F. [ 06/Mar/16 ]

It gave me a stacktrace, but I will try this again.

(P.S: I deleted my comment because I wasn't sure that it was supposed to work, or it's just got added now.)

Edit:
http://pastebin.com/KsK13wpM
http://pastebin.com/ez0UCKS9
And yes, I am running the latest version.

Comment by md_5 [ 06/Mar/16 ]

What about it didnt work? Its a blockstate meta, you attach the ban er as the state.

Comment by md_5 [ 05/Mar/16 ]

Banner meta is applicable to shields.

Generated at Fri Apr 11 15:29:56 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.