Death Chest Spawning

Link to death-chest-spawning

Importing the package

Link to importing-the-package

import mods.vanilladeathchest.DeathChestSpawning;

ZenScript
Copy
//DeathChestSpawning.setChatMessage(string stage, string message);
DeathChestSpawning.setChatMessage("example_stage", "A chest appears at [%s, %s, %s]!");

The string takes three arguments: the X, Y and Z coordinates of the death chest.

Container display name

Link to container-display-name

ZenScript
Copy
//DeathChestSpawning.setContainerDisplayName(string stage, string name);
DeathChestSpawning.setContainerDisplayName("example_stage", "Your Items");

Registry name regex

Link to registry-name-regex

ZenScript
Copy
//DeathChestSpawning.setRegistryNameRegex(string stage, string regex);
DeathChestSpawning.setRegistryNameRegex("example_stage", ".*dirt.*");

Use container in inventory

Link to use-container-in-inventory

ZenScript
Copy
//DeathChestSpawning.setUseContainerInInventory(string stage, bool flag);
DeathChestSpawning.setUseContainerInInventory("example_stage", false);