Skip to content

Conversation

MrMaleficus
Copy link
Contributor

@MrMaleficus MrMaleficus commented Aug 28, 2025

Some features to control the behaviors of the new Vault and Trial Spawners from 1.21

Events

  • trial_spawner spawns entity
  • vault displays item
  • vault changes state

Mechanims

  • MaterialTag.ominous (boolean)
  • MaterialTag.state (vault state)

Tags

  • MaterialTag.is_ominous (Boolean)
  • MaterialTag.state (vault state)

import org.bukkit.block.data.type.TrialSpawner;
import org.bukkit.block.data.type.Vault;

public class MaterialOminous implements Property {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should use the new format, which extends MaterialProperty, example commit 0559148

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants