geforkt von Mirrors/Paper
Ursprung
4a85b3985a
Commit
ac251a9ed9
@ -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"));
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren