Posted December 18, 20231 yr I have a mob that has an inventory (a SimpleContainer) and I want it to drop all of it on death. Anyone have any idea how to do that? Edited December 20, 20231 yr by a_random_something
December 20, 20231 yr Author I figured it out. I copied this.inventory.removeAllItems().forEach(this::spawnAtLocation); from the Allay and put it in an overridden dropEquipment method
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.