### start (String, Runnable) Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/server/integrated/IntegratedServerLoader.html Starts a new server instance with a given name and a cancel callback. ```APIDOC ## start (String, Runnable) ### Description Starts a new server instance with a given name and a cancel callback. ### Method `public` ### Endpoint N/A (Method within a class) ### Parameters - **name** (String) - Required - The name of the server. - **onCancel** (Runnable) - Required - The callback to execute if the operation is cancelled. ### Mappings Namespace | Name | Mixin selector ---|---|--- named | `start` | `Lnet/minecraft/server/integrated/IntegratedServerLoader;start(Ljava/lang/String;Ljava/lang/Runnable;)V` intermediary | `method_57784` | `Lnet/minecraft/class_7196;method_57784(Ljava/lang/String;Ljava/lang/Runnable;)V` official | `a` | `Lgfe;a(Ljava/lang/String;Ljava/lang/Runnable;)V` ``` -------------------------------- ### Method: start Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/entity/passive/FoxEntity.FollowParentGoal.html Starts the execution of the goal. ```APIDOC ## Method: start ### Description Initializes the state when the goal begins execution. ``` -------------------------------- ### start (LevelStorage.Session, Runnable) Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/server/integrated/IntegratedServerLoader.html Starts a server instance using a given session and cancel callback. ```APIDOC ## start (LevelStorage.Session, Runnable) ### Description Starts a server instance using a given session and cancel callback. ### Method `private` ### Endpoint N/A (Method within a class) ### Parameters - **session** (LevelStorage.Session) - Required - The session object representing the level storage. - **onCancel** (Runnable) - Required - The callback to execute if the operation is cancelled. ### Mappings Namespace | Name | Mixin selector ---|---|--- named | `start` | `Lnet/minecraft/server/integrated/IntegratedServerLoader;start(Lnet/minecraft/world/level/storage/LevelStorage$Session;Ljava/lang/Runnable;)V` intermediary | `method_57782` | `Lnet/minecraft/class_7196;method_57782(Lnet/minecraft/class_32$class_5143;Ljava/lang/Runnable;)V` official | `a` | `Lgfe;a(Lfah$c;Ljava/lang/Runnable;)V` ``` -------------------------------- ### setup Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/client/Keyboard.html Initializes or sets up the keyboard input system for a given window. ```APIDOC ## POST /api/setup ### Description Sets up the keyboard input system for a specific window. ### Method POST ### Endpoint /api/setup ### Parameters #### Request Body - **window** (Long) - Required - The window handle to set up keyboard input for. ### Request Example { "window": 1234567890 } ### Response #### Success Response (200) - **status** (String) - Indicates the success of the setup operation. #### Response Example { "status": "setup_complete" } ``` -------------------------------- ### Get Start Raid Position Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/server/network/ServerPlayerEntity.html Retrieves the starting block position for a raid. Returns null if not set. ```java @Nullable public @Nullable BlockPos getStartRaidPos() ``` -------------------------------- ### Get Examples for Text Argument Type Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/command/argument/TextArgumentType.html Retrieves examples for the TextArgumentType. This method is part of the command argument system. ```java public Collection getExamples() ``` -------------------------------- ### Method: setupServer Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/test/TestServer.html Initializes the Minecraft server environment for testing. ```APIDOC ## boolean setupServer() ### Description Setups a Minecraft server to be ready for players to connect. ### Response - **boolean** (boolean) - Returns true if the server setup was successful. ``` -------------------------------- ### Get Ticker Example Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/block/BlastFurnaceBlock.html Example implementation for retrieving the block entity ticker. It validates the block entity type and returns the appropriate ticker or null. ```java public BlockEntityTicker getTicker(World world, BlockState state, BlockEntityType type) { if (type != YourMod.MY_BLOCK_ENTITY_TYPE) return null; // This should be a static method usable as a BlockEntityTicker. return YourBlockEntity::tick; } ``` -------------------------------- ### setupServer Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/server/dedicated/MinecraftDedicatedServer.html Initializes the Minecraft server, including loading properties and worlds. ```APIDOC ## setupServer ### Description Setups a Minecraft server to be ready for players to connect. This method does several things including loading server properties and loading worlds. ### Returns - **boolean** - true if the Minecraft server was successfully setup, false if the server failed to be setup. ### Throws - **IOException** ``` -------------------------------- ### Method setup Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/test/TestEnvironmentDefinition.TimeOfDay.html Configures the environment using the provided ServerWorld. ```APIDOC ## setup(ServerWorld world) ### Description Configures the test environment using the specified ServerWorld instance. ### Parameters #### Request Body - **world** (ServerWorld) - Required - The server world instance to apply the time configuration to. ``` -------------------------------- ### getStart API Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/structure/pool/SinglePoolElement.html Gets the starting position of the structure template with rotation. ```APIDOC ## getStart API ### Description Gets the starting position of the structure template with rotation. ### Method public Vec3i getStart(StructureTemplateManager structureTemplateManager, BlockRotation rotation) ### Endpoint N/A ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Response #### Success Response (200) - **Vec3i** (Vec3i) - The starting position of the structure template. #### Response Example ```json { "example": "Vec3i" } ``` ``` -------------------------------- ### GET getLineStart Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/client/gui/screen/ingame/BookEditScreen.PageContent.html Retrieves the starting position of a line within the PageContent. ```APIDOC ## GET getLineStart ### Description Retrieves the starting position of a line based on the provided index. ### Method GET ### Parameters #### Path Parameters - **position** (int) - Required - The index to retrieve the line start for. ### Response #### Success Response (200) - **return** (int) - The starting position of the line. ``` -------------------------------- ### start (LevelStorage.Session, LevelSummary, Dynamic, Runnable) Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/server/integrated/IntegratedServerLoader.html Starts a server instance with detailed session, summary, level properties, and a cancel callback. ```APIDOC ## start (LevelStorage.Session, LevelSummary, Dynamic, Runnable) ### Description Starts a server instance with detailed session, summary, level properties, and a cancel callback. ### Method `private` ### Endpoint N/A (Method within a class) ### Parameters - **session** (LevelStorage.Session) - Required - The session object representing the level storage. - **summary** (LevelSummary) - Required - A summary of the level. - **levelProperties** (com.mojang.serialization.Dynamic) - Required - Dynamic object containing level properties. - **onCancel** (Runnable) - Required - The callback to execute if the operation is cancelled. ### Mappings Namespace | Name | Mixin selector ---|---|--- named | `start` | `Lnet/minecraft/server/integrated/IntegratedServerLoader;start(Lnet/minecraft/world/level/storage/LevelStorage$Session;Lnet/minecraft/world/level/storage/LevelSummary;Lcom/mojang/serialization/Dynamic;Ljava/lang/Runnable;)V` intermediary | `method_57781` | `Lnet/minecraft/class_7196;method_57781(Lnet/minecraft/class_32$class_5143;Lnet/minecraft/class_34;Lcom/mojang/serialization/Dynamic;Ljava/lang/Runnable;)V` official | `a` | `Lgfe;a(Lfah$c;Lfai;Lcom/mojang/serialization/Dynamic;Ljava/lang/Runnable;)V` ``` -------------------------------- ### static void bootstrap() Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/client/render/item/tint/TintSourceTypes.html Initializes the tint source types registry. ```APIDOC ## STATIC void bootstrap() ### Description Initializes the tint source types registry. This method should be called during the game's startup phase to ensure all tint sources are correctly registered. ### Method STATIC ### Response - **void** - Returns nothing. ``` -------------------------------- ### GET /resources/find Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/resource/NamespaceResourceManager.html Finds resources based on a starting path and a predicate filter. ```APIDOC ## GET /resources/find ### Description Scans for resources starting from a specific path and filters them using a predicate. ### Method GET ### Parameters #### Query Parameters - **startingPath** (String) - Required - The starting path to begin scanning from. - **allowedPathPredicate** (Predicate) - Required - A predicate to determine whether a path should be included. ### Response #### Success Response (200) - **Map>** - A map of matching identifiers to their respective resource lists. ``` -------------------------------- ### GET /getBuffer Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/client/render/VertexConsumerProvider.html Starts building a buffer that will be drawn with the specified render layer. ```APIDOC ## GET /getBuffer ### Description Starts building a buffer that will be drawn with the provided render layer. The returned vertex consumer is only safe to use until this method is called again with a different render layer. ### Method GET ### Parameters #### Query Parameters - **layer** (RenderLayer) - Required - The render layer to use for the buffer. ### Response #### Success Response (200) - **VertexConsumer** - The consumer used to build the buffer. ``` -------------------------------- ### getExamples Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/command/argument/TimeArgumentType.html Retrieves a collection of example strings. ```APIDOC ## getExamples ### Description Retrieves a collection of example strings. ### Method GET ### Endpoint Not specified (method signature) ### Parameters None ### Return Type Collection ### Specified by `getExamples` in interface `com.mojang.brigadier.arguments.ArgumentType` ``` -------------------------------- ### Create WeatherCheckLootCondition.Builder Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/loot/condition/class-use/WeatherCheckLootCondition.Builder.html Use this static method to start building a WeatherCheckLootCondition. Requires no setup. ```java static WeatherCheckLootCondition.Builder WeatherCheckLootCondition.create() ``` -------------------------------- ### GET findResources Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/resource/NamespaceResourceManager.html Returns a map of identifiers matching a path predicate starting from a specific path. ```APIDOC ## GET findResources ### Description Returns a sorted list of identifiers matching a path predicate. Scanning begins in startingPath and each candidate file present under that directory will be offered up to the predicate to decide whether it should be included or not. ### Method GET ### Parameters #### Query Parameters - **startingPath** (String) - Required - The directory path to begin scanning. - **allowedPathPredicate** (Predicate) - Required - The predicate used to filter identifiers. ``` -------------------------------- ### static void bootstrap() Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/client/render/item/property/bool/BooleanProperties.html Initializes the BooleanProperties system. This method should be called to register or prepare the properties for use. ```APIDOC ## static void bootstrap() ### Description Initializes the BooleanProperties system. This method is responsible for setting up the necessary mappings and codecs required for boolean property handling in the client. ### Method STATIC ### Response - **void** - Returns nothing. ``` -------------------------------- ### GET /com/mojang/brigadier/arguments/ArgumentType/getExamples Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/command/argument/ScoreboardCriterionArgumentType.html Retrieves a collection of example values for the specified ArgumentType, useful for command suggestions and documentation. ```APIDOC ## GET /com/mojang/brigadier/arguments/ArgumentType/getExamples ### Description Retrieves a collection of example values for the specified ArgumentType. This is typically used by command dispatchers to provide suggestions or help text to the user. ### Method GET ### Endpoint /com/mojang/brigadier/arguments/ArgumentType/getExamples ### Response #### Success Response (200) - **Collection** - A collection of example strings representing valid inputs for this argument type. #### Response Example [ "example1", "example2" ] ``` -------------------------------- ### TutorialManager Methods Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/index-files/index-15.html Manages tutorial steps, including opening the inventory. ```APIDOC ## POST /api/client/tutorial/manager/open_inventory ### Description Notifies the tutorial manager that the inventory has been opened. ### Method POST ### Endpoint /api/client/tutorial/manager/open_inventory ``` -------------------------------- ### Get deathMessageVisibility Record Component Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/scoreboard/Team.Packed.html Returns the value of the `deathMessageVisibility` record component. No specific setup is required. ```java public DeathMessageVisibility deathMessageVisibility() Returns the value of the `deathMessageVisibility` record component. ``` -------------------------------- ### GET /world/gen/getStructureContaining Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/registry/tag/class-use/TagKey.html Retrieves a structure start object containing a specific block position filtered by a structure tag. ```APIDOC ## GET /world/gen/getStructureContaining ### Description Retrieves the structure start containing the given block position that matches the provided structure tag. ### Method GET ### Parameters #### Query Parameters - **pos** (BlockPos) - Required - The block position to check. - **tag** (TagKey) - Required - The structure tag to filter by. ### Response #### Success Response (200) - **StructureStart** (Object) - The structure start object found. ``` -------------------------------- ### SlimeEntity.MoveGoal.canStart() Method Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/entity/mob/SlimeEntity.MoveGoal.html Documentation for the canStart method. ```APIDOC ## Method: SlimeEntity.MoveGoal.canStart() ### Description Determines if this goal should begin execution. ### Returns * **boolean** - `true` if the goal can start, `false` otherwise. ### Overrides `canStart` in class `Goal` ### Mappings * **named**: `canStart()Z` * **intermediary**: `method_6264()Z` * **official**: `b()Z` ``` -------------------------------- ### Get Advancement Builder Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/advancement/class-use/Advancement.Builder.html Retrieves an Advancement.Builder instance from a RecipeExporter. This is a common starting point for creating recipe-related advancements. ```java RecipeExporter.`getAdvancementBuilder()` ``` -------------------------------- ### Spawn Helper Setup Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/entity/class-use/Entity.html Method for setting up entity spawning. ```APIDOC ## SpawnHelper.setupSpawn ### Description Constructs the necessary information for spawning entities. ### Method `static SpawnHelper.Info` ### Endpoint N/A (Method Call) ### Parameters - **spawningChunkCount** (int) - The number of chunks available for spawning. - **entities** (Iterable) - An iterable of entities to consider for spawning. - **chunkSource** (SpawnHelper.ChunkSource) - The source of chunk information. - **densityCapper** (SpawnDensityCapper) - The density capping mechanism. ### Response Example Returns `SpawnHelper.Info` containing setup information for spawning. ``` -------------------------------- ### getExamples Method Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/command/argument/BlockPredicateArgumentType.html Retrieves a collection of example strings for the argument type. ```APIDOC ## getExamples ### Description Returns a collection of example strings for this argument type, as specified by the ArgumentType interface. ### Method N/A (Java Method) ### Response - **Collection** - A collection of example strings. ``` -------------------------------- ### StructurePoolElement getStart Method Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/structure/pool/StructurePoolElement.html Abstract method to get the starting position of the structure element relative to its pivot, considering rotation. ```java abstract Vec3i getStart(StructureTemplateManager structureTemplateManager, BlockRotation rotation) ``` -------------------------------- ### Get players Record Component Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/scoreboard/Team.Packed.html Returns the value of the `players` record component, which is a list of strings. No specific setup is required. ```java public List players() Returns the value of the `players` record component. ``` -------------------------------- ### static SpawnHelper.setupSpawn Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/world/class-use/SpawnHelper.ChunkSource.html Configures spawning parameters using the provided chunk source and density capper. ```APIDOC ## static SpawnHelper.setupSpawn ### Description Initializes spawn information based on the provided chunk source, entity list, and density constraints. ### Method STATIC ### Parameters #### Method Parameters - **spawningChunkCount** (int) - Required - The number of chunks to consider for spawning. - **entities** (Iterable) - Required - The collection of entities currently in the world. - **chunkSource** (SpawnHelper.ChunkSource) - Required - The source providing chunk data. - **densityCapper** (SpawnDensityCapper) - Required - The utility used to cap spawn density. ### Response - **SpawnHelper.Info** - Returns an object containing the initialized spawn information. ``` -------------------------------- ### setupFrustum Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/client/render/WorldRenderer.html Sets up the frustum for rendering. ```APIDOC ## setupFrustum ### Description Configures the frustum using the camera position and projection matrices. ### Parameters - **pos** (Vec3d) - Required - Camera position. - **positionMatrix** (Matrix4f) - Required - Position matrix. - **projectionMatrix** (Matrix4f) - Required - Projection matrix. ``` -------------------------------- ### DragonEggBlock getFallDelay Method Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/block/DragonEggBlock.html Gets the delay in ticks before this block starts to fall. This method is inherited from FallingBlock and can be overridden for custom falling behavior. ```java protected int getFallDelay() ``` -------------------------------- ### VoxelSet Dimension and Coordinate Methods Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/util/shape/VoxelSet.html Provides methods to get the dimensions (X, Y, Z) of a VoxelSet and to calculate the starting and ending coordinates along a specified axis. ```APIDOC ## GET /websites/maven_fabricmc_net_yarn-1_21_5_build_1/voxelset/dimensions ### Description Retrieves the dimensions (X, Y, Z) of the VoxelSet. ### Method GET ### Endpoint /websites/maven_fabricmc_net_yarn-1_21_5_build_1/voxelset/dimensions ### Parameters None ### Response #### Success Response (200) - **xSize** (int) - The size of the VoxelSet along the X-axis. - **ySize** (int) - The size of the VoxelSet along the Y-axis. - **zSize** (int) - The size of the VoxelSet along the Z-axis. #### Response Example ```json { "xSize": 16, "ySize": 16, "zSize": 16 } ``` ## GET /websites/maven_fabricmc_net_yarn-1_21_5_build_1/voxelset/coordinates ### Description Calculates the starting and ending coordinates of the VoxelSet along a specified axis. ### Method GET ### Endpoint /websites/maven_fabricmc_net_yarn-1_21_5_build_1/voxelset/coordinates ### Parameters #### Query Parameters - **axis** (Direction.Axis) - Required - The axis for which to calculate coordinates. - **from** (int) - Required - The starting point for the calculation. - **to** (int) - Required - The ending point for the calculation. ### Response #### Success Response (200) - **startingAxisCoord** (int) - The calculated starting coordinate along the specified axis. - **endingAxisCoord** (int) - The calculated ending coordinate along the specified axis. #### Response Example ```json { "startingAxisCoord": 0, "endingAxisCoord": 15 } ``` ``` -------------------------------- ### RecipeDisplayBootstrap Constructor Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/recipe/display/RecipeDisplayBootstrap.html Initializes a new instance of the RecipeDisplayBootstrap class. ```APIDOC ## RecipeDisplayBootstrap() ### Description Initializes a new instance of the `RecipeDisplayBootstrap` class. ### Method Constructor ### Endpoint N/A ### Parameters None ### Request Example None ### Response None ``` -------------------------------- ### Get Log Axis for Large Oak Trunk Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/util/math/class-use/Direction.Axis.html Determines the axis for the log placement in a large oak tree trunk, based on the start and end positions of a branch. ```java private Direction.Axis LargeOakTrunkPlacer.getLogAxis(BlockPos branchStart, BlockPos branchEnd) ``` -------------------------------- ### getExamples Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/command/argument/MessageArgumentType.html Retrieves a collection of example strings for the argument type. ```APIDOC ## getExamples ### Description Returns a collection of example strings used for this argument type. ### Response - **Collection** - A collection of example strings. ``` -------------------------------- ### Start Entity Riding Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/entity/mob/ShulkerEntity.html Initiates a riding relationship between two entities. The first entity will ride the second. For example, `player.startRiding(horse)` makes the player ride the horse. ```java public boolean startRiding(Entity entity, boolean force) ``` -------------------------------- ### StructureStart Methods Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/structure/StructureStart.html Lists and describes the instance methods available for the StructureStart class. ```APIDOC ## Methods: StructureStart ### Static Methods - **`fromNbt(StructureContext context, NbtCompound nbt, long seed)`**: `@Nullable StructureStart` - Creates a StructureStart from NBT data. ### Instance Methods - **`getBoundingBox()`**: `BlockBox` - Gets the bounding box of the structure. - **`getChildren()`**: `List` - Gets the list of structure pieces. - **`getMinReferencedStructureReferenceCount()`**: `protected int` - Gets the minimum referenced structure reference count. - **`getPos()`**: `ChunkPos` - Gets the position of the structure start. - **`getReferences()`**: `int` - Gets the number of references. - **`getStructure()`**: `Structure` - Gets the structure definition. - **`hasChildren()`**: `boolean` - Checks if the structure has children. - **`incrementReferences()`**: `void` - Increments the reference count. - **`isNeverReferenced()`**: `boolean` - Checks if the structure is never referenced. - **`place(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox chunkBox, ChunkPos chunkPos)`**: `void` - Places the structure in the world. - **`toNbt(StructureContext context, ChunkPos chunkPos)`**: `NbtCompound` - Converts the structure start to NBT data. ``` -------------------------------- ### init() Method Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/client/gui/screen/world/BackupPromptScreen.html Initializes the screen's resources and UI elements. ```APIDOC ## init() Method ### Description Called when a screen should be initialized. This method is invoked when the screen is opened or resized. It is an override of the `init` method from the `Screen` class. ### Method `protected void init()` ### Overrides `init` in class `Screen` ``` -------------------------------- ### POST /api/world/structureStarts Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/world/gen/chunk/ChunkGenerator.html Sets the structure starts for a given chunk. This method determines which structures should start in the given chunk and creates their starting points. ```APIDOC ## POST /api/world/structureStarts ### Description Sets the structure starts for a given chunk. This method determines which structures should start in the given chunk and creates their starting points. ### Method POST ### Endpoint /api/world/structureStarts ### Parameters #### Request Body - **registryManager** (DynamicRegistryManager) - Required - The registry manager. - **placementCalculator** (StructurePlacementCalculator) - Required - The structure placement calculator. - **structureAccessor** (StructureAccessor) - Required - The structure accessor. - **chunk** (Chunk) - Required - The chunk. - **structureTemplateManager** (StructureTemplateManager) - Required - The structure template manager. - **dimension** (RegistryKey) - Required - The dimension. ### Request Example ```json { "registryManager": "...", "placementCalculator": "...", "structureAccessor": "...", "chunk": "...", "structureTemplateManager": "...", "dimension": "minecraft:overworld" } ``` ### Response #### Success Response (200) - **status** (string) - Indicates the success of the operation. #### Response Example ```json { "status": "Structure starts set successfully." } ``` ``` -------------------------------- ### Static Method: initialize Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/client/ClientBootstrap.html Initializes the client bootstrap process. ```APIDOC ## Static Method: initialize ### Description Performs the initialization logic for the client bootstrap. This method is static and does not require an instance of ClientBootstrap. ### Method STATIC ### Endpoint net.minecraft.client.ClientBootstrap.initialize() ### Response - **void** - Returns nothing. ``` -------------------------------- ### getExamples Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/command/argument/ScoreboardObjectiveArgumentType.html Retrieves a collection of example strings for the scoreboard objective argument. ```APIDOC ## getExamples ### Description Returns a collection of example strings that represent valid inputs for this argument type. ### Response - **Collection** - A collection of example strings. ``` -------------------------------- ### start API Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/entity/ai/goal/ActiveTargetGoal.html Information about starting a goal or action. ```APIDOC ## POST /api/goals/start ### Description Initiates the start of a goal or action. ### Method POST ### Endpoint /api/goals/start ### Response #### Success Response (200) Indicates that the goal has started successfully. #### Response Example ```json { "status": "started" } ``` ``` -------------------------------- ### get Method Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/command/DataCommandStorage.PersistentState.html Details of the get method in DataCommandStorage.PersistentState. ```APIDOC ## Method: DataCommandStorage.PersistentState.get ### Description Retrieves the `NbtCompound` associated with the given name from the persistent state. ### Signature `public NbtCompound get(String name)` ### Parameters - **name** (String) - The name of the NbtCompound to retrieve. ### Returns The `NbtCompound` associated with the name, or null if not found. ``` -------------------------------- ### init Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/client/gui/screen/CreditsScreen.html Initializes the screen. ```APIDOC ## init ### Description Called when a screen should be initialized. This method is called when this screen is opened or resized. ``` -------------------------------- ### executeStart Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/server/command/RaidCommand.html Starts a raid with a specified level. ```APIDOC ## POST /executeStart ### Description Initiates a raid with a given difficulty level. ### Method `private static int executeStart(ServerCommandSource source, int level)` ### Endpoint N/A (Private static method) ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example N/A ### Response - **int** (int) - Result of the command execution. #### Response Example ```json { "result": 1 } ``` ### Throws - `com.mojang.brigadier.exceptions.CommandSyntaxException` ### Mappings - **named**: `Lnet/minecraft/server/command/RaidCommand;executeStart(Lnet/minecraft/server/command/ServerCommandSource;I)I` - **intermediary**: `Lnet/minecraft/class_6329;method_36199(Lnet/minecraft/class_2168;I)I` - **official**: `Laow;b(Lek;I)I` ``` -------------------------------- ### Get Entity Variant Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/entity/passive/ChickenEntity.html Gets the current variant of the entity. ```APIDOC ## GET /getVariant ### Description Gets the current variant of the entity. ### Method GET ### Endpoint /getVariant ### Parameters None ### Request Example ```json {} ``` ### Response #### Success Response (200) - **RegistryEntry** (RegistryEntry) - The current variant of the entity. #### Response Example ```json { "variant": "..." } ``` ``` -------------------------------- ### getExamples Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/command/argument/GameProfileArgumentType.html Retrieves a collection of example strings for the GameProfile argument. ```APIDOC ## getExamples ### Description Retrieves a collection of example strings for the GameProfile argument. ### Method public ### Response - **Collection** - A collection of example strings. ``` -------------------------------- ### RegistryLookup Methods Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/registry/RegistryWrapper.WrapperLookup.html This section details the methods available in the RegistryLookup interface, including methods for streaming registry keys, streaming wrappers, getting optional entries, getting entries or throwing exceptions, getting dynamic operations, creating a lookup from wrappers, and getting the lifecycle. ```APIDOC ## GET /streamAllRegistryKeys ### Description Streams all available registry keys. ### Method GET ### Endpoint /streamAllRegistryKeys ### Parameters None ### Response #### Success Response (200) - **Stream>>** - A stream of registry keys. #### Response Example ```json { "example": "Stream of Registry Keys" } ``` ## GET /stream ### Description Streams all registry wrappers. ### Method GET ### Endpoint /stream ### Parameters None ### Response #### Success Response (200) - **Stream>** - A stream of registry wrappers. #### Response Example ```json { "example": "Stream of Registry Wrappers" } ``` ## GET /getOptional ### Description Retrieves an optional registry wrapper for a given registry key. ### Method GET ### Endpoint /getOptional ### Parameters #### Query Parameters - **registryRef** (RegistryKey>) - Required - The reference to the registry. ### Response #### Success Response (200) - **Optional>** - An optional containing the registry wrapper if found. #### Response Example ```json { "example": "Optional>" } ``` ## GET /getOrThrow ### Description Retrieves a registry wrapper for a given registry key, or throws an exception if not found. ### Method GET ### Endpoint /getOrThrow ### Parameters #### Query Parameters - **registryRef** (RegistryKey>) - Required - The reference to the registry. ### Response #### Success Response (200) - **RegistryWrapper.Impl** - The registry wrapper. #### Response Example ```json { "example": "RegistryWrapper.Impl" } ``` ## GET /getOps ### Description Retrieves the dynamic operations for a given delegate. ### Method GET ### Endpoint /getOps ### Parameters #### Query Parameters - **delegate** (com.mojang.serialization.DynamicOps) - Required - The dynamic operations delegate. ### Response #### Success Response (200) - **RegistryOps** - The registry operations. #### Response Example ```json { "example": "RegistryOps" } ``` ## POST /of ### Description Creates a RegistryLookup from a stream of registry wrappers. ### Method POST ### Endpoint /of ### Parameters #### Request Body - **wrappers** (Stream>) - Required - The stream of registry wrappers. ### Request Example ```json { "wrappers": "Stream>" } ``` ### Response #### Success Response (200) - **RegistryWrapper.WrapperLookup** - The created RegistryLookup. #### Response Example ```json { "example": "RegistryWrapper.WrapperLookup" } ``` ## GET /getLifecycle ### Description Gets the lifecycle of the registry lookup. ### Method GET ### Endpoint /getLifecycle ### Parameters None ### Response #### Success Response (200) - **com.mojang.serialization.Lifecycle** - The lifecycle. #### Response Example ```json { "example": "Lifecycle" } ``` ``` -------------------------------- ### Start Teleport Cooldown Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/block/entity/EndGatewayBlockEntity.html Starts the teleport cooldown for an End Gateway. ```java public static void startTeleportCooldown(World world, BlockPos pos, BlockState state, EndGatewayBlockEntity blockEntity) ``` -------------------------------- ### startServer Method Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/server/MinecraftServer.html Static method to initialize and start a Minecraft server instance. ```APIDOC ## startServer ### Description Initializes and starts the Minecraft server using the provided server factory. ### Method public static S ### Parameters - **serverFactory** (Function) - Required - A function that creates the server instance from a thread. ``` -------------------------------- ### StructureStart Methods Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/index-files/index-8.html Methods for structure starts. ```APIDOC ## GET hasChildren ### Description Checks if the structure start has any children. ### Method GET ### Endpoint /websites/maven_fabricmc_net_yarn-1_21_5_build_1/net/minecraft/structure/StructureStart ### Response #### Success Response (200) - **boolean** (boolean) - True if the structure has children, false otherwise. #### Response Example ```json { "hasChildren": true } ``` ``` -------------------------------- ### Swimming Start Events Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/index-files/index-15.html Methods called when an entity starts swimming. ```APIDOC ## onSwimmingStart() ### Description Called when the entity starts swimming. ### Method Method ### Endpoint N/A (Internal Game Event) ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Request Example None ### Response #### Success Response (200) None #### Response Example None ``` -------------------------------- ### Abstract Method: setupBuffer Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/client/gl/BufferManager.html Sets up a buffer with the specified vertex format. ```APIDOC ## ABSTRACT setupBuffer ### Description Configures the provided GlGpuBuffer with the specified VertexFormat. ### Parameters #### Method Parameters - **format** (VertexFormat) - Required - The vertex format to apply. - **into** (GlGpuBuffer) - Required - The buffer to be configured. ``` -------------------------------- ### Structure Start Constants Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/constant-values.html Constants related to structure start identifiers. ```APIDOC ## StructureStart Constants ### Description Constant defining an invalid identifier for a structure start. ### Method N/A ### Endpoint N/A ### Parameters N/A ### Request Example N/A ### Response #### Success Response (200) N/A #### Response Example N/A ``` -------------------------------- ### Method: getStart Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/entity/passive/FrogEntity.FrogSwimPathNodeMaker.html Retrieves the starting node for the pathfinding process. ```APIDOC ## Method: getStart ### Description Returns the starting PathNode for the current pathfinding operation. ### Response - **PathNode** - The starting node. ``` -------------------------------- ### get Method Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/server/SaveLoading.LoadContextSupplier.html Documentation for the 'get' method within the SaveLoading.LoadContextSupplier interface. ```APIDOC ## Method: get ### Description Retrieves a `SaveLoading.LoadContext` based on the provided context. ### Method Signature `SaveLoading.LoadContext get(SaveLoading.LoadContextSupplierContext context)` ### Mappings Namespace | Name | Mixin selector ---|---|--- named | `get` | `Lnet/minecraft/server/SaveLoading$LoadContextSupplier;get(Lnet/minecraft/server/SaveLoading$LoadContextSupplierContext;)Lnet/minecraft/server/SaveLoading$LoadContext;` intermediary | `get` | `Lnet/minecraft/class_7237$class_6907;get(Lnet/minecraft/class_7237$class_7660;)Lnet/minecraft/class_7237$class_7661;` official | `get` | `Lamp$f;get(Lamp$a;)Lamp$b;` ``` -------------------------------- ### get Method Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/item/equipment/EquipmentHolderResolver.html Details of the 'get' method within the EquipmentHolderResolver interface. ```APIDOC ## GET /api/equipmentholderresolver/get ### Description Retrieves a RegistryEntryList of EntityTypes. ### Method GET ### Endpoint /api/equipmentholderresolver/get ### Parameters #### Query Parameters - **registry** (RegistryEntryLookup) - Required - The registry lookup to use for retrieving entity types. ### Response #### Success Response (200) - **RegistryEntryList>** - A list of entity types. ### Response Example ```json { "example": "RegistryEntryList>" } ``` ### Mappings Namespace | Name | Mixin selector ---|---|--- named | `get` | `Lnet/minecraft/item/equipment/EquipmentHolderResolver;get(Lnet/minecraft/registry/RegistryEntryLookup;)Lnet/minecraft/registry/entry/RegistryEntryList;` intermediary | `get` | `Lnet/minecraft/class_10713;get(Lnet/minecraft/class_7871;)Lnet/minecraft/class_6885;` official | `get` | `Ldin;get(Ljh;)Ljk;` ``` -------------------------------- ### Method init Source: https://maven.fabricmc.net/docs/yarn-1.21.5%2Bbuild.1/net/minecraft/client/gui/screen/AccessibilityOnboardingScreen.html Initializes the screen components. ```APIDOC ## void init() ### Description Called when the screen should be initialized, setting up widgets and layout. ```