Commits

Doc authored and md_5 committed 8a9ecf29405
#1072: Fix bad naming for Vault State methods
No tags

src/main/java/org/bukkit/block/data/type/Vault.java

Modified
9 9 * 'ominous' indicates if the block has ominous effects.
10 10 */
11 11 public interface Vault extends Directional {
12 12
13 13 /**
14 14 * Gets the value of the 'vault_state' property.
15 15 *
16 16 * @return the 'vault_state' value
17 17 */
18 18 @NotNull
19 + State getVaultState();
20 +
21 + /**
22 + * Gets the value of the 'vault_state' property.
23 + *
24 + * @return the 'vault_state' value
25 + * @deprecated see {@link #getVaultState()}
26 + */
27 + @Deprecated(forRemoval = true)
28 + @NotNull
19 29 State getTrialSpawnerState();
20 30
21 31 /**
22 32 * Sets the value of the 'vault_state' property.
23 33 *
24 34 * @param state the new 'vault_state' value
25 35 */
36 + void setVaultState(@NotNull State state);
37 +
38 + /**
39 + * Sets the value of the 'vault_state' property.
40 + *
41 + * @param state the new 'vault_state' value
42 + * @deprecated see {@link #setVaultState(State)}
43 + */
44 + @Deprecated(forRemoval = true)
26 45 void setTrialSpawnerState(@NotNull State state);
27 46
28 47 /**
29 48 * Gets the value of the 'ominous' property.
30 49 *
31 50 * @return the 'ominous' value
32 51 */
33 52 boolean isOminous();
34 53
35 54 /**

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut