Download Diorite — Minecraft Mods — MetaMods
Diorite

Diorite

Active

Downloads

0

Last update

3 years ago

Versions

1.17.1 — 1.19
Client
Fabric
Utils

Diorite

Overview

Diorite is a client-side inventory management utility that allows for mass disposal of unwanted items. Users can customize their own deletion sets, with the mod operating exclusively on the client side.

Filtering Methods

The system offers three ways to define "trash" items:

  • By identifier: filtering by item's registration name. This method is recommended for most standard and modded items.

  • By name: selecting specific items by their display name without case sensitivity. Uses a "contains" method, allowing sorting by prefixes, suffixes, and other parameters. Particularly useful for servers with custom or RPG items.

  • By NBT data: removing items if their NBT data (key or value) contains the specified string anywhere, without case sensitivity. The function checks if the entire NBT string contains the given value, allowing for more precise results when specifying both key and value.

Usage

Unfortunately, the mod cannot properly filter items from the hotbar without causing errors. If anyone has a solution to this problem, the author would appreciate information or a pull request.

Basic Steps:

  1. Create or select a deletion set via the button in the inventory or the assigned key (configurable in normal game settings). Sets persist until exiting the world or selecting a new set.

  2. Press the corresponding assigned key to discard all items matching the current set. If automatic disposal on switch is enabled, this will occur immediately.

Additional Parameters:

  • Identifier determines the position in the sets menu
  • The "reserved building blocks" value determines how many filtered blocks you want to keep if there are no other items in the main inventory blocking movement
Project members
Abstrusle

Abstrusle

Developer

Created: 1 Jul 2022

ID: 14927