Hey, I'm trying to make a plugin and I've a problem : how can I put items in a chest ? Not a chest inventory but the block... please help ! Thanks very much ! See you next time
@BlaSfaiMe Get the block, get the block's state using Block#getState(), check if the block's state is an instanceof a Chest, then cast the block's state to Chest, and then finally get the inventory using Chest#getInventory() or Chest#getBlockInventory()