mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-11 10:12:06 -07:00
@@ -4,6 +4,9 @@ import org.jetbrains.annotations.ApiStatus;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* This represents a Feature Flag for a World.
|
* 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
|
@ApiStatus.Experimental
|
||||||
public interface FeatureFlag extends Keyed {
|
public interface FeatureFlag extends Keyed {
|
||||||
@@ -15,7 +18,13 @@ public interface FeatureFlag extends Keyed {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* <strong>AVAILABLE BETWEEN VERSIONS:</strong> 1.19 - 1.19.4
|
* <strong>AVAILABLE BETWEEN VERSIONS:</strong> 1.19 - 1.19.4
|
||||||
|
*
|
||||||
|
* @deprecated not available since 1.20
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
@MinecraftExperimental
|
@MinecraftExperimental
|
||||||
public static final FeatureFlag UPDATE_1_20 = Bukkit.getUnsafe().getFeatureFlag(NamespacedKey.minecraft("update_1_20"));
|
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"));
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user