awad87 1 Share Posted March 12, 2022 hi is drop pattern is another way to drop inventory ? any example for using drop pattern thanks. Inventory.drop(set drop pattern); Link to comment Share on other sites More sharing options...
Hashtag 8688 Share Posted March 12, 2022 Use the Inventory#setDropPattern to set the drop pattern for Inventory#dropAll methods. What Hosfad said about it not working is that he used dropAllExcept which at that time didn't use the drop pattern. I'm not sure if it uses it now. You can use StandardDropPattern to give the slot ids like Hosfad did, or you can provide a custom function to create the pattern like I did in the above image. Link to comment Share on other sites More sharing options...
Hosfad 154 Share Posted March 13, 2022 18 hours ago, Hashtag said: Use the Inventory#setDropPattern to set the drop pattern for Inventory#dropAll methods. What Hosfad said about it not working is that he used dropAllExcept which at that time didn't use the drop pattern. I'm not sure if it uses it now. You can use StandardDropPattern to give the slot ids like Hosfad did, or you can provide a custom function to create the pattern like I did in the above image. Can confirm that it works with Inventory.dropAllExcept() now Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.