[SPIGOT-1156] Inventory.setTitle() addition to the API Created: 30/Aug/15  Updated: 10/Dec/16  Resolved: 10/Dec/16

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

Type: New Feature Priority: Minor
Reporter: Richard B. Assignee: Unassigned
Resolution: Fixed Votes: 3
Labels: bukkit
Environment:

N/A



 Description   

This is not major, but I am creating a plugin in which a chest's inventory name is supposed to be updated when a certain event happens. And I noticed the Inventory class is missing a setTitle method in API. I don't know how hard this would be to add since this information is saved as NBT data I assume, but if it is an easy fix it would be great if it could be added. It would help for situtations like this and it just makes logical sense.



 Comments   
Comment by Senmori [ 22/Nov/16 ]

This is fixed with: bd2d7935c42

Comment by Shevchik [ 20/Mar/16 ]

You can't change open inventory name AFAIK.

Comment by Jake Peace [ 02/Sep/15 ]

Try get the inventories data then save that as variables and redefine the inventory then reapply it's data.

Comment by Richard B. [ 30/Aug/15 ]

Also in the meantime if anyone knows a workaround that is fairly simple for this that would be great!

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