awad87 1 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);
Hashtag 9071 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.
Hosfad 156 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.