Item removal from world
-
- New member
- Posts: 9
- Joined: Mon Dec 28, 2020 01:19
- In-game: loosewheel
Item removal from world
Is it possible to detect when an item is disposed of? That is when it's trashed or is removed from the world after being dropped. Not when a node is dug or an item is dropped.
- Nathan.S
- Member
- Posts: 1065
- Joined: Wed Sep 24, 2014 17:47
- GitHub: NathanSalapat
- IRC: NathanS21
- In-game: NathanS21
- Location: Bigsby Texas
- Contact:
Re: Item removal from world
You can probably detect when a player puts an item into the trash inventory in creative, or any sort of a trash bin mod, using inventory callbacks. By overriding the /pulverize command you could also put detection in. Not so sure about when a dropped object is deleted.
I record Minetest videos, Mod reviews, Modding tutorials, and Lets plays.
Check out my website, and brand new Minetest Modding Course
Check out my website, and brand new Minetest Modding Course
-
- New member
- Posts: 9
- Joined: Mon Dec 28, 2020 01:19
- In-game: loosewheel
Re: Item removal from world
Thank you.
Who is online
Users browsing this forum: No registered users and 2 guests