### acceptStructureStarts Source: https://mappings.dev/1.21.4/net/minecraft/world/level/StructureManager.html Accepts structure starts for a given structure, applying a consumer to each found start. ```APIDOC ## acceptStructureStarts ### Description Fills and accepts structure starts for a given structure, applying a consumer to each structure start found. ### Method `public void acceptStructureStarts(Structure structure, it.unimi.dsi.fastutil.longs.LongSet structureStartPositions, Consumer consumer)` ### Parameters * **structure** (Structure) - The structure to process. * **structureStartPositions** (it.unimi.dsi.fastutil.longs.LongSet) - A set of positions where structure starts are located. * **consumer** (Consumer) - A consumer to apply to each structure start. ``` -------------------------------- ### RuinedPortalStructure$Setup Source: https://mappings.dev/1.21.4/net/minecraft/world/level/levelgen/structure/structures/RuinedPortalStructure%24Setup.html Represents the setup configuration for a ruined portal structure, including placement, air pocket probability, mossiness, and other generation parameters. ```APIDOC ## RuinedPortalStructure$Setup ### Description Represents the configuration for generating a ruined portal, including its vertical placement, likelihood of air pockets, mossiness, and other boolean flags that affect its appearance and generation. ### Fields - **placement** (RuinedPortalPiece$VerticalPlacement) - Controls the vertical placement of the ruined portal. - **airPocketProbability** (float) - The probability of generating an air pocket within the portal structure. - **mossiness** (float) - Controls the amount of moss that appears on the structure. - **overgrown** (boolean) - If true, the portal will be overgrown with vegetation. - **vines** (boolean) - If true, vines will be generated on the structure. - **canBeCold** (boolean) - If true, the portal can generate in colder biomes. - **replaceWithBlackstone** (boolean) - If true, parts of the portal will be replaced with blackstone. - **weight** (float) - The generation weight of this ruined portal configuration. ### Constructor - **RuinedPortalStructure$Setup**(RuinedPortalPiece$VerticalPlacement airPocketProbability, float mossiness, float overgrown, boolean vines, boolean canBeCold, boolean replaceWithBlackstone, boolean weight, float arg7) - Constructs a new RuinedPortalStructure$Setup object with the specified parameters. ### Methods - **placement()**: RuinedPortalPiece$VerticalPlacement - Returns the vertical placement configuration. - **airPocketProbability()**: float - Returns the probability of generating an air pocket. - **mossiness()**: float - Returns the mossiness value. - **overgrown()**: boolean - Returns whether the portal is overgrown. - **vines()**: boolean - Returns whether vines are generated. - **canBeCold()**: boolean - Returns whether the portal can generate in cold biomes. - **replaceWithBlackstone()**: boolean - Returns whether blackstone replaces parts of the portal. - **weight()**: float - Returns the generation weight. ``` -------------------------------- ### setAllStarts Source: https://mappings.dev/1.21.4/net/minecraft/world/level/chunk/ImposterProtoChunk.html Sets all structure starts for this chunk. ```APIDOC ## public void setAllStarts(Map structureStarts) ### Description Sets all the structure starts for this chunk. ### Parameters * **structureStarts** (Map) - A map of structures to their corresponding starts. ``` -------------------------------- ### setupKeyboardCallbacks(long handle, org.lwjgl.glfw.GLFWKeyCallbackI keyCallback, org.lwjgl.glfw.GLFWCharModsCallbackI charModsCallback) Source: https://mappings.dev/1.21.4/com/mojang/blaze3d/platform/InputConstants.html Sets up the keyboard input callbacks for a given window handle. ```APIDOC ## setupKeyboardCallbacks(long handle, org.lwjgl.glfw.GLFWKeyCallbackI keyCallback, org.lwjgl.glfw.GLFWCharModsCallbackI charModsCallback) ### Description Sets up the keyboard input callbacks for a given window handle. ### Method static void ### Parameters #### Path Parameters - **handle** (long) - Description not available - **keyCallback** (org.lwjgl.glfw.GLFWKeyCallbackI) - Description not available - **charModsCallback** (org.lwjgl.glfw.GLFWCharModsCallbackI) - Description not available ``` -------------------------------- ### Vec3Argument Examples Source: https://mappings.dev/1.21.4/net/minecraft/commands/arguments/coordinates/Vec3Argument.html Method to get example usages of the argument. ```APIDOC ## Examples ### public Collection getExamples() Returns a collection of example strings for this argument. ``` -------------------------------- ### startPosition Source: https://mappings.dev/1.21.4/net/minecraft/advancements/critereon/DistanceTrigger%24TriggerInstance.html Gets the start position predicate associated with this TriggerInstance. ```APIDOC ## startPosition ### Description Returns the start position predicate for this `DistanceTrigger$TriggerInstance`. ### Method `public Optional startPosition()` ``` -------------------------------- ### run() Source: https://mappings.dev/1.21.4/com/mojang/realmsclient/util/task/DownloadTask.html Executes the download task. This method is the entry point for starting the download process. ```APIDOC ## run() ### Description Starts and manages the download process for the Realms world data. ### Method public void ``` -------------------------------- ### setupDefaultState Source: https://mappings.dev/1.21.4/com/mojang/blaze3d/systems/RenderSystem.html Sets up the default rendering state, likely for a specific viewport. ```APIDOC ## setupDefaultState(int x, int y, int width, int height) ### Description Configures the default rendering state, typically for a viewport. ### Method static void ### Parameters #### Path Parameters - **x** (int) - The x-coordinate of the viewport. - **y** (int) - The y-coordinate of the viewport. - **width** (int) - The width of the viewport. - **height** (int) - The height of the viewport. ``` -------------------------------- ### get Source: https://mappings.dev/1.21.4/net/minecraft/util/ZeroBitStorage.html Gets the value at the given index. ```APIDOC ## get ### Description Retrieves the value at the specified index. ### Signature public int get(int index) ### Parameters * **index** (int) - The index to get the value from. ``` -------------------------------- ### _init Source: https://mappings.dev/1.21.4/com/mojang/blaze3d/platform/GLX.html Initializes the OpenGL context with specified verbosity and synchronization settings. ```APIDOC ## _init ### Description Initializes the OpenGL context with specified verbosity and synchronization settings. ### Method `public static void _init(int debugVerbosity, boolean debugSync)` ### Parameters #### Path Parameters - **debugVerbosity** (int) - Required - The verbosity level for debugging. - **debugSync** (boolean) - Required - Whether to enable debug synchronization. ``` -------------------------------- ### Vec2Argument Examples Source: https://mappings.dev/1.21.4/net/minecraft/commands/arguments/coordinates/Vec2Argument.html Provides example usage of the Vec2Argument. ```APIDOC ## Vec2Argument Examples ### Description This method returns a collection of example strings that demonstrate how to use the `Vec2Argument` in commands. ### Method - `public Collection getExamples()` - Returns a collection of strings, each representing a valid example of a 2D coordinate argument. ``` -------------------------------- ### ResourceOrTagKeyArgument Examples Source: https://mappings.dev/1.21.4/net/minecraft/commands/arguments/ResourceOrTagKeyArgument.html Retrieves the example values for the ResourceOrTagKeyArgument. ```APIDOC ## ResourceOrTagKeyArgument Examples ### getExamples - `public Collection getExamples()` - Returns a collection of example strings for this argument type. ``` -------------------------------- ### setupForEntityInInventory Source: https://mappings.dev/1.21.4/com/mojang/blaze3d/platform/Lighting.html Sets up lighting conditions specifically for rendering an entity within an inventory context, often in a 3D view. ```APIDOC ## setupForEntityInInventory ### Description Configures lighting for rendering an entity in an inventory view. ### Method public static void ### Endpoint N/A (Static method) ### Parameters None ### Response None ``` -------------------------------- ### Item Examples Source: https://mappings.dev/1.21.4/net/minecraft/commands/arguments/item/ItemArgument.html Retrieves a collection of example item argument strings. ```APIDOC ## Item Examples ### Description Provides example strings that can be used as item arguments. ### Method #### `getExamples()` - **Description**: Returns a collection of example item argument strings. - **Returns**: `Collection` #### `getExamples()` - **Description**: Returns a collection of example item argument strings. - **Returns**: `Collection` #### `getExamples()` - **Description**: Returns a collection of example item argument strings. - **Returns**: `Collection` ``` -------------------------------- ### run() Source: https://mappings.dev/1.21.4/com/mojang/realmsclient/util/task/GetServerDetailsTask.html Executes the task to get server details and prepare for connection. ```APIDOC ## public void run() ### Description This method is the entry point for executing the server details retrieval and connection preparation task. It should be called to start the process. ``` -------------------------------- ### Camera Setup and Update Source: https://mappings.dev/1.21.4/net/minecraft/client/Camera.html Methods for initializing and updating the camera's state based on the game world and player focus. ```APIDOC ## setup ### Description Initializes the camera with the given world, entity, and view parameters. ### Method public void ### Parameters - **area** (BlockGetter) - The block view of the world. - **focusedEntity** (Entity) - The entity the camera is focused on. - **thirdPerson** (boolean) - Whether the camera is in third-person mode. - **inverseView** (boolean) - Whether the view is inverted. - **tickDelta** (float) - The partial tick time for interpolation. ## update ### Description Updates the camera's position, rotation, and other properties based on the current game state and tick delta. ### Method public void ### Parameters - **area** (BlockView) - The block view of the world. - **focusedEntity** (Entity) - The entity the camera is focused on. - **thirdPerson** (boolean) - Whether the camera is in third-person mode. - **inverseView** (boolean) - Whether the view is inverted. - **tickDelta** (float) - The partial tick time for interpolation. ``` -------------------------------- ### setupLevel Source: https://mappings.dev/1.21.4/com/mojang/blaze3d/platform/Lighting.html Sets up general lighting conditions for a game level. This is a default setup for most in-game rendering scenarios. ```APIDOC ## setupLevel ### Description Configures the default lighting setup for a game level. ### Method public static void ### Endpoint N/A (Static method) ### Parameters None ### Response None ``` -------------------------------- ### ResourceOrTagArgument Examples Source: https://mappings.dev/1.21.4/net/minecraft/commands/arguments/ResourceOrTagArgument.html Retrieves a collection of example strings for this argument type, used for command help and documentation. ```APIDOC ## public Collection getExamples() ### Description Gets the example usage strings for this argument. ### Method getExamples ### Return Value A collection of example strings. ``` -------------------------------- ### initBackendSystem Source: https://mappings.dev/1.21.4/com/mojang/blaze3d/systems/RenderSystem.html Initializes the backend rendering system. ```APIDOC ## initBackendSystem() ### Description Initializes the graphics backend system. ### Method static TimeSource$NanoTimeSource ### Returns - **TimeSource$NanoTimeSource** - An instance of NanoTimeSource, likely related to timing within the backend. ``` -------------------------------- ### Find Position Away From Start Source: https://mappings.dev/1.21.4/net/minecraft/world/entity/ai/util/LandRandomPos.html Finds a random position on land in a specific direction away from a starting point. ```APIDOC ## findFrom(PathAwareEntity entity, int horizontalRange, int verticalRange, Vec3d start) ### Description Calculates a random, reachable position on land that is generally away from the specified start vector. ### Method public static Vec3 ### Parameters - **entity** (PathAwareEntity) - The entity for which to find a position. - **horizontalRange** (int) - The maximum horizontal distance from the entity. - **verticalRange** (int) - The maximum vertical distance from the entity. - **start** (Vec3d) - The starting direction vector. ### Returns - **Vec3** - A random position on land, or null if no suitable position is found. ``` -------------------------------- ### RidingMinecartSoundInstance.canStartSilent() Source: https://mappings.dev/1.21.4/net/minecraft/client/resources/sounds/RidingMinecartSoundInstance.html Determines if the sound instance can start playing silently. This is useful for sounds that might fade in or have a delayed start. ```APIDOC ## public boolean canStartSilent() ### Description Checks if this sound instance is allowed to begin playing without an initial audible sound. This can be used for sounds that fade in or have a delayed start. ### Method GET ### Endpoint N/A (Method within a class) ### Returns - **boolean** - true if the sound can start silently, false otherwise. ``` -------------------------------- ### Constructor Source: https://mappings.dev/1.21.4/net/minecraft/client/sounds/SoundBufferLibrary.html Initializes a new instance of the SoundBufferLibrary with the specified resource factory. ```APIDOC ## public SoundBufferLibrary(ResourceProvider resourceFactory) ### Description Initializes a new instance of the SoundBufferLibrary. ### Parameters #### Path Parameters - **resourceFactory** (ResourceProvider) - Description not available ``` -------------------------------- ### StructureStart Management Source: https://mappings.dev/1.21.4/net/minecraft/world/level/chunk/StructureAccess.html Methods for retrieving and setting the starting point of a structure within the world. ```APIDOC ## StructureStart getStartForStructure(Structure structure) ### Description Retrieves the StructureStart for a given Structure. ### Method GET ### Endpoint /structureAccess/start/{structure} ### Parameters #### Path Parameters - **structure** (Structure) - Required - The structure to get the start for. ### Response #### Success Response (200) - **StructureStart** (StructureStart) - The starting point of the structure. ## void setStartForStructure(Structure structure, StructureStart start) ### Description Sets the StructureStart for a given Structure. ### Method PUT ### Endpoint /structureAccess/start/{structure} ### Parameters #### Path Parameters - **structure** (Structure) - Required - The structure to set the start for. #### Request Body - **start** (StructureStart) - Required - The StructureStart to set. ## StructureStart getStructureStart(Structure structure) ### Description Alias for getStartForStructure. ### Method GET ### Endpoint /structureAccess/structureStart/{structure} ### Parameters #### Path Parameters - **structure** (Structure) - Required - The structure to get the start for. ### Response #### Success Response (200) - **StructureStart** (StructureStart) - The starting point of the structure. ## void setStructureStart(Structure structure, StructureStart start) ### Description Alias for setStartForStructure. ### Method PUT ### Endpoint /structureAccess/structureStart/{structure} ### Parameters #### Path Parameters - **structure** (Structure) - Required - The structure to set the start for. #### Request Body - **start** (StructureStart) - Required - The StructureStart to set. ``` -------------------------------- ### QuickPlayLog$QuickPlayWorld Constructor Source: https://mappings.dev/1.21.4/net/minecraft/client/quickplay/QuickPlayLog%24QuickPlayWorld.html Details the constructor for creating a new QuickPlayLog$QuickPlayWorld instance. ```APIDOC ## QuickPlayLog$QuickPlayWorld Constructor ### Constructor Summary - **(QuickPlayLog$Type id, String name, String arg2)** - Constructs a new QuickPlayLog$QuickPlayWorld with the specified type, name, and an additional argument. ``` -------------------------------- ### Get Template Path Source: https://mappings.dev/1.21.4/net/minecraft/world/level/levelgen/structure/templatesystem/StructureTemplateManager.html Gets the file path for a structure template with a given identifier and extension. This is a public method for accessing template file locations. ```APIDOC ## GET /structureTemplateManager/getTemplatePath ### Description Gets the file path for a structure template with a given identifier and extension. This is a public method for accessing template file locations. ### Method GET ### Endpoint /structureTemplateManager/getTemplatePath ### Parameters #### Query Parameters - **id** (Identifier) - Required - The identifier of the template. - **extension** (String) - Required - The extension of the template file. ``` -------------------------------- ### ContainerComponentManipulator Methods Source: https://mappings.dev/1.21.4/net/minecraft/world/level/storage/loot/ContainerComponentManipulator.html This interface provides methods to get the component type, get the default value, set contents, stream contents, and modify items within a container component. ```APIDOC ## Interface net.minecraft.world.level.storage.loot.ContainerComponentManipulator This interface defines operations for manipulating container components. ### Methods - **DataComponentType getComponentType()**: Returns the type of the component. - **T getDefault()**: Returns the default value for the component. - **void apply(T component, Stream contents)**: Applies the given stream of item stacks to the component. - **Stream stream(T component)**: Returns a stream of item stacks contained within the component. - **void apply(ItemStack stack, T component, Stream contents)**: Applies the given stream of item stacks to the component associated with a specific item stack. - **void apply(ItemStack stack, Stream contents)**: Applies the given stream of item stacks to the component associated with a specific item stack. - **void apply(ItemStack stack, UnaryOperator contentsOperator)**: Modifies the items within the component associated with a specific item stack using a unary operator. ``` -------------------------------- ### setupForEntityInInventory(Quaternionf) Source: https://mappings.dev/1.21.4/com/mojang/blaze3d/platform/Lighting.html Sets up lighting conditions for rendering an entity within an inventory context, taking a quaternion for rotation. ```APIDOC ## setupForEntityInInventory(Quaternionf) ### Description Configures lighting for rendering an entity in an inventory view, applying a specific rotation. ### Method public static void ### Endpoint N/A (Static method) ### Parameters #### Path Parameters - **arg0** (org.joml.Quaternionf) - Required - The quaternion representing the rotation to apply. ### Response None ``` -------------------------------- ### build() Source: https://mappings.dev/1.21.4/net/minecraft/client/resources/model/EquipmentClientInfo%24Builder.html Builds and returns the EquipmentClientInfo object. ```APIDOC ## build() ### Description Builds and returns the EquipmentClientInfo object. ### Method public EquipmentClientInfo ``` -------------------------------- ### BlockEntity DataComponentInput Methods Source: https://mappings.dev/1.21.4/net/minecraft/world/level/block/entity/BlockEntity%24DataComponentInput.html This interface provides methods to retrieve data components associated with a block entity. You can get a component by its type or get a component with a default value if it's not present. ```APIDOC ## Interface BlockEntity$DataComponentInput ### Description Provides methods to access data components within a block entity. ### Methods #### get Retrieves a data component by its type. - **`get(DataComponentType type)`**: Returns the component of type `T` or null if not present. - **`get(ComponentType type)`**: An alias for the above method. #### getOrDefault Retrieves a data component by its type, returning a default value if the component is not present. - **`getOrDefault(DataComponentType type, T fallback)`**: Returns the component of type `T` or the `fallback` value if not present. - **`getOrDefault(ComponentType type, T fallback)`**: An alias for the above method. ``` -------------------------------- ### WeightedRandomList Utility Methods Source: https://mappings.dev/1.21.4/net/minecraft/util/random/WeightedRandomList.html Methods for interacting with a WeightedRandomList instance. This includes checking if the list is empty, getting a random entry based on a RandomSource, and unwrapping the list to get its underlying entries. ```APIDOC ## WeightedRandomList Instance Methods ### `isEmpty()` Returns `true` if the WeightedRandomList is empty, `false` otherwise. ### `getRandom(RandomSource random)` Returns an `Optional` containing a randomly selected entry from the list, based on the provided `RandomSource`. Returns an empty `Optional` if the list is empty. ### `unwrap()` Returns an unmodifiable `List` of all entries in the WeightedRandomList. ``` -------------------------------- ### QuickPlayLog$QuickPlayWorld Methods Source: https://mappings.dev/1.21.4/net/minecraft/client/quickplay/QuickPlayLog%24QuickPlayWorld.html Details the methods available for interacting with QuickPlayLog$QuickPlayWorld instances. ```APIDOC ## QuickPlayLog$QuickPlayWorld Methods ### Method Summary - **a()** (QuickPlayLog$Type) - Returns the type of the quick play world. - **b()** (String) - Returns the ID of the quick play world. - **c()** (String) - Returns the name of the quick play world. ``` -------------------------------- ### getType Source: https://mappings.dev/1.21.4/net/minecraft/world/level/storage/loot/providers/number/UniformGenerator.html Gets the LootNumberProviderType for this UniformGenerator. ```APIDOC ## LootNumberProviderType getType() ### Description Returns the type of this loot number provider. ### Returns - LootNumberProviderType - The type of the UniformGenerator. ``` -------------------------------- ### getAllStarts Source: https://mappings.dev/1.21.4/net/minecraft/world/level/chunk/ImposterProtoChunk.html Returns a map of all structure starts in this chunk. ```APIDOC ## public Map getAllStarts() ### Description Returns a map containing all structure starts within this chunk. ``` -------------------------------- ### create Source: https://mappings.dev/1.21.4/net/minecraft/client/gui/screens/inventory/BookViewScreen%24BookAccess.html Creates a BookViewScreen$BookAccess instance from an ItemStack. ```APIDOC ## create(ItemStack stack) ### Description Creates a new BookViewScreen$BookAccess object from the given ItemStack. ### Method - `public static BookViewScreen$BookAccess a(cwq arg0)` ### Parameters #### Path Parameters - **stack** (ItemStack) - Required - The ItemStack to create the book access from. ### Returns - **BookViewScreen$BookAccess** - A new instance of BookViewScreen$BookAccess. ``` -------------------------------- ### MapBanner.color Source: https://mappings.dev/1.21.4/net/minecraft/world/level/saveddata/maps/MapBanner.html Gets the DyeColor of this banner. ```APIDOC ## MapBanner.color ### Description Gets the DyeColor of this banner. ### Method public DyeColor ### Returns The DyeColor of the banner. ``` -------------------------------- ### MapBanner.pos Source: https://mappings.dev/1.21.4/net/minecraft/world/level/saveddata/maps/MapBanner.html Gets the BlockPos of this banner. ```APIDOC ## MapBanner.pos ### Description Gets the BlockPos of this banner. ### Method public BlockPos ### Returns The BlockPos where the banner is located. ``` -------------------------------- ### setMouseCallbacks(long handle, org.lwjgl.glfw.GLFWCursorPosCallbackI cursorPosCallback, org.lwjgl.glfw.GLFWMouseButtonCallbackI mouseButtonCallback, org.lwjgl.glfw.GLFWScrollCallbackI scrollCallback, org.lwjgl.glfw.GLFWDropCallbackI dropCallback) Source: https://mappings.dev/1.21.4/com/mojang/blaze3d/platform/InputConstants.html Sets up the mouse input callbacks for a given window handle. ```APIDOC ## setMouseCallbacks(long handle, org.lwjgl.glfw.GLFWCursorPosCallbackI cursorPosCallback, org.lwjgl.glfw.GLFWMouseButtonCallbackI mouseButtonCallback, org.lwjgl.glfw.GLFWScrollCallbackI scrollCallback, org.lwjgl.glfw.GLFWDropCallbackI dropCallback) ### Description Sets up the mouse input callbacks for a given window handle. ### Method static void ### Parameters #### Path Parameters - **handle** (long) - Description not available - **cursorPosCallback** (org.lwjgl.glfw.GLFWCursorPosCallbackI) - Description not available - **mouseButtonCallback** (org.lwjgl.glfw.GLFWMouseButtonCallbackI) - Description not available - **scrollCallback** (org.lwjgl.glfw.GLFWScrollCallbackI) - Description not available - **dropCallback** (org.lwjgl.glfw.GLFWDropCallbackI) - Description not available ``` -------------------------------- ### getLevel Source: https://mappings.dev/1.21.4/net/minecraft/world/level/material/EmptyFluid.html Gets the fluid level. ```APIDOC ## public int getLevel(FluidState arg0) ### Description Returns the level of the fluid. For an empty fluid, this is typically 0. ### Method `public int getLevel(FluidState arg0)` ### Parameters #### Path Parameters - **arg0** (FluidState) - Description not available. ``` -------------------------------- ### Lighting Setup Methods Source: https://mappings.dev/1.21.4/com/mojang/blaze3d/systems/RenderSystem.html Methods for configuring diffuse lighting for different rendering scenarios. ```APIDOC ## setupLevelDiffuseLighting(org.joml.Vector3f arg0, org.joml.Vector3f arg1) ### Description Sets up diffuse lighting for level rendering. ### Method public static void ### Parameters - **arg0** (org.joml.Vector3f) - First vector3f parameter. - **arg1** (org.joml.Vector3f) - Second vector3f parameter. ## setupGuiFlatDiffuseLighting(org.joml.Vector3f arg0, org.joml.Vector3f arg1) ### Description Sets up flat diffuse lighting for GUI rendering. ### Method public static void ### Parameters - **arg0** (org.joml.Vector3f) - First vector3f parameter. - **arg1** (org.joml.Vector3f) - Second vector3f parameter. ## setupGui3DDiffuseLighting(org.joml.Vector3f arg0, org.joml.Vector3f arg1) ### Description Sets up diffuse lighting for 3D GUI rendering. ### Method public static void ### Parameters - **arg0** (org.joml.Vector3f) - First vector3f parameter. - **arg1** (org.joml.Vector3f) - Second vector3f parameter. ``` -------------------------------- ### getAmount Source: https://mappings.dev/1.21.4/net/minecraft/world/level/material/EmptyFluid.html Gets the amount of fluid. ```APIDOC ## public int getAmount(FluidState arg0) ### Description Returns the amount of fluid present. For an empty fluid, this is typically 0. ### Method `public int getAmount(FluidState arg0)` ### Parameters #### Path Parameters - **arg0** (FluidState) - Description not available. ``` -------------------------------- ### Lighting Setup Source: https://mappings.dev/1.21.4/com/mojang/blaze3d/platform/GlStateManager.html Methods for setting up diffuse lighting for different scenarios. ```APIDOC ## setupLevelDiffuseLighting ### Description Sets up diffuse lighting for level rendering. ### Method public static void ### Endpoint setupLevelDiffuseLighting(org.joml.Vector3f arg0, org.joml.Vector3f arg1, org.joml.Matrix4f arg2) ## setupGuiFlatDiffuseLighting ### Description Sets up flat diffuse lighting for GUI rendering. ### Method public static void ### Endpoint setupGuiFlatDiffuseLighting(org.joml.Vector3f arg0, org.joml.Vector3f arg1) ## setupGui3DDiffuseLighting ### Description Sets up 3D diffuse lighting for GUI rendering. ### Method public static void ### Endpoint setupGui3DDiffuseLighting(org.joml.Vector3f arg0, org.joml.Vector3f arg1) ``` -------------------------------- ### Initialization and Commands Source: https://mappings.dev/1.21.4/net/minecraft/world/level/storage/ServerLevelData.html Methods related to world initialization and command enablement. ```APIDOC ## Initialization and Commands ### Description Methods related to world initialization and command enablement. ### Methods - **isInitialized()**: Checks if the world has been initialized. - **setInitialized(boolean initialized)**: Sets the initialization status of the world. - **isAllowCommands()**: Checks if commands are enabled in the world. - **areCommandsAllowed()**: Alias for isAllowCommands(). ``` -------------------------------- ### AppendLoot.getType Source: https://mappings.dev/1.21.4/net/minecraft/world/level/levelgen/structure/templatesystem/rule/blockentity/AppendLoot.html Gets the type of this RuleBlockEntityModifier. ```APIDOC ## public RuleBlockEntityModifierType getType() ### Description Returns the type of this RuleBlockEntityModifier. ### Method public RuleBlockEntityModifierType ### Returns A RuleBlockEntityModifierType instance. ``` -------------------------------- ### generator Source: https://mappings.dev/1.21.4/net/minecraft/world/level/levelgen/placement/PlacementContext.html Gets the ChunkGenerator for this context. ```APIDOC ## generator ### Description Gets the ChunkGenerator for this context. ### Method public ChunkGenerator generator() ### Returns (ChunkGenerator) The chunk generator. ``` -------------------------------- ### BreezeDebugPayload$BreezeInfo Constructors Source: https://mappings.dev/1.21.4/net/minecraft/network/protocol/common/custom/BreezeDebugPayload%24BreezeInfo.html Provides details on how to instantiate BreezeDebugPayload$BreezeInfo. ```APIDOC ## Constructor Summary ### `public BreezeDebugPayload$BreezeInfo(FriendlyByteBuf buf)` Constructs a new `BreezeDebugPayload$BreezeInfo` instance from a `FriendlyByteBuf`. ### `public BreezeDebugPayload$BreezeInfo(UUID id, int attackTarget, Integer jumpTarget, BlockPos arg3)` Constructs a new `BreezeDebugPayload$BreezeInfo` instance with the specified ID, attack target, jump target, and block position. ``` -------------------------------- ### trySetStructureStart Source: https://mappings.dev/1.21.4/net/minecraft/world/level/chunk/ChunkGenerator.html Attempts to set the starting point for a structure within the chunk. This is crucial for placing structures like villages or strongholds. ```APIDOC ## trySetStructureStart StructureSet$WeightedEntry, StructureAccessor, DynamicRegistryManager, NoiseConfig, StructureTemplateManager, long, Chunk, ChunkPos, ChunkSectionPos, RegistryKey ### Description Attempts to place the starting block of a structure within the chunk. This method is used by the world generation system to ensure structures are correctly initiated. ### Parameters - **weightedEntry** (StructureSet$WeightedEntry) - The weighted entry of the structure to place. - **structureAccessor** (StructureAccessor) - Access to existing structures in the world. - **dynamicRegistryManager** (DynamicRegistryManager) - Manages dynamic registries. - **noiseConfig** (NoiseConfig) - Configuration for noise-based generation. - **structureManager** (StructureTemplateManager) - Manager for structure templates. - **seed** (long) - The world seed. - **chunk** (Chunk) - The chunk to place the structure in. - **pos** (ChunkPos) - The position of the chunk. - **sectionPos** (ChunkSectionPos) - The section position within the chunk. - **dimension** (RegistryKey) - The dimension the chunk belongs to. ``` -------------------------------- ### getLevel Source: https://mappings.dev/1.21.4/net/minecraft/world/level/levelgen/placement/PlacementContext.html Gets the current WorldGenLevel. ```APIDOC ## getLevel ### Description Gets the current WorldGenLevel. ### Method public WorldGenLevel getLevel() ### Returns (WorldGenLevel) The current world generation level. ``` -------------------------------- ### configuration Source: https://mappings.dev/1.21.4/net/minecraft/world/level/chunk/PalettedContainer%24Data.html Gets the configuration of the PalettedContainer.Data. ```APIDOC ## configuration ### Description Retrieves the configuration object associated with this PalettedContainer.Data. ### Method public PalettedContainer$Configuration ### Returns (PalettedContainer$Configuration) The configuration. ``` -------------------------------- ### setupNetherLevel Source: https://mappings.dev/1.21.4/com/mojang/blaze3d/platform/Lighting.html Sets up lighting conditions specifically for the Nether environment. This is typically called when entering or rendering the Nether. ```APIDOC ## setupNetherLevel ### Description Sets up lighting conditions optimized for the Nether dimension. ### Method public static void ### Endpoint N/A (Static method) ### Parameters None ### Response None ``` -------------------------------- ### getType Source: https://mappings.dev/1.21.4/net/minecraft/util/valueproviders/WeightedListInt.html Gets the type of this IntProvider. ```APIDOC ## public IntProviderType getType() ### Description Gets the type of this IntProvider. ### Method GET ### Endpoint /weightedlistint/type ``` -------------------------------- ### Constructor Source: https://mappings.dev/1.21.4/net/minecraft/server/packs/resources/SimplePreparableReloadListener.html Initializes a new instance of the SimplePreparableReloadListener class. ```APIDOC ## public () Constructor ### Description Initializes a new instance of the SimplePreparableReloadListener class. ### Parameters None ``` -------------------------------- ### prepare Source: https://mappings.dev/1.21.4/net/minecraft/client/sounds/SoundManager.html Prepares the SoundManager with the given resource manager and profiler. ```APIDOC ## prepare(ResourceManager arg0, Profiler arg1) ### Description Prepares the SoundManager with the given resource manager and profiler. ### Method prepare ### Parameters #### Path Parameters - None #### Query Parameters - None #### Request Body - None ### Request Example None ### Response #### Success Response (200) - None #### Response Example None ``` -------------------------------- ### ClampedInt.getType Source: https://mappings.dev/1.21.4/net/minecraft/util/valueproviders/ClampedInt.html Gets the IntProviderType of this ClampedInt. ```APIDOC ## public IntProviderType getType() ### Description Returns the type of this IntProvider, which is ClampedInt. ### Returns - IntProviderType - The type of the IntProvider. ``` -------------------------------- ### run() Method Source: https://mappings.dev/1.21.4/com/mojang/realmsclient/util/task/SwitchSlotTask.html Executes the task to switch the slot. ```APIDOC ## run() ### Description Executes the task to switch the slot. ### Method public void ``` -------------------------------- ### getMonitor Source: https://mappings.dev/1.21.4/com/mojang/blaze3d/platform/Monitor.html Gets the handle of the monitor. ```APIDOC ## getMonitor() ### Description Retrieves the unique identifier (handle) for this monitor. ### Method public long getMonitor() ``` -------------------------------- ### Initialization and Tesselator Methods Source: https://mappings.dev/1.21.4/com/mojang/blaze3d/systems/RenderSystem.html Methods for managing rendering initialization and accessing the Tesselator. ```APIDOC ## beginInitialization() ### Description Begins the initialization process for rendering. ### Method public static void ## finishInitialization() ### Description Finishes the initialization process for rendering. ### Method public static void ## renderThreadTesselator() ### Description Returns the Tesselator instance for the render thread. ### Method public static Tesselator ### Return Value Tesselator - The Tesselator instance. ``` -------------------------------- ### getDefault Source: https://mappings.dev/1.21.4/net/minecraft/world/level/storage/loot/ContainerComponentManipulators%243.html Gets the default instance of ChargedProjectiles. ```APIDOC ## getDefault ### Description Returns the default, empty instance of ChargedProjectiles. ### Method public ### Signature public ChargedProjectiles getDefault() ### Returns - ChargedProjectiles - An empty ChargedProjectiles instance. ``` -------------------------------- ### open Source: https://mappings.dev/1.21.4/net/minecraft/server/packs/repository/PackDetector.html Opens a resource pack from a given path, handling any found symlinks. ```APIDOC ## open ### Description Opens a resource pack from the specified path. This method is designed to handle resource packs that might contain symbolic links, providing a safe way to access their contents. ### Method public ### Parameters #### Path Parameters * **path** (Path) - Required - The path to the resource pack to be opened. * **foundSymlinks** (List) - Required - A list of symlink entries found within the resource pack. ``` -------------------------------- ### MapBanner.getDecoration Source: https://mappings.dev/1.21.4/net/minecraft/world/level/saveddata/maps/MapBanner.html Gets the MapDecorationType associated with this banner. ```APIDOC ## MapBanner.getDecoration ### Description Gets the MapDecorationType associated with this banner. ### Method public Holder ### Returns A Holder containing the MapDecorationType. ``` -------------------------------- ### prepare Source: https://mappings.dev/1.21.4/net/minecraft/client/sounds/SoundManager.html Prepares the SoundManager with the given resource manager and profiler filler. ```APIDOC ## prepare(ResourceManager arg0, ProfilerFiller arg1) ### Description Prepares the SoundManager with the given resource manager and profiler filler. ### Method prepare ### Parameters #### Path Parameters - None #### Query Parameters - None #### Request Body - None ### Request Example None ### Response #### Success Response (200) - None #### Response Example None ``` -------------------------------- ### getHeight Source: https://mappings.dev/1.21.4/net/minecraft/world/level/material/EmptyFluid.html Gets the fluid's height. ```APIDOC ## public float getHeight(FluidState arg0) ### Description Returns the height of the fluid. For an empty fluid, this is typically 0. ### Method `public float getHeight(FluidState arg0)` ### Parameters #### Path Parameters - **arg0** (FluidState) - Description not available. ``` -------------------------------- ### Constructor Source: https://mappings.dev/1.21.4/net/minecraft/world/level/levelgen/structure/structures/OceanMonumentPieces%24FitDoubleXRoom.html Constructs a new OceanMonumentPieces$FitDoubleXRoom instance. ```APIDOC ## Constructor ### Description Initializes a new instance of the `OceanMonumentPieces$FitDoubleXRoom` class. ### Method `OceanMonumentPieces$FitDoubleXRoom()` ### Parameters None ``` -------------------------------- ### getOwnHeight Source: https://mappings.dev/1.21.4/net/minecraft/world/level/material/EmptyFluid.html Gets the fluid's own height. ```APIDOC ## public float getOwnHeight(FluidState arg0) ### Description Returns the height of the fluid itself, independent of its container. For an empty fluid, this is typically 0. ### Method `public float getOwnHeight(FluidState arg0)` ### Parameters #### Path Parameters - **arg0** (FluidState) - Description not available. ``` -------------------------------- ### Utility Methods Source: https://mappings.dev/1.21.4/net/minecraft/client/gui/layouts/LayoutSettings.html Utility methods for copying layout settings and creating default or new instances. ```APIDOC ## Utility Methods ### Description Utility methods for copying layout settings and creating default or new instances. ### Methods - **copy()**: Creates a copy of the current layout settings. - **defaults()**: Returns a LayoutSettings object with default values. - **create()**: Creates a new LayoutSettings object. ``` -------------------------------- ### getBlastResistance Source: https://mappings.dev/1.21.4/net/minecraft/world/level/material/EmptyFluid.html Gets the blast resistance of the fluid. ```APIDOC ## protected float getBlastResistance() ### Description Returns the resistance of this fluid to blasts. For an empty fluid, this value is typically 0. ### Method `protected float getBlastResistance()` ``` -------------------------------- ### getExplosionResistance Source: https://mappings.dev/1.21.4/net/minecraft/world/level/material/EmptyFluid.html Gets the explosion resistance of the fluid. ```APIDOC ## protected float getExplosionResistance() ### Description Returns the resistance of this fluid to explosions. For an empty fluid, this value is typically 0. ### Method `protected float getExplosionResistance()` ``` -------------------------------- ### setupFor3DItems Source: https://mappings.dev/1.21.4/com/mojang/blaze3d/platform/Lighting.html Enables GUI depth lighting, suitable for rendering 3D items or UI elements where depth perception is important. ```APIDOC ## setupFor3DItems ### Description Enables depth lighting, suitable for rendering 3D items or UI elements. ### Method public static void ### Endpoint N/A (Static method) ### Parameters None ### Response None ``` -------------------------------- ### getTickRate Source: https://mappings.dev/1.21.4/net/minecraft/world/level/material/EmptyFluid.html Gets the rate at which the fluid ticks. ```APIDOC ## public int getTickRate(WorldView arg0) ### Description Returns the rate at which this fluid's update logic is executed. For an empty fluid, this is typically a very large number or effectively infinite. ### Method `public int getTickRate(WorldView arg0)` ### Parameters #### Path Parameters - **arg0** (WorldView) - Description not available. ``` -------------------------------- ### ServerboundPlayerCommandPacket Constructors Source: https://mappings.dev/1.21.4/net/minecraft/network/protocol/game/ServerboundPlayerCommandPacket.html Provides information on how to create instances of ServerboundPlayerCommandPacket. ```APIDOC ## ServerboundPlayerCommandPacket Constructors ### public ServerboundPlayerCommandPacket(Entity entity, ServerboundPlayerCommandPacket$Action mode) Creates a new packet with the specified entity and action. ### public ServerboundPlayerCommandPacket(Entity entity, ServerboundPlayerCommandPacket$Action mode, int mountJumpHeight) Creates a new packet with the specified entity, action, and mount jump height. ``` -------------------------------- ### getTickDelay Source: https://mappings.dev/1.21.4/net/minecraft/world/level/material/EmptyFluid.html Gets the delay before the fluid ticks. ```APIDOC ## public int getTickDelay(LevelReader arg0) ### Description Returns the delay in ticks before this fluid's update logic is executed. For an empty fluid, this is typically a very large number or effectively infinite. ### Method `public int getTickDelay(LevelReader arg0)` ### Parameters #### Path Parameters - **arg0** (LevelReader) - Description not available. ``` -------------------------------- ### config Source: https://mappings.dev/1.21.4/net/minecraft/world/level/levelgen/carver/ConfiguredWorldCarver.html Gets the configuration for this world carver. ```APIDOC ## config() ### Description Retrieves the configuration object (`CarverConfiguration`) for this world carver. ### Returns - (WC) - The configuration object. ``` -------------------------------- ### setupBufferState Method Source: https://mappings.dev/1.21.4/com/mojang/blaze3d/vertex/VertexFormatElement%24Usage%24SetupState.html The setupBufferState method is used to configure the state of a buffer, likely for rendering purposes. It takes several integer and long arguments to define the buffer's properties. ```APIDOC ## setupBufferState ### Description Configures the state of a buffer with specified component count, type, stride, offset, and UV index. ### Method void ### Parameters #### Path Parameters None #### Query Parameters None #### Request Body None ### Parameters - **componentCount** (int) - The number of components in the vertex data. - **componentType** (int) - The data type of the components. - **stride** (int) - The stride (in bytes) between consecutive vertices. - **offset** (long) - The offset (in bytes) from the start of the buffer to the vertex data. - **uvIndex** (int) - The index for UV coordinates. ``` -------------------------------- ### worldCarver Source: https://mappings.dev/1.21.4/net/minecraft/world/level/levelgen/carver/ConfiguredWorldCarver.html Gets the underlying WorldCarver instance. ```APIDOC ## worldCarver() ### Description Retrieves the `WorldCarver` instance associated with this configured carver. ### Returns - (WorldCarver) - The `WorldCarver` instance. ``` -------------------------------- ### SystemToast Constructors Source: https://mappings.dev/1.21.4/net/minecraft/client/gui/components/toasts/SystemToast.html Provides information on how to create instances of SystemToast. ```APIDOC ## SystemToast Constructors ### Public Constructor ```java public SystemToast(SystemToast$SystemToastId type, Component title, Component description) ``` ### Private Constructor ```java private SystemToast(SystemToast$SystemToastId type, Component title, List lines, int width) ``` ``` -------------------------------- ### size Source: https://mappings.dev/1.21.4/net/minecraft/world/level/entity/EntitySection.html Gets the number of entities in the section. ```APIDOC ## size ### Description Returns the total number of entities currently held within this section. ### Method `public int` ### Returns The count of entities in the section. ``` -------------------------------- ### make Source: https://mappings.dev/1.21.4/com/mojang/blaze3d/platform/GLX.html Creates an object and initializes it using a consumer. This is a generic utility for object creation and configuration. ```APIDOC ## make ### Description Creates an object and initializes it using a consumer. ### Method `public static T make(T object, Consumer initializer)` ### Parameters #### Path Parameters - **object** (T) - Required - The object to initialize. - **initializer** (Consumer) - Required - The consumer function to configure the object. ``` -------------------------------- ### startOpen(Player arg0) Source: https://mappings.dev/1.21.4/net/minecraft/world/CompoundContainer.html Called when a player starts opening the container. ```APIDOC ## startOpen(Player arg0) ### Description Executes logic when a player begins interacting with this container. ### Method `public void startOpen(Player arg0)` ### Parameters * **arg0** (Player) - The player who is opening the container. ``` -------------------------------- ### palette Source: https://mappings.dev/1.21.4/net/minecraft/world/level/chunk/PalettedContainer%24Data.html Gets the Palette used by the PalettedContainer.Data. ```APIDOC ## palette ### Description Retrieves the Palette object used for mapping indices to values. ### Method public Palette ### Returns (Palette) The palette. ``` -------------------------------- ### storage Source: https://mappings.dev/1.21.4/net/minecraft/world/level/chunk/PalettedContainer%24Data.html Gets the BitStorage used by the PalettedContainer.Data. ```APIDOC ## storage ### Description Retrieves the BitStorage object used for storing palette indices. ### Method public BitStorage ### Returns (BitStorage) The bit storage. ``` -------------------------------- ### initializeWorld(long worldId, String name, String motd) Source: https://mappings.dev/1.21.4/com/mojang/realmsclient/client/RealmsClient.html Initializes a world with the given parameters. ```APIDOC ## initializeWorld(long worldId, String name, String motd) ### Description Initializes or updates a Realm world with a new name and message of the day (motd). ### Method `public void` ### Endpoint N/A (Method call) ### Parameters * **worldId** (long) - The unique identifier of the world to initialize. * **name** (String) - The new name for the world. * **motd** (String) - The new message of the day for the world. ### Request Example N/A ### Response None ``` -------------------------------- ### SignableCommand Constructors and Methods Source: https://mappings.dev/1.21.4/net/minecraft/network/chat/SignableCommand.html Provides details on how to create and interact with SignableCommand objects, including static factory methods and argument retrieval. ```APIDOC ## SignableCommand Record ### Description Represents a command that can be signed, likely for authentication or integrity purposes within the network chat system. ### Constructors #### `public SignableCommand(List> arguments)` Creates a new SignableCommand with the specified list of arguments. ### Static Methods #### `public static boolean hasSignableArguments(com.mojang.brigadier.ParseResults parseResults)` Checks if the given parse results contain any signable arguments. #### `public static SignableCommand of(com.mojang.brigadier.ParseResults parseResults)` Creates a SignableCommand from the given parse results. #### `private static List> collectArguments(String argumentName, com.mojang.brigadier.context.CommandContextBuilder builder)` Collects signable arguments from a command context builder. ### Methods #### `public SignableCommand$Argument getArgument(String name)` Retrieves a specific argument by its name. #### `public List> arguments()` Returns the list of all signable arguments associated with this command. ``` -------------------------------- ### SuspiciousStewEffects getStewEffects() Source: https://mappings.dev/1.21.4/net/minecraft/world/level/block/SuspiciousEffectHolder.html Gets the stew effects. ```APIDOC ## SuspiciousStewEffects getStewEffects() ### Description Gets the stew effects. ### Method `getStewEffects()` ### Returns - `SuspiciousStewEffects`: The stew effects. ```