Module types

Module types 

Source

Modules§

action
Nested message and enum types in Action.
action_result
Nested message and enum types in ActionResult.
event_envelope
Nested message and enum types in EventEnvelope.
event_result
Nested message and enum types in EventResult.
host_to_plugin
Nested message and enum types in HostToPlugin.
plugin_client
Generated client implementations.
plugin_server
Generated server implementations.
plugin_to_host
Nested message and enum types in PluginToHost.

Structs§

Action
ActionBatch
ActionResult
ActionStatus
AddEffectAction
Effects & Status
Address
BBox
BlockBreakEvent
BlockBreakMutation
BlockPos
BlockPosList
BlockState
ChatEvent
ChatMutation
ClearInventoryAction
CommandEvent
Player command execution event.
CommandSpec
Command specification announced by a plugin during handshake.
CustomItemDefinition
CustomItemDefinition defines a custom (non-vanilla) item that requires a resource pack and client-side registration
DamageSource
EntityRef
EventEnvelope
EventResult
EventSubscribe
ExecuteCommandAction
Commands
GiveItemAction
Inventory & Items
HealingSource
HostHello
HostShutdown
HostToPlugin
ItemStack
ItemStackList
Wrapper messages for repeated fields to allow detecting “not set” vs “empty”
KickAction
LiquidState
LogMessage
ParamSpec
Parameter specification for a command.
PlaySoundAction
TODO: it should probably be a world action
PlayerAttackEntityEvent
PlayerAttackEntityMutation
PlayerBlockPickEvent
PlayerBlockPlaceEvent
PlayerChangeWorldEvent
PlayerDeathEvent
PlayerDeathMutation
PlayerDiagnosticsEvent
PlayerExperienceGainEvent
PlayerExperienceGainMutation
PlayerFireExtinguishEvent
PlayerFoodLossEvent
PlayerFoodLossMutation
PlayerHealEvent
PlayerHealMutation
PlayerHeldSlotChangeEvent
PlayerHurtEvent
PlayerHurtMutation
PlayerItemConsumeEvent
PlayerItemDamageEvent
PlayerItemDropEvent
PlayerItemPickupEvent
PlayerItemPickupMutation
PlayerItemReleaseEvent
PlayerItemUseEvent
PlayerItemUseOnBlockEvent
PlayerItemUseOnEntityEvent
PlayerJoinEvent
PlayerJumpEvent
PlayerLecternPageTurnEvent
PlayerLecternPageTurnMutation
PlayerMoveEvent
PlayerPunchAirEvent
PlayerQuitEvent
PlayerRespawnEvent
PlayerRespawnMutation
PlayerSignEditEvent
PlayerSkinChangeEvent
PlayerStartBreakEvent
PlayerTeleportEvent
PlayerToggleSneakEvent
PlayerToggleSprintEvent
PlayerTransferEvent
PlayerTransferMutation
PluginClient
PluginHello
PluginToHost
RemoveEffectAction
Rotation
SendChatAction
SendPopupAction
SendTipAction
SendTitleAction
UI & Communication
ServerInformationRequest
ServerInformationResponse
SetExperienceAction
SetFoodAction
SetGameModeAction
SetHealthAction
Player State
SetHeldItemAction
SetVelocityAction
StringList
TeleportAction
Vec3
WorldAddParticleAction
WorldBlockBurnEvent
WorldCloseEvent
WorldCropTrampleEvent
WorldEntitiesResult
WorldEntitiesWithinResult
WorldEntityDespawnEvent
WorldEntitySpawnEvent
WorldExplosionEvent
WorldExplosionMutation
WorldFireSpreadEvent
WorldLeavesDecayEvent
WorldLiquidDecayEvent
WorldLiquidFlowEvent
WorldLiquidHardenEvent
WorldPlaySoundAction
WorldPlayersResult
WorldQueryEntitiesAction
WorldQueryEntitiesWithinAction
WorldQueryPlayersAction
WorldRef
WorldSetBlockAction
WorldSetDefaultGameModeAction
WorldSetDifficultyAction
WorldSetTickRangeAction
WorldSoundEvent

Enums§

ActionKind
Difficulty
EffectType
EffectType mirrors Dragonfly’s registered effect IDs for straightforward mapping. Keep numeric values aligned with dragonfly/server/entity/effect/register.go.
EventPayload
EventResultUpdate
EventType
GameMode
HostPayload
ItemCategory
Category for creative inventory
ParamType
Supported parameter types for commands.
ParticleType
PluginPayload
Sound
Sound is a curated list of common sounds that don’t require extra parameters. For sounds that require additional context (e.g., BlockPlace, Note), adapters may use sensible defaults or ignore extra semantics for now.