Skip to content

Commit

Permalink
Make some experimental APIs stable. (#3354)
Browse files Browse the repository at this point in the history
* Make some experimental APIs stable.

* Imports.

(cherry picked from commit e3d2bf3)
  • Loading branch information
modmuss50 committed Oct 8, 2023
1 parent ee80040 commit d7b148e
Show file tree
Hide file tree
Showing 12 changed files with 3 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
* Provides methods for modifying biomes. To create an instance, call
* {@link BiomeModifications#create(Identifier)}.
*
* <p><b>Experimental feature</b>, may be removed or changed without further notice.
*
* @see BiomeModifications
*/
public class BiomeModification {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@

/**
* Allows {@link Biome} properties to be modified.
*
* <p><b>Experimental feature</b>, may be removed or changed without further notice.
*/
public interface BiomeModificationContext {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@
* Provides an API to modify Biomes after they have been loaded and before they are used in the World.
*
* <p>Any modifications made to biomes will not be available for use in the demo level.
*
* <p><b>Experimental feature</b>, may be removed or changed without further notice.
*/
public final class BiomeModifications {
private BiomeModifications() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@

/**
* Provides several convenient biome selectors that can be used with {@link BiomeModifications}.
*
* <p><b>Experimental feature</b>, may be removed or changed without further notice.
*/
public final class BiomeSelectors {
private BiomeSelectors() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@
* <li>Replacements (removal + add) in biomes</li>
* <li>Generic post-processing of biomes</li>
* </ol>
*
* <p><b>Experimental feature</b>, may be removed or changed without further notice.
*/
public enum ModificationPhase {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@

/**
* API that exposes the internals of Minecraft's nether biome code.
*
* <p><b>Experimental feature</b>, may be removed or changed without further notice.
*/
public final class NetherBiomes {
private NetherBiomes() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@
/**
* API that exposes some internals of the minecraft default biome source for The End.
*
* <p><b>Experimental feature</b>, may be removed or changed without further notice.
* Because of the volatility of world generation in Minecraft 1.16, this API is marked experimental
* since it is likely to change in future Minecraft versions.
*/
public final class TheEndBiomes {
private TheEndBiomes() {
Expand Down
2 changes: 1 addition & 1 deletion fabric-biome-api-v1/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
],
"accessWidener" : "fabric-biome-api-v1.accesswidener",
"custom": {
"fabric-api:module-lifecycle": "experimental"
"fabric-api:module-lifecycle": "stable"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
* A provider to help with data-generation of dynamic registry objects,
* such as biomes, features, or message types.
*/
@ApiStatus.Experimental
public abstract class FabricDynamicRegistryProvider implements DataProvider {
private static final Logger LOGGER = LoggerFactory.getLogger(FabricDynamicRegistryProvider.class);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
/**
* This class allows the entries of {@linkplain ItemGroup item groups} to be modified by the events in {@link ItemGroupEvents}.
*/
@ApiStatus.Experimental
public class FabricItemGroupEntries implements ItemGroup.Entries {
private final ItemGroup.DisplayContext context;
private final List<ItemStack> displayStacks;
Expand Down
2 changes: 1 addition & 1 deletion fabric-message-api-v1/src/main/resources/fabric.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
}
],
"custom": {
"fabric-api:module-lifecycle": "experimental"
"fabric-api:module-lifecycle": "stable"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
"fabric-resource-conditions-api-v1.mixins.json"
],
"custom": {
"fabric-api:module-lifecycle": "experimental"
"fabric-api:module-lifecycle": "stable"
}
}

0 comments on commit d7b148e

Please sign in to comment.