mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-18 11:22:15 +01:00
parent
4a85b3985a
commit
ac251a9ed9
1 changed files with 9 additions and 0 deletions
|
@ -4,6 +4,9 @@ import org.jetbrains.annotations.ApiStatus;
|
|||
|
||||
/**
|
||||
* This represents a Feature Flag for a World.
|
||||
* <br>
|
||||
* Flags which are unavailable in the current version will be null and/or
|
||||
* removed.
|
||||
*/
|
||||
@ApiStatus.Experimental
|
||||
public interface FeatureFlag extends Keyed {
|
||||
|
@ -15,7 +18,13 @@ public interface FeatureFlag extends Keyed {
|
|||
|
||||
/**
|
||||
* <strong>AVAILABLE BETWEEN VERSIONS:</strong> 1.19 - 1.19.4
|
||||
*
|
||||
* @deprecated not available since 1.20
|
||||
*/
|
||||
@Deprecated
|
||||
@MinecraftExperimental
|
||||
public static final FeatureFlag UPDATE_1_20 = Bukkit.getUnsafe().getFeatureFlag(NamespacedKey.minecraft("update_1_20"));
|
||||
|
||||
@MinecraftExperimental
|
||||
public static final FeatureFlag TRADE_REBALANCE = Bukkit.getUnsafe().getFeatureFlag(NamespacedKey.minecraft("trade_rebalance"));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue