TrashCan icon

TrashCan -----

Destroys any item inserted into the Decorated Pot



TrashCan Plugin Features
Core Functionality
  • Destroys any item inserted into the Decorated Pot (only hoppers).
  • Prevents manual item insertion (players cannot place items directly).
  • Works with hoppers – items sent via hoppers are instantly deleted.
Crafting & Placement
  • Recipe:
    B = Lava Bucket
    X = Air

    B X B
    X B X
    B X B

  • Persistent Identity: Crafted pots are tagged as "TrashCan" and retain their functionality when placed/broken.
⚙️ Technical Behavior
  • Block Interaction:
    • Breaking: Drops the TrashCan item (even with tools).
    • Placement: Automatically registers as a functional TrashCan block.
  • Anti-Exploit:
    • Cancels all player interactions (except breaking/hopper attachments).
    • Items deleted immediately upon entering the pot’s inventory.
Restrictions
  • No Manual Insertion: Players can’t right-click items into the pot.
  • No Item Retrieval: All inserted items are permanently deleted.
Compatibility
  • Supports Minecraft 1.21.4+ (Paper/Spigot).
  • Works with all item types (including stackable/unstackable).
Note: The plugin uses PersistentDataContainer for reliable identification across server restarts.

Need adjustments? Let me know! ️
Resource Information
Author:
----------
Total Downloads: 11
First Release: Apr 1, 2025
Last Update: Apr 1, 2025
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings