← Back to Index

CommandRequestPacket (77)

"slash" command execution, client to server.
Field Name Type Field Index Description
Command (Required) string 0 The command being executed.
Origin (Required) CommandOriginData 1 The origin of the command.

CommandOriginData

Field Name Type Field Index Description
Type (Required) string 0 The command origin type.
Enum Values:
Index Value
0 Player
1 DevConsole
2 Test
3 AutomationPlayer
UUID (Required) mce::UUID 1 The unique UUID that represents an instantiation of a command. Each time a command is run it should be given a UUID to represent that instance.

mce::UUID

Field Name Type Field Index Description
Most Significant Bits (Required) uint64 0
Least Significant Bits (Required) uint64 1
RequestId string 2 The request Id.
PlayerId int64 3 The player Id.
IsInternal (Required) boolean 2 Whether the command is internal or not.
Version (Required) string 3 The version of the command.
Enum Values:
Index Value
0 Invalid
1 Initial
2 TpRotationClamping
3 NewBedrockCmdSystem
4 ExecuteUsesVec3
5 CloneFixes
6 UpdateAquatic
7 EntitySelectorUsesVec3
8 ContainersDontDropItemsAnymore
9 FiltersObeyDimensions
10 ExecuteAndBlockCommandAndSelfSelectorFixes
11 InstantEffectsUseTicks
12 DontRegisterBrokenFunctionCommands
13 ClearSpawnPointCommand
14 CloneAndTeleportRotationFixes
15 TeleportDimensionFixes
16 CloneUpdateBlockAndTimeFixes
17 CloneIntersectFix
18 FunctionExecuteOrderAndChestSlotFix
19 NonTickingAreasNoLongerConsideredLoaded
20 SpreadplayersHazardAndResolvePlayerByNameFix
21 NewExecuteCommandSyntaxExperimentAndChestLootTableFixAndTeleportFacingVerticalUnclampedAndLocateBiomeAndFeatureMerged
22 WaterloggingAddedToStructureCommand
23 SelectorDistanceFilteredAndRelativeRotationFix
24 NewSummonCommandAddedRotationOptionsAndBubbleColumnCloneFixAndExecuteInDimensionTeleportFixAndNewExecuteRotationFix
25 NewExecuteCommandReleaseEnchantCommandLevelFixAndHasItemDataFixAndCommandDeferral
26 ExecuteIfScoreFixes
27 ReplaceItemAndLootReplaceBlockCommandsDoNotPlaceItemsIntoCauldronsFix
28 ChangesToCommandOriginRotation
29 RemoveAuxValueParameterFromBlockCommands
30 VolumeSelectorFixes
31 EnableSummonRotation
32 SummonCommandDefaultRotation
33 PositionalDimensionFiltering
34 CommandSelectorHasItemFilterNoLongerCallsSameItemFunction
35 AgentSweepingBlockTest
36 BlockStateEquals
37 CommandPositionFix
38 CommandSelectorHasItemFilterUsesDataAsDamageForSelectingDamageableItems
39 ExecuteDetectConditionSubcommandNotAllowNonLoadedBlocks
40 RemoveSuicideKeyword
41 CloneContainerBlockEntityRemovalFix
42 StopSoundMusicFix
43 SpreadPlayersStuckInGroundFixAndMaxHeightParameter
44 LocateStructureOutput
45 PostBlockFlattening
46 TestForBlockCommandDoesNotIgnoreBlockState
47 Count
48 Latest