var item = Level.dropItem(x,y,z,range,ID,amount,damage);
Entity.remove(item);
No offense, but it is a useless code. (dead code) The item appears for 1/100 000 000 seconds (if your device is like 10MHz zzzzzz) and disappears? He is asking for removing auto items, not mod items. If you want the remove an item you just dropped, then why don't you just stop doing it in the first place?
Rollback Post to RevisionRollBack
IGN: PEMapModder Projects I am working on:
1. ModPE Maker - Submit unofficial names for MCPE items here to support it!
2. Porting MCPC functions to MCPE by ModPE 3. PocketMine Plugin: PocketMine ModPE! 4. PocketMine Servers: Capture Nether Reactor 5. Chunk Claimers (like factions as a mini-game)
To post a comment, please login or register a new account.
How ?
Thanks
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumfunction entityAddedHook(entity) { if (Entity.getEntityTypeId() == 64) { //dropped item Entity.remove(entity); } }Thanks !
It Didn't Work
Help !
2. Porting MCPC functions to MCPE by ModPE 3. PocketMine Plugin: PocketMine ModPE! 4. PocketMine Servers: Capture Nether Reactor 5. Chunk Claimers (like factions as a mini-game)