mirror of
https://github.com/FabricMC/fabric.git
synced 2025-04-21 11:20:55 -04:00
Make some experimental APIs stable. (#3354)
* Make some experimental APIs stable.
* Imports.
(cherry picked from commit e3d2bf3f57
)
This commit is contained in:
parent
ee80040aaa
commit
d7b148e0ec
12 changed files with 3 additions and 20 deletions
fabric-biome-api-v1/src/main
java/net/fabricmc/fabric/api/biome/v1
BiomeModification.javaBiomeModificationContext.javaBiomeModifications.javaBiomeSelectors.javaModificationPhase.javaNetherBiomes.javaTheEndBiomes.java
resources
fabric-data-generation-api-v1/src/main/java/net/fabricmc/fabric/api/datagen/v1/provider
fabric-item-group-api-v1/src/main/java/net/fabricmc/fabric/api/itemgroup/v1
fabric-message-api-v1/src/main/resources
fabric-resource-conditions-api-v1/src/main/resources
|
@ -30,8 +30,6 @@ import net.fabricmc.fabric.impl.biome.modification.BiomeModificationImpl;
|
|||
* 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 {
|
||||
|
|
|
@ -40,8 +40,6 @@ import net.minecraft.world.gen.feature.PlacedFeature;
|
|||
|
||||
/**
|
||||
* Allows {@link Biome} properties to be modified.
|
||||
*
|
||||
* <p><b>Experimental feature</b>, may be removed or changed without further notice.
|
||||
*/
|
||||
public interface BiomeModificationContext {
|
||||
/**
|
||||
|
|
|
@ -34,8 +34,6 @@ import net.minecraft.world.gen.feature.PlacedFeature;
|
|||
* 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() {
|
||||
|
|
|
@ -34,8 +34,6 @@ import net.fabricmc.fabric.impl.biome.modification.BuiltInRegistryKeys;
|
|||
|
||||
/**
|
||||
* 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() {
|
||||
|
|
|
@ -27,8 +27,6 @@ package net.fabricmc.fabric.api.biome.v1;
|
|||
* <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 {
|
||||
/**
|
||||
|
|
|
@ -24,8 +24,6 @@ import net.fabricmc.fabric.impl.biome.NetherBiomeData;
|
|||
|
||||
/**
|
||||
* 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() {
|
||||
|
|
|
@ -25,9 +25,6 @@ import net.fabricmc.fabric.impl.biome.TheEndBiomeData;
|
|||
/**
|
||||
* 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() {
|
||||
|
|
|
@ -25,6 +25,6 @@
|
|||
],
|
||||
"accessWidener" : "fabric-biome-api-v1.accesswidener",
|
||||
"custom": {
|
||||
"fabric-api:module-lifecycle": "experimental"
|
||||
"fabric-api:module-lifecycle": "stable"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -58,7 +58,6 @@ import net.fabricmc.fabric.impl.registry.sync.DynamicRegistriesImpl;
|
|||
* 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);
|
||||
|
||||
|
|
|
@ -32,7 +32,6 @@ import net.minecraft.resource.featuretoggle.FeatureSet;
|
|||
/**
|
||||
* 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;
|
||||
|
|
|
@ -28,6 +28,6 @@
|
|||
}
|
||||
],
|
||||
"custom": {
|
||||
"fabric-api:module-lifecycle": "experimental"
|
||||
"fabric-api:module-lifecycle": "stable"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,6 +23,6 @@
|
|||
"fabric-resource-conditions-api-v1.mixins.json"
|
||||
],
|
||||
"custom": {
|
||||
"fabric-api:module-lifecycle": "experimental"
|
||||
"fabric-api:module-lifecycle": "stable"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue