diff --git a/paper-api/src/main/java/org/bukkit/block/data/type/Vault.java b/paper-api/src/main/java/org/bukkit/block/data/type/Vault.java index 87e46dfb95..0ffa92a4a5 100644 --- a/paper-api/src/main/java/org/bukkit/block/data/type/Vault.java +++ b/paper-api/src/main/java/org/bukkit/block/data/type/Vault.java @@ -16,6 +16,16 @@ public interface Vault extends Directional { * @return the 'vault_state' value */ @NotNull + State getVaultState(); + + /** + * Gets the value of the 'vault_state' property. + * + * @return the 'vault_state' value + * @deprecated see {@link #getVaultState()} + */ + @Deprecated(forRemoval = true) + @NotNull State getTrialSpawnerState(); /** @@ -23,6 +33,15 @@ public interface Vault extends Directional { * * @param state the new 'vault_state' value */ + void setVaultState(@NotNull State state); + + /** + * Sets the value of the 'vault_state' property. + * + * @param state the new 'vault_state' value + * @deprecated see {@link #setVaultState(State)} + */ + @Deprecated(forRemoval = true) void setTrialSpawnerState(@NotNull State state); /**