Discussion in 'Plugin Development' started by thechrisanator, Dec 22, 2019.
How would I go about getting the title of a broken inventory block? ie: chest,dropper.
@thechrisanator Broken how? In the BlockBreakEvent, or after it's been broken for some time?
Either way, you'll have to check if the block is an instanceof Container, then cast it to Container and use getCustomName() on that.
Separate names with a comma.