mirror of
https://github.com/FabricMC/fabric.git
synced 2024-11-14 19:25:23 -05:00
Make some experimental APIs stable. (#3354)
* Make some experimental APIs stable.
* Imports.
(cherry picked from commit e3d2bf3f57
)
This commit is contained in:
parent
af7e9a669d
commit
ebb15496af
16 changed files with 3 additions and 30 deletions
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,8 +16,6 @@
|
|||
|
||||
package net.fabricmc.fabric.api.client.networking.v1;
|
||||
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
|
||||
import net.minecraft.client.MinecraftClient;
|
||||
import net.minecraft.client.network.ClientConfigurationNetworkHandler;
|
||||
import net.minecraft.util.Identifier;
|
||||
|
@ -28,7 +26,6 @@ import net.fabricmc.fabric.api.event.EventFactory;
|
|||
/**
|
||||
* Offers access to events related to the configuration connection to a server on a logical client.
|
||||
*/
|
||||
@ApiStatus.Experimental
|
||||
public final class ClientConfigurationConnectionEvents {
|
||||
/**
|
||||
* Event indicating a connection entering the CONFIGURATION state, ready for registering channel handlers.
|
||||
|
|
|
@ -19,7 +19,6 @@ package net.fabricmc.fabric.api.client.networking.v1;
|
|||
import java.util.Objects;
|
||||
import java.util.Set;
|
||||
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import net.minecraft.client.MinecraftClient;
|
||||
|
@ -51,7 +50,6 @@ import net.fabricmc.fabric.mixin.networking.client.accessor.ClientCommonNetworkH
|
|||
*
|
||||
* @see ServerConfigurationNetworking
|
||||
*/
|
||||
@ApiStatus.Experimental
|
||||
public final class ClientConfigurationNetworking {
|
||||
/**
|
||||
* Registers a handler to a channel.
|
||||
|
|
|
@ -16,8 +16,6 @@
|
|||
|
||||
package net.fabricmc.fabric.api.networking.v1;
|
||||
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
|
||||
import net.minecraft.server.MinecraftServer;
|
||||
import net.minecraft.server.network.ServerConfigurationNetworkHandler;
|
||||
|
||||
|
@ -27,7 +25,6 @@ import net.fabricmc.fabric.api.event.EventFactory;
|
|||
/**
|
||||
* Offers access to events related to the connection to a client on a logical server while a client is configuring.
|
||||
*/
|
||||
@ApiStatus.Experimental
|
||||
public final class ServerConfigurationConnectionEvents {
|
||||
/**
|
||||
* Event fired before any vanilla configuration has taken place.
|
||||
|
|
|
@ -19,7 +19,6 @@ package net.fabricmc.fabric.api.networking.v1;
|
|||
import java.util.Objects;
|
||||
import java.util.Set;
|
||||
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
import net.minecraft.network.PacketByteBuf;
|
||||
|
@ -48,7 +47,6 @@ import net.fabricmc.fabric.mixin.networking.accessor.ServerCommonNetworkHandlerA
|
|||
* @see ServerLoginNetworking
|
||||
* @see ServerConfigurationNetworking
|
||||
*/
|
||||
@ApiStatus.Experimental
|
||||
public final class ServerConfigurationNetworking {
|
||||
/**
|
||||
* Registers a handler to a channel.
|
||||
|
|
|
@ -23,6 +23,6 @@
|
|||
"fabric-resource-conditions-api-v1.mixins.json"
|
||||
],
|
||||
"custom": {
|
||||
"fabric-api:module-lifecycle": "experimental"
|
||||
"fabric-api:module-lifecycle": "stable"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue