Package net.kyori.adventure.platform.modcommon
package net.kyori.adventure.platform.modcommon
Implementation of Adventure
on Minecraft using various mod loaders.
There are both server- and clientside entry points for Adventure,
in MinecraftServerAudiences
and MinecraftClientAudiences
-
ClassDescriptionAn interface applied to
CommandSourceStackto allow sendingComponents.An argument that takes JSON-format text.Supported text formats for registering components.An interface providing default implementations of HoverEventSource methods.Classes extending this interface will have theIdentifiedAtRuntime.identity()implementation provided at runtime via Mixin or otherwise.An argument that will be decoded as a Key.Common operations in both the client and server environments.Access the client's player as anAudience.Build aMinecraftClientAudiencesinstance.ProvidesAudienceinstances for a specific server instance.Builder forMinecraftServerAudienceswith custom attributes.Resource pack callbacks for the modded environment.