### Configure IDE with ktlint and Git Hook Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/readme.md Apply ktlint style settings to your IDE and set up a Git pre-commit hook for automatic code formatting. Run these tasks to ensure code adheres to the project's style guide before committing. ```bash ./gradlew ktlintApplyToIdea addKtlintFormatGitPreCommitHook ``` -------------------------------- ### Format Code with ktlint Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/readme.md This Gradle task formats the project's code according to the ktlint style guide. It ensures code consistency across the project. ```bash ./gradlew format ``` -------------------------------- ### Build the Minecraft Development Plugin Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/readme.md Use this Gradle task to build the plugin. The output zip file will be located in the build/distributions directory. ```bash ./gradlew build ``` -------------------------------- ### net.minecraft.server.BiomeBase$a Methods Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/lexer/fixtures/spigot_mappings_at.txt This section details public methods available in the net.minecraft.server.BiomeBase$a class. ```APIDOC ## GET /api/minecraft-dev/biomebase/methods ### Description Retrieves a list of public methods for the net.minecraft.server.BiomeBase$a class. ### Method GET ### Endpoint /api/minecraft-dev/biomebase/methods ### Parameters None ### Response #### Success Response (200) - **methods** (array) - A list of method objects, each containing name and return type. ### Response Example ```json { "methods": [ { "name": "*()", "returnType": "void" } ] } ``` ``` -------------------------------- ### Run IntelliJ with the Plugin Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/readme.md Execute this Gradle task to test the plugin within an IntelliJ IDEA instance. This is useful for debugging and development. ```bash ./gradlew runIde ``` -------------------------------- ### net.minecraft.server.World Methods Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/lexer/fixtures/spigot_mappings_at.txt This section details public methods available in the net.minecraft.server.World class. ```APIDOC ## GET /api/minecraft-dev/world/methods ### Description Retrieves a list of public methods for the net.minecraft.server.World class. ### Method GET ### Endpoint /api/minecraft-dev/world/methods ### Parameters None ### Response #### Success Response (200) - **methods** (array) - A list of method objects, each containing name, parameters, and return type. ### Response Example ```json { "methods": [ { "name": "p", "parameters": [], "returnType": "void" }, { "name": "q", "parameters": [], "returnType": "void" }, { "name": "villages", "parameters": [], "returnType": "void" }, { "name": "n", "parameters": [], "returnType": "void" }, { "name": "o", "parameters": [], "returnType": "void" }, { "name": "E", "parameters": [{"type": "net.minecraft.server.BlockPosition"}], "returnType": "boolean" }, { "name": "isValidLocation", "parameters": [{"type": "net.minecraft.server.BlockPosition"}], "returnType": "boolean" }, { "name": "b", "parameters": [{"type": "net.minecraft.server.Entity"}], "returnType": "void" }, { "name": "c", "parameters": [{"type": "net.minecraft.server.Entity"}], "returnType": "void" } ] } ``` ``` -------------------------------- ### Generate Code for the Plugin Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/readme.md Run this Gradle task to generate code without performing a full build. This is necessary for working on code before the initial build and to avoid errors. ```bash ./gradlew generate ``` -------------------------------- ### buq Methods Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/lexer/fixtures/spigot_mappings_at.txt This section details public methods available in the 'buq' class. ```APIDOC ## GET /api/minecraft-dev/buq/methods ### Description Retrieves a list of public methods for the 'buq' class. ### Method GET ### Endpoint /api/minecraft-dev/buq/methods ### Parameters None ### Response #### Success Response (200) - **methods** (array) - A list of method objects, each containing name and parameters. ### Response Example ```json { "methods": [ { "name": "a", "parameters": [{"type": "net.minecraft.server.MinecraftKey"}], "returnType": "void" } ] } ``` ``` -------------------------------- ### Biome and World Generation Methods Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/lexer/fixtures/spigot_mappings_at.txt Details methods and fields related to different biomes and world generation structures. ```APIDOC ## Biome and World Generation ### Description Provides access to biome definitions and world generation components. ### Methods and Fields #### `public final BiomeBigHills*()` - **Description**: Represents the BiomeBigHills configuration. - **Method**: `public` - **Endpoint**: N/A (Class Signature) #### `public final BiomeIcePlains*()` - **Description**: Represents the BiomeIcePlains configuration. - **Method**: `public` - **Endpoint**: N/A (Class Signature) #### `public final BiomePlains*()` - **Description**: Represents the BiomePlains configuration. - **Method**: `public` - **Endpoint**: N/A (Class Signature) #### `public WorldGenStrongholdPieces$WorldGenStrongholdPiece` - **Description**: Represents a piece of a Stronghold in world generation. - **Method**: `public` - **Endpoint**: N/A (Class Signature) ``` -------------------------------- ### Combine Declaration and Assignment in Java Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/main/resources/inspectionDescriptions/CleanupJoinDeclarationAndAssignment.html Use this pattern to declare a variable and assign its initial value in one step. This is generally preferred for clarity and conciseness. ```java String s; s = "foo"; ``` ```java String s = "foo"; ``` -------------------------------- ### EntityExperienceOrb Class Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/lexer/fixtures/spigot_mappings_at.txt Information about the EntityExperienceOrb class and its 'value' field. ```APIDOC ## EntityExperienceOrb ### Description Represents the EntityExperienceOrb class. ### Fields - **value** (public) - Description not available ``` -------------------------------- ### buk Methods Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/lexer/fixtures/spigot_mappings_at.txt This section details public methods available in the 'buk' class. ```APIDOC ## GET /api/minecraft-dev/buk/methods ### Description Retrieves a list of public methods for the 'buk' class. ### Method GET ### Endpoint /api/minecraft-dev/buk/methods ### Parameters None ### Response #### Success Response (200) - **methods** (array) - A list of method objects, each containing name and parameters. ### Response Example ```json { "methods": [ { "name": "c", "parameters": [{"type": "int"}, {"type": "int"}, {"type": "int"}, {"type": "int"}], "returnType": "void" }, { "name": "c", "parameters": [{"type": "int"}], "returnType": "int" } ] } ``` ``` -------------------------------- ### net.minecraft.server.WorldGenVillage Methods Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/lexer/fixtures/spigot_mappings_at.txt This section details public methods available in the net.minecraft.server.WorldGenVillage class. ```APIDOC ## GET /api/minecraft-dev/worldgenvillage/methods ### Description Retrieves a list of public methods for the net.minecraft.server.WorldGenVillage class. ### Method GET ### Endpoint /api/minecraft-dev/worldgenvillage/methods ### Parameters None ### Response #### Success Response (200) - **methods** (array) - A list of method objects, each containing name and return type. ### Response Example ```json { "methods": [ { "name": "a", "returnType": "void" } ] } ``` ``` -------------------------------- ### MinecraftKey Class Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/lexer/fixtures/spigot_mappings_at.txt Information regarding the MinecraftKey class and its 'a' method. ```APIDOC ## MinecraftKey ### Description Represents the MinecraftKey class. ### Methods - **a**(Ljava/lang/String;) [Ljava/lang/String; - Description not available ``` -------------------------------- ### World Interaction Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/parser/fixtures/funcs_at.txt Methods for interacting with the Minecraft world. ```APIDOC ## POST /minecraft-dev/minecraftdev/world/process ### Description Processes an action within the Minecraft world. ### Method POST ### Endpoint /minecraft-dev/minecraftdev/world/process ### Parameters #### Request Body - **action** (string) - Required - The action to perform (e.g., `spawnEntity`, `placeBlock`). - **parameters** (object) - Optional - Parameters for the action. ### Request Example ```json { "action": "spawnEntity", "parameters": { "entityType": "zombie", "position": {"x": 10, "y": 64, "z": 10} } } ``` ### Response #### Success Response (200) - **status** (string) - The status of the world processing. #### Response Example ```json { "status": "Action completed successfully." } ``` ``` -------------------------------- ### UserListWhitelist getObjectKey (GameProfile) Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/parser/fixtures/funcs_at.txt Retrieves a string key for a UserListWhitelist entry based on a GameProfile. ```APIDOC ## public net.minecraft.server.management.UserListWhitelist.func_152681_a(com.mojang.authlib.GameProfile) ### Description Gets a unique string key for a whitelist entry using their GameProfile. ### Method POST ### Endpoint /api/userlist/whitelist/getObjectKey ### Parameters #### Request Body - **gameProfile** (GameProfile) - The game profile of the whitelisted player. ### Request Example ```json { "gameProfile": { "id": "a1b2c3d4-e5f6-7890-1234-567890abcdef", "name": "PlayerName" } } ``` ### Response #### Success Response (200) - **objectKey** (String) - The unique string key for the whitelist entry. #### Response Example ```json { "objectKey": "PlayerName" } ``` ``` -------------------------------- ### Block and Container Related Methods Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/lexer/fixtures/spigot_mappings_at.txt Details methods and fields related to blocks, containers, and recipes. ```APIDOC ## Block, Container, and Recipe Methods ### Description Provides access to methods and fields for managing blocks, containers, and crafting recipes. ### Methods and Fields #### `public ContainerAnvil.k()` - **Description**: Represents a method 'k' within ContainerAnvil. - **Method**: `public` - **Endpoint**: N/A (Method Signature) #### `public RecipesBanner$AddRecipe` - **Description**: Represents an AddRecipe class within RecipesBanner. - **Method**: `public` - **Endpoint**: N/A (Class Signature) #### `public RecipesBanner$DuplicateRecipe` - **Description**: Represents a DuplicateRecipe class within RecipesBanner. - **Method**: `public` - **Endpoint**: N/A (Class Signature) #### `public TileEntity.a(String, Class)` - **Description**: Registers a TileEntity with a given string identifier and class. - **Method**: `public` - **Endpoint**: N/A (Method Signature) #### `public ShapedRecipes.width` - **Description**: Represents the width of a ShapedRecipes crafting grid. - **Method**: `public+f` - **Endpoint**: N/A (Field) #### `public ShapedRecipes.items` - **Description**: Represents the items used in a ShapedRecipes crafting grid. - **Method**: `public+f` - **Endpoint**: N/A (Field) #### `public ShapedRecipes.height` - **Description**: Represents the height of a ShapedRecipes crafting grid. - **Method**: `public+f` - **Endpoint**: N/A (Field) #### `protected RegistryBlockID.a` - **Description**: Represents a field 'a' within RegistryBlockID. - **Method**: `protected` - **Endpoint**: N/A (Field) #### `protected RegistryBlockID.b` - **Description**: Represents a field 'b' within RegistryBlockID. - **Method**: `protected` - **Endpoint**: N/A (Field) #### `public BlockStateList$BlockData` - **Description**: Represents a BlockData object within BlockStateList. - **Method**: `public` - **Endpoint**: N/A (Class Signature) #### `protected BlockStateList$BlockData.c` - **Description**: Represents a field 'c' within BlockStateList$BlockData. - **Method**: `protected` - **Endpoint**: N/A (Field) ``` -------------------------------- ### cgb Methods Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/lexer/fixtures/spigot_mappings_at.txt This section details protected methods available in the 'cgb' class. ```APIDOC ## GET /api/minecraft-dev/cgb/methods ### Description Retrieves a list of protected methods for the 'cgb' class. ### Method GET ### Endpoint /api/minecraft-dev/cgb/methods ### Parameters None ### Response #### Success Response (200) - **methods** (array) - A list of method objects, each containing name and parameters. ### Response Example ```json { "methods": [ { "name": "p", "returnType": "void" }, { "name": "a", "returnType": "void" }, { "name": "r", "returnType": "void" }, { "name": "b", "returnType": "void" }, { "name": "s", "returnType": "void" }, { "name": "g", "returnType": "void" }, { "name": "h", "returnType": "void" }, { "name": "l", "returnType": "void" }, { "name": "m", "returnType": "void" }, { "name": "a", "parameters": [{"type": "net.minecraft.server.Item"}], "returnType": "java.util.List" }, { "name": "h", "parameters": [], "returnType": "void" }, { "name": "g", "parameters": [], "returnType": "void" }, { "name": "f", "parameters": [], "returnType": "void" } ] } ``` ``` -------------------------------- ### UserList API Endpoints Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/parser/fixtures/funcs_at.txt This section details the methods available for interacting with the UserList class, which manages general user data. ```APIDOC ## public net.minecraft.server.management.UserList func_152680_h() ### Description This method appears to be related to removing expired entries from the user list. ### Method GET ### Endpoint /api/userlist/removeExpired ### Parameters None ### Response #### Success Response (200) - V (void) - Indicates the operation completed. #### Response Example null ``` ```APIDOC ## public net.minecraft.server.management.UserList func_152681_a(com.mojang.authlib.GameProfile) ### Description Retrieves a string key associated with a given GameProfile. ### Method GET ### Endpoint /api/userlist/getObjectKey ### Parameters #### Query Parameters - **gameProfile** (com.mojang.authlib.GameProfile) - Required - The GameProfile to get the key for. ### Response #### Success Response (200) - String - The object key associated with the GameProfile. #### Response Example { "key": "player123" } ``` ```APIDOC ## public net.minecraft.server.management.UserList func_152681_a(java.lang.Object) ### Description Retrieves a string key associated with a given Object. ### Method GET ### Endpoint /api/userlist/getObjectKey ### Parameters #### Query Parameters - **object** (java.lang.Object) - Required - The object to get the key for. ### Response #### Success Response (200) - String - The object key associated with the object. #### Response Example { "key": "some_object_key" } ``` ```APIDOC ## public net.minecraft.server.management.UserList func_152688_e() ### Description Retrieves a map of all entries in the user list. ### Method GET ### Endpoint /api/userlist/entries ### Parameters None ### Response #### Success Response (200) - Map - A map containing user list entries. #### Response Example { "user1": { "uuid": "...", "name": "User1" }, "user2": { "uuid": "...", "name": "User2" } } ``` -------------------------------- ### net.minecraft.server.NBTNumber Methods Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/lexer/fixtures/spigot_mappings_at.txt This section details public methods available in the net.minecraft.server.NBTNumber class. ```APIDOC ## GET /api/minecraft-dev/nbtnumber/methods ### Description Retrieves a list of public methods for the net.minecraft.server.NBTNumber class. ### Method GET ### Endpoint /api/minecraft-dev/nbtnumber/methods ### Parameters None ### Response #### Success Response (200) - **methods** (array) - A list of method objects, each containing name and return type. ### Response Example ```json { "methods": [] } ``` ``` -------------------------------- ### Entity and Item Related Methods Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/lexer/fixtures/spigot_mappings_at.txt This section details methods related to entities and items, including entity targeting, inventory management, and item properties. ```APIDOC ## Entity and Item Methods ### Description Provides access to methods for managing entities and items within the Minecraft environment. ### Methods #### `public EntityHuman closeInventory()` - **Description**: Closes the inventory of an EntityHuman. - **Method**: `public` - **Endpoint**: N/A (Method Signature) #### `public ItemStack EntityHuman.a(EntityItem)` - **Description**: Handles the interaction between an EntityHuman and an EntityItem, returning an ItemStack. - **Method**: `public` - **Endpoint**: N/A (Method Signature) #### `public Item Item.a(boolean)` - **Description**: Sets whether an item can be used, based on a boolean flag. - **Method**: `public` - **Endpoint**: N/A (Method Signature) #### `public Item Item.setMaxDurability(int)` - **Description**: Sets the maximum durability for an item. - **Method**: `public` - **Endpoint**: N/A (Method Signature) #### `public EntityInsentient.targetSelector` - **Description**: Represents the target selector for an EntityInsentient. - **Method**: `public` - **Endpoint**: N/A (Field) #### `public EntityInsentient.goalSelector` - **Description**: Represents the goal selector for an EntityInsentient. - **Method**: `public` - **Endpoint**: N/A (Field) ``` -------------------------------- ### UserListWhitelist getObjectKey (Object) Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/parser/fixtures/funcs_at.txt Retrieves a string key for a UserListWhitelist entry based on a generic object. ```APIDOC ## public net.minecraft.server.management.UserListWhitelist.func_152681_a(java.lang.Object) ### Description Gets a unique string key for a whitelist entry using a generic object. ### Method POST ### Endpoint /api/userlist/whitelist/getObjectKey ### Parameters #### Request Body - **object** (Object) - The object representing the whitelisted player. ### Request Example ```json { "object": "PlayerNameOrUUID" } ``` ### Response #### Success Response (200) - **objectKey** (String) - The unique string key for the whitelist entry. #### Response Example ```json { "objectKey": "PlayerNameOrUUID" } ``` ``` -------------------------------- ### UserListOps getObjectKey (GameProfile) Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/parser/fixtures/funcs_at.txt Retrieves a string key for a UserListOps entry based on a GameProfile. ```APIDOC ## public net.minecraft.server.management.UserListOps.func_152681_a(com.mojang.authlib.GameProfile) ### Description Gets a unique string key for an operator entry using their GameProfile. ### Method POST ### Endpoint /api/userlist/ops/getObjectKey ### Parameters #### Request Body - **gameProfile** (GameProfile) - The game profile of the operator. ### Request Example ```json { "gameProfile": { "id": "a1b2c3d4-e5f6-7890-1234-567890abcdef", "name": "PlayerName" } } ``` ### Response #### Success Response (200) - **objectKey** (String) - The unique string key for the operator. #### Response Example ```json { "objectKey": "PlayerName" } ``` ``` -------------------------------- ### net.minecraft.server.DataConverterManager Methods Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/lexer/fixtures/spigot_mappings_at.txt This section details public methods available in the net.minecraft.server.DataConverterManager class. ```APIDOC ## GET /api/minecraft-dev/dataconvertermanager/methods ### Description Retrieves a list of public methods for the net.minecraft.server.DataConverterManager class. ### Method GET ### Endpoint /api/minecraft-dev/dataconvertermanager/methods ### Parameters None ### Response #### Success Response (200) - **methods** (array) - A list of method objects, each containing name and return type. ### Response Example ```json { "methods": [ { "name": "d", "returnType": "void" } ] } ``` ``` -------------------------------- ### PotionBrewer$PredicatedCombination Class Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/lexer/fixtures/spigot_mappings_at.txt Information about the PotionBrewer$PredicatedCombination class. ```APIDOC ## PotionBrewer$PredicatedCombination ### Description Represents the PotionBrewer$PredicatedCombination class. ### Class net.minecraft.server.PotionBrewer$PredicatedCombination ``` -------------------------------- ### WorldLoader Class Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/lexer/fixtures/spigot_mappings_at.txt Details about the WorldLoader class and its 'a' field. ```APIDOC ## WorldLoader ### Description Represents the WorldLoader class. ### Fields - **a** (public) - Description not available ``` -------------------------------- ### DamageSource Creation and Modification Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/parser/fixtures/funcs_at.txt Methods for creating and modifying DamageSource objects. ```APIDOC ## POST /minecraft-dev/minecraftdev/damageSource/create ### Description Creates a new DamageSource instance. ### Method POST ### Endpoint /minecraft-dev/minecraftdev/damageSource/create ### Parameters #### Request Body - **damageType** (string) - Required - The type of damage. ### Request Example ```json { "damageType": "magic" } ``` ### Response #### Success Response (200) - **damageSourceId** (string) - The ID of the newly created DamageSource. #### Response Example ```json { "damageSourceId": "ds_12345" } ``` ``` ```APIDOC ## PUT /minecraft-dev/minecraftdev/damageSource/{damageSourceId} ### Description Modifies an existing DamageSource. ### Method PUT ### Endpoint /minecraft-dev/minecraftdev/damageSource/{damageSourceId} ### Parameters #### Path Parameters - **damageSourceId** (string) - Required - The ID of the DamageSource to modify. #### Request Body - **property** (string) - Required - The property to set (e.g., `isAbsolute`, `bypassesArmor`, `fireDamage`, `allowedInCreativeMode`). - **value** (boolean/string) - Required - The value to set for the property. ### Request Example ```json { "property": "isAbsolute", "value": true } ``` ### Response #### Success Response (200) - **message** (string) - Confirmation message. #### Response Example ```json { "message": "DamageSource updated successfully." } ``` ``` -------------------------------- ### PlayerSelector Class Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/lexer/fixtures/spigot_mappings_at.txt Details regarding the PlayerSelector class and its 'c' method. ```APIDOC ## PlayerSelector ### Description Represents the PlayerSelector class. ### Methods - **c**(Ljava/lang/String;) Ljava/lang/String; - Description not available ``` -------------------------------- ### UserListOps getObjectKey (Object) Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/parser/fixtures/funcs_at.txt Retrieves a string key for a UserListOps entry based on a generic object. ```APIDOC ## public net.minecraft.server.management.UserListOps.func_152681_a(java.lang.Object) ### Description Gets a unique string key for an operator entry using a generic object. ### Method POST ### Endpoint /api/userlist/ops/getObjectKey ### Parameters #### Request Body - **object** (Object) - The object representing the operator. ### Request Example ```json { "object": "PlayerNameOrUUID" } ``` ### Response #### Success Response (200) - **objectKey** (String) - The unique string key for the operator. #### Response Example ```json { "objectKey": "PlayerNameOrUUID" } ``` ``` -------------------------------- ### Entity Manipulation Methods Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/lexer/fixtures/spigot_mappings_at.txt Details methods for manipulating entities, including their position and behavior. ```APIDOC ## Entity Manipulation ### Description Provides methods for interacting with and modifying entities. ### Methods #### `public bjr` - **Description**: Represents a class or method named 'bjr'. - **Method**: `public` - **Endpoint**: N/A #### `public bjr g()` - **Description**: Method 'g' returning a 'bjr' type. - **Method**: `public` - **Endpoint**: N/A (Method Signature) #### `public bjr h()` - **Description**: Method 'h' returning a 'bjr' type. - **Method**: `public` - **Endpoint**: N/A (Method Signature) #### `public bsb b(Entity)` - **Description**: Method 'b' taking an Entity and returning a 'bsb' type. - **Method**: `public` - **Endpoint**: N/A (Method Signature) #### `public bsb c(Entity)` - **Description**: Method 'c' taking an Entity and returning a 'bsb' type. - **Method**: `public` - **Endpoint**: N/A (Method Signature) #### `protected EntityHuman.d` - **Description**: Represents a protected field 'd' within EntityHuman. - **Method**: `protected` - **Endpoint**: N/A (Field) #### `protected EntityHuman.e` - **Description**: Represents a protected field 'e' within EntityHuman. - **Method**: `protected` - **Endpoint**: N/A (Field) ``` -------------------------------- ### DamageSource Utility Methods Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/parser/fixtures/funcs_at.txt Provides methods for manipulating DamageSource properties. ```APIDOC ## GET /minecraft-dev/minecraftdev/damageSource ### Description Retrieves information or performs an action related to DamageSource. ### Method GET ### Endpoint /minecraft-dev/minecraftdev/damageSource ### Parameters #### Query Parameters - **method** (string) - Required - The specific method to call on DamageSource (e.g., `getObjectKey`, `setDamageIsAbsolute`). ### Response #### Success Response (200) - **result** (object) - The result of the DamageSource operation. #### Response Example ```json { "result": "Success" } ``` ``` -------------------------------- ### EntityTrackerEntry Class Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/lexer/fixtures/spigot_mappings_at.txt Information about the EntityTrackerEntry class and its 'trackedPlayers' field. ```APIDOC ## EntityTrackerEntry ### Description Represents the EntityTrackerEntry class. ### Fields - **trackedPlayers** (public) - Description not available ``` -------------------------------- ### net.minecraft.server.BiomeDecorator Methods Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/lexer/fixtures/spigot_mappings_at.txt This section details public methods available in the net.minecraft.server.BiomeDecorator class. ```APIDOC ## GET /api/minecraft-dev/biomedecorator/methods ### Description Retrieves a list of public methods for the net.minecraft.server.BiomeDecorator class. ### Method GET ### Endpoint /api/minecraft-dev/biomedecorator/methods ### Parameters None ### Response #### Success Response (200) - **methods** (array) - A list of method objects, each containing name and return type. ### Response Example ```json { "methods": [ { "name": "*", "returnType": "void" } ] } ``` ``` -------------------------------- ### func_175584_a Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/parser/fixtures/funcs_at.txt A public method within the MinecraftServer class, likely related to server resource management. ```APIDOC ## POST /api/minecraft-server/func_175584_a ### Description A public method within the MinecraftServer class, likely related to server resource management. It takes a string and an ISaveHandler as arguments and returns void. ### Method POST ### Endpoint /api/minecraft-server/func_175584_a ### Parameters #### Path Parameters N/A #### Query Parameters N/A #### Request Body - **arg1** (string) - Required - Description for the first argument. - **arg2** (ISaveHandler) - Required - Description for the save handler argument. ### Request Example ```json { "arg1": "example_string", "arg2": { /* ISaveHandler object */ } } ``` ### Response #### Success Response (200) - **status** (string) - Indicates the success of the operation. #### Response Example ```json { "status": "success" } ``` ``` -------------------------------- ### Bib Class Methods Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/lexer/fixtures/spigot_mappings_at.txt Documentation for various methods within the 'bib' class. ```APIDOC ## bib Class ### Description Represents the 'bib' class and its associated methods. ### Methods - **Q** (public) - Description not available - **aE** (public) - Description not available - **a**(Lnet/minecraft/server/ItemStack; Lnet/minecraft/server/TileEntity;) Lnet/minecraft/server/ItemStack; - Description not available - **a**(I I) V - Description not available - **ar**() V - Description not available - **a**(Lcdr;) V - Description not available ``` -------------------------------- ### isAreaLoaded Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/parser/fixtures/funcs_at.txt Checks if a specific area is loaded. This method appears to be an internal helper or utility function. ```APIDOC ## isAreaLoaded ### Description Checks if a specific area is loaded. This method appears to be an internal helper or utility function. ### Method N/A (likely internal) ### Endpoint N/A ### Parameters #### Path Parameters N/A #### Query Parameters N/A #### Request Body N/A ### Request Example N/A ### Response #### Success Response (200) - **isLoaded** (boolean) - Indicates whether the area is loaded. #### Response Example ```json { "isLoaded": true } ``` ``` -------------------------------- ### UserListIPBans addressToString Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/parser/fixtures/funcs_at.txt Converts a SocketAddress to a string representation for IP ban lists. ```APIDOC ## public net.minecraft.server.management.UserListIPBans.func_152707_c(java.net.SocketAddress) ### Description Converts a SocketAddress to a string, typically used for IP ban entries. ### Method POST ### Endpoint /api/userlist/ipbans/addressToString ### Parameters #### Request Body - **address** (SocketAddress) - The socket address to convert. ### Request Example ```json { "address": "192.168.1.1:25565" } ``` ### Response #### Success Response (200) - **addressString** (String) - The string representation of the address. #### Response Example ```json { "addressString": "/192.168.1.1:25565" } ``` ``` -------------------------------- ### Direction and Enum Methods Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/lexer/fixtures/spigot_mappings_at.txt Details methods related to EnumDirection. ```APIDOC ## Direction and Enum Methods ### Description Provides access to methods related to EnumDirection. ### Methods #### `public EnumDirection.n` - **Description**: Represents a field 'n' within EnumDirection. - **Method**: `public` - **Endpoint**: N/A (Field) #### `public EnumDirection.o` - **Description**: Represents a field 'o' within EnumDirection. - **Method**: `public` - **Endpoint**: N/A (Field) ``` -------------------------------- ### UserListBans API Endpoints Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/parser/fixtures/funcs_at.txt This section details the methods available for interacting with the UserListBans class, which manages banned users. ```APIDOC ## public net.minecraft.server.management.UserListBans func_152681_a(com.mojang.authlib.GameProfile) ### Description Retrieves a string key associated with a given GameProfile for banned users. ### Method GET ### Endpoint /api/userlist/bans/getObjectKey ### Parameters #### Query Parameters - **gameProfile** (com.mojang.authlib.GameProfile) - Required - The GameProfile to get the key for. ### Response #### Success Response (200) - String - The object key associated with the GameProfile. #### Response Example { "key": "banned_player123" } ``` ```APIDOC ## public net.minecraft.server.management.UserListBans func_152681_a(java.lang.Object) ### Description Retrieves a string key associated with a given Object for banned users. ### Method GET ### Endpoint /api/userlist/bans/getObjectKey ### Parameters #### Query Parameters - **object** (java.lang.Object) - Required - The object to get the key for. ### Response #### Success Response (200) - String - The object key associated with the object. #### Response Example { "key": "banned_object_key" } ``` -------------------------------- ### Inline Local Variable Initializer Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/main/resources/inspectionDescriptions/CleanupUnnecessaryLocalVariable.html Use this refactoring when a local variable is declared and immediately used, and its initializer can be directly substituted. This simplifies the code and reduces boilerplate. ```java String s = "foo"; return s; ``` ```java return "foo"; ``` -------------------------------- ### ItemStack Class Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/lexer/fixtures/spigot_mappings_at.txt Details about the ItemStack class and its 'damage' field. ```APIDOC ## ItemStack ### Description Represents the ItemStack class. ### Fields - **damage** (default) - Description not available ``` -------------------------------- ### WorldGenStronghold Class Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/lexer/fixtures/spigot_mappings_at.txt Details regarding the WorldGenStronghold class and its 'a' field. ```APIDOC ## WorldGenStronghold ### Description Represents the WorldGenStronghold class. ### Fields - **a** (public) - Description not available ``` -------------------------------- ### UserListEntry getValue Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/parser/fixtures/funcs_at.txt Retrieves a value from the UserListEntry. ```APIDOC ## public net.minecraft.server.management.UserListEntry.func_152640_f() ### Description Retrieves a value associated with the UserListEntry. ### Method GET ### Endpoint /api/userlistentry/value ### Response #### Success Response (200) - **value** (Object) - The retrieved value. #### Response Example ```json { "value": "some_value" } ``` ``` -------------------------------- ### PathfinderGoalSelector Class Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/lexer/fixtures/spigot_mappings_at.txt Information about the PathfinderGoalSelector class and its 'b' field. ```APIDOC ## PathfinderGoalSelector ### Description Represents the PathfinderGoalSelector class. ### Fields - **b** (public) - Description not available ``` -------------------------------- ### EntityMinecartContainer Class Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/lexer/fixtures/spigot_mappings_at.txt Details regarding the EntityMinecartContainer class and its 'b' field. ```APIDOC ## EntityMinecartContainer ### Description Represents the EntityMinecartContainer class. ### Fields - **b** (public) - Description not available ``` -------------------------------- ### func_180613_a Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/parser/fixtures/funcs_at.txt A public method within MobSpawnerBaseLogic, likely responsible for spawning a new entity. ```APIDOC ## POST /api/mob-spawner/func_180613_a ### Description A public method within MobSpawnerBaseLogic, likely responsible for spawning a new entity. It takes an Entity and a boolean as arguments and returns an Entity. ### Method POST ### Endpoint /api/mob-spawner/func_180613_a ### Parameters #### Path Parameters N/A #### Query Parameters N/A #### Request Body - **entity** (Entity) - Required - The entity to be spawned. - **flag** (boolean) - Required - A flag indicating whether to perform additional actions during spawning. ### Request Example ```json { "entity": { /* Entity object */ }, "flag": true } ``` ### Response #### Success Response (200) - **spawnedEntity** (Entity) - The entity that was spawned. #### Response Example ```json { "spawnedEntity": { /* Spawned Entity object */ } } ``` ``` -------------------------------- ### BiomeForest Class Source: https://github.com/minecraft-dev/minecraftdev/blob/dev/src/test/resources/com/demonwav/mcdev/platform/mcp/at/lexer/fixtures/spigot_mappings_at.txt Details related to the BiomeForest class in Minecraft server development. ```APIDOC ## BiomeForest ### Description Represents the BiomeForest class. ### Class net.minecraft.server.BiomeForest ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.