Skip to content

Persistent Items

Withered_ edited this page Jul 18, 2026 · 1 revision

Registration

Inside your custom item class add impliments PersistentItem

Eg:

public class TestItem extends Item implements PersistentItem{
    public TestItem(Settings settings) {
        super(settings);
    }
}

Features

  • Moveable in Inventory
  • Can't drop
  • Can't be placed in containers
  • Can't be dropped on death

Clone this wiki locally