geforkt von Mirrors/Paper
#1500: Rename implementation for Vault State methods
By: Doc <nachito94@msn.com>
Dieser Commit ist enthalten in:
Ursprung
af6f2c9b41
Commit
2960bff05e
@ -9,15 +9,25 @@ public abstract class CraftVault extends CraftBlockData implements Vault {
|
||||
private static final net.minecraft.world.level.block.state.properties.BlockStateBoolean OMINOUS = getBoolean("ominous");
|
||||
|
||||
@Override
|
||||
public org.bukkit.block.data.type.Vault.State getTrialSpawnerState() {
|
||||
public org.bukkit.block.data.type.Vault.State getVaultState() {
|
||||
return get(VAULT_STATE, org.bukkit.block.data.type.Vault.State.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setTrialSpawnerState(org.bukkit.block.data.type.Vault.State state) {
|
||||
public org.bukkit.block.data.type.Vault.State getTrialSpawnerState() {
|
||||
return getVaultState();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setVaultState(org.bukkit.block.data.type.Vault.State state) {
|
||||
set(VAULT_STATE, state);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setTrialSpawnerState(org.bukkit.block.data.type.Vault.State state) {
|
||||
setVaultState(state);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isOminous() {
|
||||
return get(OMINOUS);
|
||||
|
@ -19,15 +19,25 @@ public final class CraftVault extends org.bukkit.craftbukkit.block.data.CraftBlo
|
||||
private static final net.minecraft.world.level.block.state.properties.BlockStateBoolean OMINOUS = getBoolean(net.minecraft.world.level.block.VaultBlock.class, "ominous");
|
||||
|
||||
@Override
|
||||
public org.bukkit.block.data.type.Vault.State getTrialSpawnerState() {
|
||||
public org.bukkit.block.data.type.Vault.State getVaultState() {
|
||||
return get(VAULT_STATE, org.bukkit.block.data.type.Vault.State.class);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setTrialSpawnerState(org.bukkit.block.data.type.Vault.State state) {
|
||||
public org.bukkit.block.data.type.Vault.State getTrialSpawnerState() {
|
||||
return getVaultState();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setVaultState(org.bukkit.block.data.type.Vault.State state) {
|
||||
set(VAULT_STATE, state);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setTrialSpawnerState(org.bukkit.block.data.type.Vault.State state) {
|
||||
setVaultState(state);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isOminous() {
|
||||
return get(OMINOUS);
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren