Common API
Generated from module common.
Source Roots
common/src/main/kotlin/top/katton/api
Pages
- KattonAPI - Execute [block] only once for a given [key] under the current script owner namespace.
- KattonClientApi - Gets the raw Minecraft client instance.
- KattonClientRenderApi - Screen-space render callback context.
- KattonComponentApi - Combines two nullable Components into a new Component.
- KattonBlockApi - Map-like access to blocks in a level by position.
- KattonBlockEntityApi - Map-like access to block entities in a level by position.
- KattonEntityApi - Get/Set the NBT data of an Entity.
- KattonItemApi - Extension property to get/set NBT data on an ItemStack.
- KattonLootTableApi - Get drops for a block as if it were broken with a tool.
- KattonMiscApi - Send a system message to a player.
- KattonNbtApi - Create a numeric Tag from a Number value.
- KattonPlayerApi - List-like access to all online players.
- KattonRecipeApi - Give recipe advancements to players.
- KattonScoreboardApi - Get a score value for a target in an objective.
- KattonServerApi - Access to all online players.
- KattonSlotProviderApi - Get an item from a container slot.
- KattonWorldApi - Map-like access to all server levels by ResourceKey.
- KattonEventsArg - Argument for server-level events.
- InjectApi - Handle for a registered injection, used for rollback operations.
- KattonBlockModificationApi - Configuration for modifying existing block properties.
- KattonItemModificationApi - Configuration for modifying existing item properties.
- Block - Registers a native Block with hot-reload support (String overload).
- Effect - Registers a native MobEffect with hot-reload support (String overload).
- Item - Registers a native Item with hot-reload support.