ViaUtilities

Minecraft Network Protocol

WIP: Often incomplete/wrong, do not use as actual reference

Packet Type Indices

HANDSHAKE

SERVERBOUND

ID Packet
0 ClientIntentionPacket

STATUS

CLIENTBOUND

ID Packet
0 ClientboundStatusResponsePacket
1 ClientboundPongResponsePacket

SERVERBOUND

ID Packet
0 ServerboundStatusRequestPacket
1 ServerboundPingRequestPacket

LOGIN

CLIENTBOUND

ID Packet
0 ClientboundLoginDisconnectPacket
1 ClientboundHelloPacket
2 ClientboundLoginFinishedPacket
3 ClientboundLoginCompressionPacket
4 ClientboundCustomQueryPacket
5 ClientboundCookieRequestPacket

SERVERBOUND

ID Packet
0 ServerboundHelloPacket
1 ServerboundKeyPacket
2 ServerboundCustomQueryAnswerPacket
3 ServerboundLoginAcknowledgedPacket
4 ServerboundCookieResponsePacket

CONFIGURATION

CLIENTBOUND

ID Packet
0 ClientboundCookieRequestPacket
1 ClientboundCustomPayloadPacket
2 ClientboundDisconnectPacket
3 ClientboundFinishConfigurationPacket
4 ClientboundKeepAlivePacket
5 ClientboundPingPacket
6 ClientboundResetChatPacket
7 ClientboundRegistryDataPacket
8 ClientboundResourcePackPopPacket
9 ClientboundResourcePackPushPacket
10 ClientboundStoreCookiePacket
11 ClientboundTransferPacket
12 ClientboundUpdateEnabledFeaturesPacket
13 ClientboundUpdateTagsPacket
14 ClientboundSelectKnownPacks
15 ClientboundCustomReportDetailsPacket
16 ClientboundServerLinksPacket

SERVERBOUND

ID Packet
0 ServerboundClientInformationPacket
1 ServerboundCookieResponsePacket
2 ServerboundCustomPayloadPacket
3 ServerboundFinishConfigurationPacket
4 ServerboundKeepAlivePacket
5 ServerboundPongPacket
6 ServerboundResourcePackPacket
7 ServerboundSelectKnownPacks

GAME

CLIENTBOUND

ID Packet
0 ClientboundBundlePacket
1 ClientboundAddEntityPacket
2 ClientboundAddExperienceOrbPacket
3 ClientboundAnimatePacket
4 ClientboundAwardStatsPacket
5 ClientboundBlockChangedAckPacket
6 ClientboundBlockDestructionPacket
7 ClientboundBlockEntityDataPacket
8 ClientboundBlockEventPacket
9 ClientboundBlockUpdatePacket
10 ClientboundBossEventPacket
11 ClientboundChangeDifficultyPacket
12 ClientboundChunkBatchFinishedPacket
13 ClientboundChunkBatchStartPacket
14 ClientboundChunksBiomesPacket
15 ClientboundClearTitlesPacket
16 ClientboundCommandSuggestionsPacket
17 ClientboundCommandsPacket
18 ClientboundContainerClosePacket
19 ClientboundContainerSetContentPacket
20 ClientboundContainerSetDataPacket
21 ClientboundContainerSetSlotPacket
22 ClientboundCookieRequestPacket
23 ClientboundCooldownPacket
24 ClientboundCustomChatCompletionsPacket
25 ClientboundCustomPayloadPacket
26 ClientboundDamageEventPacket
27 ClientboundDebugSamplePacket
28 ClientboundDeleteChatPacket
29 ClientboundDisconnectPacket
30 ClientboundDisguisedChatPacket
31 ClientboundEntityEventPacket
32 ClientboundEntityPositionSyncPacket
33 ClientboundExplodePacket
34 ClientboundForgetLevelChunkPacket
35 ClientboundGameEventPacket
36 ClientboundHorseScreenOpenPacket
37 ClientboundHurtAnimationPacket
38 ClientboundInitializeBorderPacket
39 ClientboundKeepAlivePacket
40 ClientboundLevelChunkWithLightPacket
41 ClientboundLevelEventPacket
42 ClientboundLevelParticlesPacket
43 ClientboundLightUpdatePacket
44 ClientboundLoginPacket
45 ClientboundMapItemDataPacket
46 ClientboundMerchantOffersPacket
47 ClientboundMoveEntityPacket.Pos
48 ClientboundMoveEntityPacket.PosRot
49 ClientboundMoveMinecartPacket
50 ClientboundMoveEntityPacket.Rot
51 ClientboundMoveVehiclePacket
52 ClientboundOpenBookPacket
53 ClientboundOpenScreenPacket
54 ClientboundOpenSignEditorPacket
55 ClientboundPingPacket
56 ClientboundPongResponsePacket
57 ClientboundPlaceGhostRecipePacket
58 ClientboundPlayerAbilitiesPacket
59 ClientboundPlayerChatPacket
60 ClientboundPlayerCombatEndPacket
61 ClientboundPlayerCombatEnterPacket
62 ClientboundPlayerCombatKillPacket
63 ClientboundPlayerInfoRemovePacket
64 ClientboundPlayerInfoUpdatePacket
65 ClientboundPlayerLookAtPacket
66 ClientboundPlayerPositionPacket
67 ClientboundPlayerRotationPacket
68 ClientboundRecipeBookAddPacket
69 ClientboundRecipeBookRemovePacket
70 ClientboundRecipeBookSettingsPacket
71 ClientboundRemoveEntitiesPacket
72 ClientboundRemoveMobEffectPacket
73 ClientboundResetScorePacket
74 ClientboundResourcePackPopPacket
75 ClientboundResourcePackPushPacket
76 ClientboundRespawnPacket
77 ClientboundRotateHeadPacket
78 ClientboundSectionBlocksUpdatePacket
79 ClientboundSelectAdvancementsTabPacket
80 ClientboundServerDataPacket
81 ClientboundSetActionBarTextPacket
82 ClientboundSetBorderCenterPacket
83 ClientboundSetBorderLerpSizePacket
84 ClientboundSetBorderSizePacket
85 ClientboundSetBorderWarningDelayPacket
86 ClientboundSetBorderWarningDistancePacket
87 ClientboundSetCameraPacket
88 ClientboundSetChunkCacheCenterPacket
89 ClientboundSetChunkCacheRadiusPacket
90 ClientboundSetCursorItemPacket
91 ClientboundSetDefaultSpawnPositionPacket
92 ClientboundSetDisplayObjectivePacket
93 ClientboundSetEntityDataPacket
94 ClientboundSetEntityLinkPacket
95 ClientboundSetEntityMotionPacket
96 ClientboundSetEquipmentPacket
97 ClientboundSetExperiencePacket
98 ClientboundSetHealthPacket
99 ClientboundSetHeldSlotPacket
100 ClientboundSetObjectivePacket
101 ClientboundSetPassengersPacket
102 ClientboundSetPlayerInventoryPacket
103 ClientboundSetPlayerTeamPacket
104 ClientboundSetScorePacket
105 ClientboundSetSimulationDistancePacket
106 ClientboundSetSubtitleTextPacket
107 ClientboundSetTimePacket
108 ClientboundSetTitleTextPacket
109 ClientboundSetTitlesAnimationPacket
110 ClientboundSoundEntityPacket
111 ClientboundSoundPacket
112 ClientboundStartConfigurationPacket
113 ClientboundStopSoundPacket
114 ClientboundStoreCookiePacket
115 ClientboundSystemChatPacket
116 ClientboundTabListPacket
117 ClientboundTagQueryPacket
118 ClientboundTakeItemEntityPacket
119 ClientboundTeleportEntityPacket
120 ClientboundTickingStatePacket
121 ClientboundTickingStepPacket
122 ClientboundTransferPacket
123 ClientboundUpdateAdvancementsPacket
124 ClientboundUpdateAttributesPacket
125 ClientboundUpdateMobEffectPacket
126 ClientboundUpdateRecipesPacket
127 ClientboundUpdateTagsPacket
128 ClientboundProjectilePowerPacket
129 ClientboundCustomReportDetailsPacket
130 ClientboundServerLinksPacket

SERVERBOUND

ID Packet
0 ServerboundAcceptTeleportationPacket
1 ServerboundBlockEntityTagQueryPacket
2 ServerboundSelectBundleItemPacket
3 ServerboundChangeDifficultyPacket
4 ServerboundChatAckPacket
5 ServerboundChatCommandPacket
6 ServerboundChatCommandSignedPacket
7 ServerboundChatPacket
8 ServerboundChatSessionUpdatePacket
9 ServerboundChunkBatchReceivedPacket
10 ServerboundClientCommandPacket
11 ServerboundClientTickEndPacket
12 ServerboundClientInformationPacket
13 ServerboundCommandSuggestionPacket
14 ServerboundConfigurationAcknowledgedPacket
15 ServerboundContainerButtonClickPacket
16 ServerboundContainerClickPacket
17 ServerboundContainerClosePacket
18 ServerboundContainerSlotStateChangedPacket
19 ServerboundCookieResponsePacket
20 ServerboundCustomPayloadPacket
21 ServerboundDebugSampleSubscriptionPacket
22 ServerboundEditBookPacket
23 ServerboundEntityTagQueryPacket
24 ServerboundInteractPacket
25 ServerboundJigsawGeneratePacket
26 ServerboundKeepAlivePacket
27 ServerboundLockDifficultyPacket
28 ServerboundMovePlayerPacket.Pos
29 ServerboundMovePlayerPacket.PosRot
30 ServerboundMovePlayerPacket.Rot
31 ServerboundMovePlayerPacket.StatusOnly
32 ServerboundMoveVehiclePacket
33 ServerboundPaddleBoatPacket
34 ServerboundPickItemPacket
35 ServerboundPingRequestPacket
36 ServerboundPlaceRecipePacket
37 ServerboundPlayerAbilitiesPacket
38 ServerboundPlayerActionPacket
39 ServerboundPlayerCommandPacket
40 ServerboundPlayerInputPacket
41 ServerboundPongPacket
42 ServerboundRecipeBookChangeSettingsPacket
43 ServerboundRecipeBookSeenRecipePacket
44 ServerboundRenameItemPacket
45 ServerboundResourcePackPacket
46 ServerboundSeenAdvancementsPacket
47 ServerboundSelectTradePacket
48 ServerboundSetBeaconPacket
49 ServerboundSetCarriedItemPacket
50 ServerboundSetCommandBlockPacket
51 ServerboundSetCommandMinecartPacket
52 ServerboundSetCreativeModeSlotPacket
53 ServerboundSetJigsawBlockPacket
54 ServerboundSetStructureBlockPacket
55 ServerboundSignUpdatePacket
56 ServerboundSwingPacket
57 ServerboundTeleportToEntityPacket
58 ServerboundUseItemOnPacket
59 ServerboundUseItemPacket

SERVERBOUND HANDSHAKE Protocol

ClientIntentionPacket

Field Name Type
protocolVersion VarInt
hostName String
port Short
intention VarInt

CLIENTBOUND STATUS Protocol

ClientboundStatusResponsePacket

Field Name Type
status Json

ClientboundPongResponsePacket

Field Name Type
time Long

SERVERBOUND STATUS Protocol

ServerboundStatusRequestPacket

Empty.

ServerboundPingRequestPacket

Empty.

CLIENTBOUND LOGIN Protocol

ClientboundLoginDisconnectPacket

Field Name Type
reason Json

ClientboundHelloPacket

Field Name Type
serverId String
publicKey ByteArray
challenge ByteArray
shouldAuthenticate Boolean

ClientboundLoginFinishedPacket

Field Name Type
gameProfile GameProfile

ClientboundLoginCompressionPacket

Field Name Type
compressionThreshold VarInt

ClientboundCustomQueryPacket

Field Name Type
transactionId VarInt
payload ResourceLocation
payload  

ClientboundCookieRequestPacket

Field Name Type
key ResourceLocation

SERVERBOUND LOGIN Protocol

ServerboundHelloPacket

Field Name Type
name String
profileId UUID

ServerboundKeyPacket

Field Name Type
keybytes ByteArray
encryptedChallenge ByteArray

ServerboundCustomQueryAnswerPacket

Field Name Type
transactionId VarInt
payload Nullable

ServerboundLoginAcknowledgedPacket

Empty.

ServerboundCookieResponsePacket

Field Name Type
key ResourceLocation
PAYLOAD_STREAM_CODEC Nullable

CLIENTBOUND CONFIGURATION Protocol

ClientboundCookieRequestPacket

Field Name Type
key ResourceLocation

ClientboundCustomPayloadPacket

Field Name Type
newArrayList WorldGenAttemptDebugPayload
newArrayList WorldGenAttemptDebugPayload
lambda$static$2 ClientboundCustomPayloadPacket
of BrandPayload

ClientboundDisconnectPacket

Field Name Type
reason Component

ClientboundFinishConfigurationPacket

Empty.

ClientboundKeepAlivePacket

Field Name Type
id Long

ClientboundPingPacket

Field Name Type
id Int

ClientboundResetChatPacket

Empty.

ClientboundRegistryDataPacket

Field Name Type
createRegistryKey ResourceLocation
createRegistryKey ResourceLocation
registry ClientboundRegistryDataPacket
entries List<RegistrySynchronization$PackedRegistryEntry>

ClientboundResourcePackPopPacket

Field Name Type
STREAM_CODEC Optional

ClientboundResourcePackPushPacket

Field Name Type
id UUID
url String
hash String
required Boolean
prompt Component

ClientboundStoreCookiePacket

Field Name Type
key ResourceLocation

ClientboundTransferPacket

Field Name Type
host String
port VarInt

ClientboundUpdateEnabledFeaturesPacket

Field Name Type
features Collection

ClientboundUpdateTagsPacket

Field Name Type
tags Map

ClientboundSelectKnownPacks

Field Name Type
knownPacks List<KnownPack>

ClientboundCustomReportDetailsPacket

Field Name Type
details ClientboundCustomReportDetailsPacket

ClientboundServerLinksPacket

Field Name Type
links ServerLinks

SERVERBOUND CONFIGURATION Protocol

ServerboundClientInformationPacket

Field Name Type
information  

ServerboundCookieResponsePacket

Field Name Type
key ResourceLocation
PAYLOAD_STREAM_CODEC Nullable

ServerboundCustomPayloadPacket

Empty.

ServerboundFinishConfigurationPacket

Empty.

ServerboundKeepAlivePacket

Field Name Type
id Long

ServerboundPongPacket

Field Name Type
id Int

ServerboundResourcePackPacket

Field Name Type
id UUID
action Enum (ServerboundResourcePackPacket$Action)

ServerboundSelectKnownPacks

Field Name Type
knownPacks List<KnownPack>

CLIENTBOUND GAME Protocol

ClientboundBundlePacket

Empty.

ClientboundAddEntityPacket

Field Name Type
id VarInt
uuid UUID
type Registry Entry (ENTITY_TYPE)
x Double
y Double
z Double
xRot Byte
yRot Byte
yHeadRot Byte
data VarInt
xa Short
ya Short
za Short

ClientboundAddExperienceOrbPacket

Field Name Type
id VarInt
x Double
y Double
z Double
value Short

ClientboundAnimatePacket

Field Name Type
id VarInt
action Byte

ClientboundAwardStatsPacket

Field Name Type
stats ClientboundAwardStatsPacket

ClientboundBlockChangedAckPacket

Field Name Type
sequence VarInt

ClientboundBlockDestructionPacket

Field Name Type
id VarInt
pos BlockPos
progress Byte

ClientboundBlockEntityDataPacket

Field Name Type
pos BlockPos
type Registry Entry (BLOCK_ENTITY_TYPE)
tag CompoundTag

ClientboundBlockEventPacket

Field Name Type
pos BlockPos
b0 Byte
b1 Byte
block Registry Entry (BLOCK)

ClientboundBlockUpdatePacket

Field Name Type
pos BlockPos
blockState Idmapper

ClientboundBossEventPacket

Field Name Type
id UUID
operation Enum (ClientboundBossEventPacket$Operation)
operation  

ClientboundChangeDifficultyPacket

Field Name Type
difficulty Byte
locked Boolean

ClientboundChunkBatchFinishedPacket

Field Name Type
batchSize VarInt

ClientboundChunkBatchStartPacket

Empty.

ClientboundChunksBiomesPacket

Field Name Type
chunkBiomeData Collection

ClientboundClearTitlesPacket

Field Name Type
resetTimes Boolean

ClientboundCommandSuggestionsPacket

Field Name Type
id VarInt
start VarInt
length VarInt
suggestions List<ClientboundCommandSuggestionsPacket$Entry>

ClientboundCommandsPacket

Field Name Type
entries Collection
rootIndex VarInt

ClientboundContainerClosePacket

Field Name Type
containerId ContainerId

ClientboundContainerSetContentPacket

Field Name Type
containerId ContainerId
stateId VarInt

ClientboundContainerSetDataPacket

Field Name Type
containerId ContainerId
id Short
value Short

ClientboundContainerSetSlotPacket

Field Name Type
containerId ContainerId
stateId VarInt
slot Short

ClientboundCookieRequestPacket

Field Name Type
key ResourceLocation

ClientboundCooldownPacket

Field Name Type
cooldownGroup ResourceLocation
duration VarInt

ClientboundCustomChatCompletionsPacket

Field Name Type
action Enum (ClientboundCustomChatCompletionsPacket$Action)
entries Collection

ClientboundCustomPayloadPacket

Field Name Type
newArrayList WorldGenAttemptDebugPayload
newArrayList WorldGenAttemptDebugPayload
lambda$static$2 ClientboundCustomPayloadPacket
of BrandPayload

ClientboundDamageEventPacket

Field Name Type
entityId VarInt
sourceCauseId OptionalEntityId
sourceDirectId OptionalEntityId
sourcePosition Optional

ClientboundDebugSamplePacket

Field Name Type
sample LongArray
debugSampleType Enum (RemoteDebugSampleType)

ClientboundDeleteChatPacket

Field Name Type
messageSignature  

ClientboundDisconnectPacket

Field Name Type
reason Component

ClientboundDisguisedChatPacket

Field Name Type
message Component
chatType ChatType$Bound

ClientboundEntityEventPacket

Field Name Type
entityId Int
eventId Byte

ClientboundEntityPositionSyncPacket

Field Name Type
id VarInt
values PositionMoveRotation
onGround Boolean

ClientboundExplodePacket

Field Name Type
center Vec3
playerKnockback Vec3
explosionParticle ParticleTypes
explosionSound SoundEvent

ClientboundForgetLevelChunkPacket

Field Name Type
pos ChunkPos

ClientboundGameEventPacket

Field Name Type
id Byte
param Float

ClientboundHorseScreenOpenPacket

Field Name Type
containerId ContainerId
inventoryColumns VarInt
entityId Int

ClientboundHurtAnimationPacket

Field Name Type
id VarInt
yaw Float

ClientboundInitializeBorderPacket

Field Name Type
newCenterX Double
newCenterZ Double
oldSize Double
newSize Double
lerpTime VarLong
newAbsoluteMaxSize VarInt
warningBlocks VarInt
warningTime VarInt

ClientboundKeepAlivePacket

Field Name Type
id Long

ClientboundLevelChunkWithLightPacket

Field Name Type
x Int
z Int
chunkData  
lightData  

ClientboundLevelEventPacket

Field Name Type
type Int
pos BlockPos
data Int
globalEvent Boolean

ClientboundLevelParticlesPacket

Field Name Type
overrideLimiter Boolean
x Double
y Double
z Double
xDist Float
yDist Float
zDist Float
maxSpeed Float
count Int

ClientboundLightUpdatePacket

Field Name Type
x VarInt
z VarInt
lightData  

ClientboundLoginPacket

Field Name Type
playerId Int
hardcore Boolean
levels Collection
maxPlayers VarInt
chunkRadius VarInt
simulationDistance VarInt
reducedDebugInfo Boolean
showDeathScreen Boolean
doLimitedCrafting Boolean
commonPlayerSpawnInfo  
enforcesSecureChat Boolean

ClientboundMapItemDataPacket

Field Name Type
mapId MapId
scale Byte
locked Boolean
decorations Optional<List<MapDecoration>>
colorPatch MapItemSavedData$MapPatch

ClientboundMerchantOffersPacket

Field Name Type
containerId ContainerId
villagerLevel VarInt
villagerXp VarInt
showProgress Boolean
canRestock Boolean

ClientboundMoveEntityPacket.Pos

Field Name Type
entityId VarInt
xa Short
ya Short
za Short
onGround Boolean

ClientboundMoveEntityPacket.PosRot

Field Name Type
entityId VarInt
xa Short
ya Short
za Short
yRot Byte
xRot Byte
onGround Boolean

ClientboundMoveMinecartPacket

Field Name Type
entityId VarInt
lerpSteps List<NewMinecartBehavior$MinecartStep>

ClientboundMoveEntityPacket.Rot

Field Name Type
entityId VarInt
yRot Byte
xRot Byte
onGround Boolean

ClientboundMoveVehiclePacket

Field Name Type
x Double
y Double
z Double
yRot Float
xRot Float

ClientboundOpenBookPacket

Field Name Type
hand Enum (InteractionHand)

ClientboundOpenScreenPacket

Field Name Type
containerId ContainerId
type Registry Entry (MENU)
title Component

ClientboundOpenSignEditorPacket

Field Name Type
pos BlockPos
isFrontText Boolean

ClientboundPingPacket

Field Name Type
id Int

ClientboundPongResponsePacket

Field Name Type
time Long

ClientboundPlaceGhostRecipePacket

Field Name Type
containerId ContainerId
recipeDisplay RecipeDisplay

ClientboundPlayerAbilitiesPacket

Field Name Type
instabuild Byte
flyingSpeed Float
walkingSpeed Float

ClientboundPlayerChatPacket

Field Name Type
sender UUID
index VarInt
signature Nullable
body  
TRUSTED_STREAM_CODEC Nullable
filterMask  

ClientboundPlayerCombatEndPacket

Field Name Type
duration VarInt

ClientboundPlayerCombatEnterPacket

Empty.

ClientboundPlayerCombatKillPacket

Field Name Type
playerId VarInt
message Component

ClientboundPlayerInfoRemovePacket

Field Name Type
STREAM_CODEC Collection

ClientboundPlayerInfoUpdatePacket

Field Name Type
actions EnumSet
entries Collection
writer  

ClientboundPlayerLookAtPacket

Field Name Type
fromAnchor Enum (EntityAnchorArgument$Anchor)
x Double
y Double
z Double
atEntity Boolean
entity VarInt
toAnchor Enum (EntityAnchorArgument$Anchor)

ClientboundPlayerPositionPacket

Field Name Type
id VarInt
change PositionMoveRotation
relatives Relative

ClientboundPlayerRotationPacket

Field Name Type
yRot Float
xRot Float

ClientboundRecipeBookAddPacket

Field Name Type
entries List<ClientboundRecipeBookAddPacket$Entry>
replace Boolean

ClientboundRecipeBookRemovePacket

Field Name Type
recipes List<RecipeDisplayId>

ClientboundRecipeBookSettingsPacket

Field Name Type
bookSettings RecipeBookSettings

ClientboundRemoveEntitiesPacket

Field Name Type
entityIds IntIdList

ClientboundRemoveMobEffectPacket

Field Name Type
entityId VarInt
effect MobEffect

ClientboundResetScorePacket

Field Name Type
owner String
objectiveName Nullable

ClientboundResourcePackPopPacket

Field Name Type
STREAM_CODEC Optional

ClientboundResourcePackPushPacket

Field Name Type
id UUID
url String
hash String
required Boolean
prompt Component

ClientboundRespawnPacket

Field Name Type
commonPlayerSpawnInfo  
dataToKeep Byte

ClientboundRotateHeadPacket

Field Name Type
entityId VarInt
yHeadRot Byte

ClientboundSectionBlocksUpdatePacket

Field Name Type
sectionPos Long
positions VarInt
positions VarLong

ClientboundSelectAdvancementsTabPacket

Field Name Type
tab Nullable

ClientboundServerDataPacket

Field Name Type
motd Component
iconBytes ByteArray

ClientboundSetActionBarTextPacket

Field Name Type
text Component

ClientboundSetBorderCenterPacket

Field Name Type
newCenterX Double
newCenterZ Double

ClientboundSetBorderLerpSizePacket

Field Name Type
oldSize Double
newSize Double
lerpTime VarLong

ClientboundSetBorderSizePacket

Field Name Type
size Double

ClientboundSetBorderWarningDelayPacket

Field Name Type
warningDelay VarInt

ClientboundSetBorderWarningDistancePacket

Field Name Type
warningBlocks VarInt

ClientboundSetCameraPacket

Field Name Type
cameraId VarInt

ClientboundSetChunkCacheCenterPacket

Field Name Type
x VarInt
z VarInt

ClientboundSetChunkCacheRadiusPacket

Field Name Type
radius VarInt

ClientboundSetCursorItemPacket

Field Name Type
contents ItemStack

ClientboundSetDefaultSpawnPositionPacket

Field Name Type
pos BlockPos
angle Float

ClientboundSetDisplayObjectivePacket

Field Name Type
slot ById
objectiveName String

ClientboundSetEntityDataPacket

Field Name Type
id VarInt

ClientboundSetEntityLinkPacket

Field Name Type
sourceId Int
destId Int

ClientboundSetEntityMotionPacket

Field Name Type
id VarInt
xa Short
ya Short
za Short

ClientboundSetEquipmentPacket

Field Name Type
entity VarInt
slots Byte

ClientboundSetExperiencePacket

Field Name Type
experienceProgress Float
experienceLevel VarInt
totalExperience VarInt

ClientboundSetHealthPacket

Field Name Type
health Float
food VarInt
saturation Float

ClientboundSetHeldSlotPacket

Field Name Type
slot Byte

ClientboundSetObjectivePacket

Field Name Type
objectiveName String
method Byte
renderType Enum (ObjectiveCriteria$RenderType)

ClientboundSetPassengersPacket

Field Name Type
vehicle VarInt
passengers VarIntArray

ClientboundSetPlayerInventoryPacket

Field Name Type
slot VarInt
contents ItemStack

ClientboundSetPlayerTeamPacket

Field Name Type
name String
method Byte
parameters  
players Collection

ClientboundSetScorePacket

Field Name Type
owner String
objectiveName String
score VarInt
display Component
numberFormat NumberFormatTypes

ClientboundSetSimulationDistancePacket

Field Name Type
simulationDistance VarInt

ClientboundSetSubtitleTextPacket

Field Name Type
text Component

ClientboundSetTimePacket

Field Name Type
gameTime Long
dayTime Long
tickDayTime Boolean

ClientboundSetTitleTextPacket

Field Name Type
text Component

ClientboundSetTitlesAnimationPacket

Field Name Type
fadeIn Int
stay Int
fadeOut Int

ClientboundSoundEntityPacket

Field Name Type
source Enum (SoundSource)
id VarInt
volume Float
pitch Float
seed Long

ClientboundSoundPacket

Field Name Type
source Enum (SoundSource)
x Int
y Int
z Int
volume Float
pitch Float
seed Long

ClientboundStartConfigurationPacket

Empty.

ClientboundStopSoundPacket

Field Name Type
name Byte
source Enum (SoundSource)
name ResourceLocation
name Byte
source Enum (SoundSource)
name Byte
name ResourceLocation
name Byte

ClientboundStoreCookiePacket

Field Name Type
key ResourceLocation

ClientboundSystemChatPacket

Field Name Type
content Component
overlay Boolean

ClientboundTabListPacket

Field Name Type
header Component
footer Component

ClientboundTagQueryPacket

Field Name Type
transactionId VarInt
tag Nbt

ClientboundTakeItemEntityPacket

Field Name Type
itemId VarInt
playerId VarInt
amount VarInt

ClientboundTeleportEntityPacket

Field Name Type
id VarInt
change PositionMoveRotation
relatives Relative
onGround Boolean

ClientboundTickingStatePacket

Field Name Type
tickRate Float
isFrozen Boolean

ClientboundTickingStepPacket

Field Name Type
tickSteps VarInt

ClientboundTransferPacket

Field Name Type
host String
port VarInt

ClientboundUpdateAdvancementsPacket

Field Name Type
reset Boolean
removed Collection
progress Map

ClientboundUpdateAttributesPacket

Field Name Type
entityId VarInt
values List<ClientboundUpdateAttributesPacket$AttributeSnapshot>

ClientboundUpdateMobEffectPacket

Field Name Type
entityId VarInt
effectAmplifier VarInt
effectDurationTicks VarInt
flags Byte

ClientboundUpdateRecipesPacket

Field Name Type
itemSets RecipePropertySet

ClientboundUpdateTagsPacket

Field Name Type
tags Map

ClientboundProjectilePowerPacket

Field Name Type
id VarInt
accelerationPower Double

ClientboundCustomReportDetailsPacket

Field Name Type
details ClientboundCustomReportDetailsPacket

ClientboundServerLinksPacket

Field Name Type
links ServerLinks

SERVERBOUND GAME Protocol

ServerboundAcceptTeleportationPacket

Field Name Type
id VarInt

ServerboundBlockEntityTagQueryPacket

Field Name Type
transactionId VarInt
pos BlockPos

ServerboundSelectBundleItemPacket

Field Name Type
slotId VarInt
selectedItemIndex VarInt

ServerboundChangeDifficultyPacket

Field Name Type
difficulty Byte

ServerboundChatAckPacket

Field Name Type
offset VarInt

ServerboundChatCommandPacket

Field Name Type
command String

ServerboundChatCommandSignedPacket

Field Name Type
command String
timeStamp Instant
salt Long
argumentSignatures  
lastSeenMessages  

ServerboundChatPacket

Field Name Type
message String
timeStamp Instant
salt Long
signature Nullable
lastSeenMessages  

ServerboundChatSessionUpdatePacket

Field Name Type
chatSession  

ServerboundChunkBatchReceivedPacket

Field Name Type
desiredChunksPerTick Float

ServerboundClientCommandPacket

Field Name Type
action Enum (ServerboundClientCommandPacket$Action)

ServerboundClientTickEndPacket

Empty.

ServerboundClientInformationPacket

Field Name Type
information  

ServerboundCommandSuggestionPacket

Field Name Type
id VarInt
command String

ServerboundConfigurationAcknowledgedPacket

Empty.

ServerboundContainerButtonClickPacket

Field Name Type
containerId ContainerId
buttonId VarInt

ServerboundContainerClickPacket

Field Name Type
containerId ContainerId
stateId VarInt
slotNum Short
buttonNum Byte
clickType Enum (ClickType)
intValue Short

ServerboundContainerClosePacket

Field Name Type
containerId ContainerId

ServerboundContainerSlotStateChangedPacket

Field Name Type
slotId VarInt
containerId ContainerId
newState Boolean

ServerboundCookieResponsePacket

Field Name Type
key ResourceLocation
PAYLOAD_STREAM_CODEC Nullable

ServerboundCustomPayloadPacket

Empty.

ServerboundDebugSampleSubscriptionPacket

Field Name Type
sampleType Enum (RemoteDebugSampleType)

ServerboundEditBookPacket

Field Name Type
slot VarInt
pages List<String>
title Optional<String>

ServerboundEntityTagQueryPacket

Field Name Type
transactionId VarInt
entityId VarInt

ServerboundInteractPacket

Field Name Type
entityId VarInt
action Enum (ServerboundInteractPacket$Action)
action  
usingSecondaryAction Boolean

ServerboundJigsawGeneratePacket

Field Name Type
pos BlockPos
levels VarInt
keepJigsaws Boolean

ServerboundKeepAlivePacket

Field Name Type
id Long

ServerboundLockDifficultyPacket

Field Name Type
locked Boolean

ServerboundMovePlayerPacket.Pos

Field Name Type
x Double
y Double
z Double
horizontalCollision Byte

ServerboundMovePlayerPacket.PosRot

Field Name Type
x Double
y Double
z Double
yRot Float
xRot Float
horizontalCollision Byte

ServerboundMovePlayerPacket.Rot

Field Name Type
yRot Float
xRot Float
horizontalCollision Byte

ServerboundMovePlayerPacket.StatusOnly

Field Name Type
horizontalCollision Byte

ServerboundMoveVehiclePacket

Field Name Type
x Double
y Double
z Double
yRot Float
xRot Float

ServerboundPaddleBoatPacket

Field Name Type
left Boolean
right Boolean

ServerboundPickItemPacket

Field Name Type
slot VarInt

ServerboundPingRequestPacket

Empty.

ServerboundPlaceRecipePacket

Field Name Type
containerId ContainerId
recipe RecipeDisplayId
useMaxItems Boolean

ServerboundPlayerAbilitiesPacket

Field Name Type
isFlying Byte

ServerboundPlayerActionPacket

Field Name Type
action Enum (ServerboundPlayerActionPacket$Action)
pos BlockPos
direction Byte
sequence VarInt

ServerboundPlayerCommandPacket

Field Name Type
id VarInt
action Enum (ServerboundPlayerCommandPacket$Action)
data VarInt

ServerboundPlayerInputPacket

Field Name Type
input Input

ServerboundPongPacket

Field Name Type
id Int

ServerboundRecipeBookChangeSettingsPacket

Field Name Type
bookType Enum (RecipeBookType)
isOpen Boolean
isFiltering Boolean

ServerboundRecipeBookSeenRecipePacket

Field Name Type
recipe RecipeDisplayId

ServerboundRenameItemPacket

Field Name Type
name String

ServerboundResourcePackPacket

Field Name Type
id UUID
action Enum (ServerboundResourcePackPacket$Action)

ServerboundSeenAdvancementsPacket

Field Name Type
action Enum (ServerboundSeenAdvancementsPacket$Action)
tab ResourceLocation

ServerboundSelectTradePacket

Field Name Type
item VarInt

ServerboundSetBeaconPacket

Field Name Type
primary MobEffect
secondary MobEffect

ServerboundSetCarriedItemPacket

Field Name Type
slot Short

ServerboundSetCommandBlockPacket

Field Name Type
pos BlockPos
command String
mode Enum (CommandBlockEntity$Mode)
automatic Byte

ServerboundSetCommandMinecartPacket

Field Name Type
entity VarInt
command String
trackOutput Boolean

ServerboundSetCreativeModeSlotPacket

Field Name Type
slotNum Short
itemStack ItemStack

ServerboundSetJigsawBlockPacket

Field Name Type
pos BlockPos
name ResourceLocation
target ResourceLocation
pool ResourceLocation
finalState String
joint String
selectionPriority VarInt
placementPriority VarInt

ServerboundSetStructureBlockPacket

Field Name Type
pos BlockPos
updateType Enum (StructureBlockEntity$UpdateType)
mode Enum (StructureMode)
name String
offset Byte
offset Byte
offset Byte
size Byte
size Byte
size Byte
mirror Enum (Mirror)
rotation Enum (Rotation)
data String
integrity Float
seed VarLong
showBoundingBox Byte

ServerboundSignUpdatePacket

Field Name Type
pos BlockPos
isFrontText Boolean
lines String

ServerboundSwingPacket

Field Name Type
hand Enum (InteractionHand)

ServerboundTeleportToEntityPacket

Field Name Type
uuid UUID

ServerboundUseItemOnPacket

Field Name Type
hand Enum (InteractionHand)
blockHit BlockHitResult
sequence VarInt

ServerboundUseItemPacket

Field Name Type
hand Enum (InteractionHand)
sequence VarInt
yRot Float
xRot Float

Codec Definitions

Advancement

Field Name Type
parent Optional
requirements  
sendsTelemetryEvent Boolean

AdvancementHolder

Field Name Type
id ResourceLocation
value Advancement
id ResourceLocation
value Advancement

AdventureModePredicate

Field Name Type
lambda$static$5 List<BlockPredicate>
showInTooltip Boolean

ApplyStatusEffectsConsumeEffect

Field Name Type
effects List<MobEffectInstance>
probability Float

Armadillo$ArmadilloState

Field Name Type
id ById

ArmorTrim

Field Name Type
material TrimMaterial
pattern TrimPattern
lambda$static$2 Boolean

Attribute

Empty.

AttributeModifier

Field Name Type
id ResourceLocation
amount Double
operation AttributeModifier$Operation

AttributeModifier$Operation

Field Name Type
id ById

BannerPattern

Field Name Type
assetId ResourceLocation
translationKey String

BannerPatternLayers

Field Name Type
layers List<BannerPatternLayers$Layer>

BannerPatternLayers$Layer

Field Name Type
pattern BannerPattern
color DyeColor

BeeDebugPayload

Field Name Type
beeInfo  

BeehiveBlockEntity$Occupant

Field Name Type
entityData CustomData
ticksInHive VarInt
minTicksInHive VarInt

BlankFormat$1

Empty.

BlockBox

Empty.

BlockItemStateProperties

Field Name Type
properties BlockItemStateProperties

BlockPos

Empty.

BlockPositionSource

Field Name Type
lambda$static$2 BlockPos

BlockPredicate

Field Name Type
blocks HolderSet (BLOCK)
properties StatePropertiesPredicate
nbt NbtPredicate

BrainDebugPayload

Field Name Type
brainDump  

BrandPayload

Field Name Type
brand String

BreezeDebugPayload

Field Name Type
breezeInfo  

BundleContents

Field Name Type
lambda$static$1 List<ItemStack>

CatVariant

Empty.

ChargedProjectiles

Field Name Type
lambda$static$1 List<ItemStack>

ChatType

Field Name Type
chat ChatTypeDecoration
narration ChatTypeDecoration
chat ChatTypeDecoration
narration ChatTypeDecoration

ChatType$Bound

Field Name Type
chatType ChatType
name Component
targetName Component

ChatTypeDecoration

Field Name Type
translationKey String
parameters List<ChatTypeDecoration$Parameter>
style Style$Serializer

ChatTypeDecoration$Parameter

Field Name Type
lambda$static$4 ById

ChunkPos

Empty.

ClearAllStatusEffectsConsumeEffect

Empty.

ClientboundCommandSuggestionsPacket$Entry

Field Name Type
text String
tooltip Component

ClientboundLevelChunkPacketData$BlockEntityInfo

Field Name Type
packedXZ Byte
y Short
type Registry Entry (BLOCK_ENTITY_TYPE)
tag Nbt

ClientboundLightUpdatePacketData

Field Name Type
skyYMask BitSet
blockYMask BitSet
emptySkyYMask BitSet
emptyBlockYMask BitSet
DATA_LAYER_STREAM_CODEC Collection
DATA_LAYER_STREAM_CODEC Collection

ClientboundRecipeBookAddPacket$Entry

Field Name Type
contents RecipeDisplayEntry
flags Byte

ClientboundUpdateAttributesPacket$AttributeSnapshot

Field Name Type
id ResourceLocation
amount Double
operation AttributeModifier$Operation
id ResourceLocation
amount Double
operation AttributeModifier$Operation
attribute Attribute
base Double
modifiers List<ClientboundUpdateAttributesPacket$AttributeSnapshot>

ComponentSerialization

Field Name Type
unlimitedHeap Optional<Component>
unlimitedHeap Optional<Component>

Consumable

Field Name Type
consumeSeconds Float
animation ItemUseAnimation
sound SoundEvent
hasConsumeParticles Boolean
onConsumeEffects List<ConsumeEffect>

ConsumeEffect

Field Name Type
type Registry Entry (CONSUME_EFFECT_TYPE)

CookingBookCategory

Field Name Type
lambda$static$1 ById

CraftingBookCategory

Field Name Type
id ById

CustomData

Field Name Type
lambda$static$5 CompoundTag

CustomModelData

Field Name Type
value VarInt

DamageResistant

Field Name Type
types DamageType

DamageType

Empty.

DataComponentPatch

Empty.

DataComponentPredicate

Field Name Type
lambda$static$3 List<TypedDataComponent>

DataComponentType

Empty.

DeathProtection

Field Name Type
deathEffects List<ConsumeEffect>

DimensionType

Empty.

Direction

Field Name Type
3DDataValue ById

DisplayInfo

Empty.

DustColorTransitionOptions

Field Name Type
lambda$static$3 Int
lambda$static$4 Int
scale Float

DustParticleOptions

Field Name Type
lambda$static$2 Int
scale Float

DyeColor

Field Name Type
id ById

DyedItemColor

Field Name Type
rgb Int
showInTooltip Boolean

Enchantable

Field Name Type
value VarInt

Enchantment

Empty.

EntityPositionSource

Field Name Type
id VarInt
lambda$static$3 Float

EquipmentSlot

Field Name Type
lambda$static$1 ById

EquipmentSlotGroup

Field Name Type
lambda$static$3 ById

Equippable

Field Name Type
slot EquipmentSlot
equipSound SoundEvent
model ResourceLocation
cameraOverlay ResourceLocation
allowedEntities Optional<HolderSet (ENTITY_TYPE)>
dispensable Boolean
swappable Boolean
damageOnHurt Boolean

FireworkExplosion

Field Name Type
shape List<FireworkExplosion$Shape>
colors FireworkExplosion
fadeColors FireworkExplosion
hasTrail Boolean
hasTwinkle Boolean

FireworkExplosion$Shape

Field Name Type
id ById

Fireworks

Field Name Type
flightDuration VarInt
explosions List<FireworkExplosion>

FixedFormat$1

Field Name Type
lambda$$1 Component

FoodProperties

Field Name Type
nutrition VarInt
saturation Float
canAlwaysEat Boolean

FrogVariant

Empty.

FurnaceRecipeDisplay

Field Name Type
ingredient SlotDisplay
fuel SlotDisplay
result SlotDisplay
craftingStation SlotDisplay
duration VarInt
experience Float

GameEventDebugPayload

Field Name Type
gameEventType ResourceKey
pos Vec3

GameEventListenerDebugPayload

Field Name Type
listenerPos PositionSource
listenerRange VarInt

GameTestAddMarkerDebugPayload

Field Name Type
pos BlockPos
color Int
text String
durationMs Int

GameTestClearMarkersDebugPayload

Empty.

GlobalPos

Field Name Type
dimension Dimension
pos BlockPos

GoalDebugPayload

Field Name Type
entityId Int
pos BlockPos
goals Collection

HiveDebugPayload

Field Name Type
hiveInfo  

Ingredient

Field Name Type
lambda$static$0 HolderSet (ITEM)
lambda$static$0 HolderSet (ITEM)
lambda$static$1 HolderSet (ITEM)

Input

Empty.

Instrument

Field Name Type
soundEvent SoundEvent
useDuration Float
range Float
description Component

ItemAttributeModifiers

Field Name Type
modifiers List<ItemAttributeModifiers$Entry>
showInTooltip Boolean

ItemAttributeModifiers$Entry

Field Name Type
attribute Attribute
modifier AttributeModifier
slot EquipmentSlotGroup

ItemContainerContents

Field Name Type
lambda$static$0 List<ItemStack>

ItemCost

Field Name Type
item Registry Entry (ITEM)
count VarInt
components DataComponentPredicate
item Registry Entry (ITEM)
count VarInt
components DataComponentPredicate

ItemEnchantments

Field Name Type
lambda$static$6 VarInt
lambda$static$7 Boolean

ItemLore

Field Name Type
lines List<Component>

ItemStack

Field Name Type
createWithCapacity ItemStack

ItemStack$1

Empty.

ItemUseAnimation

Field Name Type
id ById

JukeboxPlayable

Field Name Type
song JukeboxSong
showInTooltip Boolean

JukeboxSong

Field Name Type
soundEvent SoundEvent
description Component
lengthInSeconds Float
comparatorOutput VarInt

KnownPack

Field Name Type
namespace String
id String
version String

LodestoneTracker

Field Name Type
target GlobalPos
tracked Boolean

MapDecoration

Field Name Type
type MapDecorationType
x Byte
y Byte
rot Byte
name Component

MapDecorationType

Empty.

MapId

Field Name Type
id VarInt

MapItemColor

Field Name Type
rgb Int

MapItemSavedData$MapPatch

Empty.

MapPostProcessing

Field Name Type
id IdMap

MerchantOffer

Field Name Type
OPTIONAL_STREAM_CODEC Boolean
OPTIONAL_STREAM_CODEC Int
OPTIONAL_STREAM_CODEC Int
OPTIONAL_STREAM_CODEC Int
OPTIONAL_STREAM_CODEC Int
OPTIONAL_STREAM_CODEC Float
OPTIONAL_STREAM_CODEC Int

MerchantOffers

Empty.

MobEffect

Empty.

MobEffectInstance

Field Name Type
effect MobEffect
asDetails MobEffectInstance$Details

MobEffectInstance$Details

Empty.

NbtPredicate

Field Name Type
tag CompoundTag

NeighborUpdatesDebugPayload

Field Name Type
time VarLong
pos BlockPos

NewMinecartBehavior$MinecartStep

Field Name Type
position Vec3
movement Vec3
yRot RotationByte
xRot RotationByte
weight Float

NumberFormatTypes

Field Name Type
type Registry Entry (NUMBER_FORMAT_TYPE)
type Registry Entry (NUMBER_FORMAT_TYPE)

OminousBottleAmplifier

Field Name Type
value VarInt

Orientation

Empty.

PaintingVariant

Field Name Type
width VarInt
height VarInt
assetId ResourceLocation
title Component
author Component

ParticleTypes

Field Name Type
type Registry Entry (PARTICLE_TYPE)

PathfindingDebugPayload

Field Name Type
entityId Int
path ToStream
maxNodeDistance Float

PlaySoundConsumeEffect

Field Name Type
sound SoundEvent

PoiAddedDebugPayload

Field Name Type
pos BlockPos
poiType String
freeTicketCount Int

PoiRemovedDebugPayload

Field Name Type
pos BlockPos

PoiTicketCountDebugPayload

Field Name Type
pos BlockPos
freeTicketCount Int

Pose

Field Name Type
id ById

PositionMoveRotation

Field Name Type
position Vec3
deltaMovement Vec3
yRot Float
xRot Float

PositionSource

Field Name Type
type Registry Entry (POSITION_SOURCE_TYPE)

PotDecorations

Field Name Type
ordered List<Registry Entry (ITEM)>

Potion

Empty.

PotionContents

Field Name Type
potion Optional<Potion>
customColor Optional<Int>
customEffects List<MobEffectInstance>
customName Optional<String>

RaidsDebugPayload

Field Name Type
STREAM_CODEC Collection

Rarity

Field Name Type
lambda$static$1 ById

Recipe

Field Name Type
serializer Registry Entry (RECIPE_SERIALIZER)

RecipeBookSettings

Field Name Type
open Boolean
filtering Boolean

RecipeDisplay

Field Name Type
type Registry Entry (RECIPE_DISPLAY)

RecipeDisplayEntry

Field Name Type
id RecipeDisplayId
display RecipeDisplay
group OptionalVarInt
category Registry Entry (RECIPE_BOOK_CATEGORY)
craftingRequirements Optional<List<Ingredient>>

RecipeDisplayId

Field Name Type
index VarInt

RecipeHolder

Field Name Type
id Recipe
value Recipe

RecipePropertySet

Field Name Type
lambda$static$0 List<Registry Entry (ITEM)>

RedstoneWireOrientationsDebugPayload

Field Name Type
time VarLong
wires List<RedstoneWireOrientationsDebugPayload$Wire>

RedstoneWireOrientationsDebugPayload$Wire

Field Name Type
pos BlockPos
orientation Orientation

RegistrySynchronization$PackedRegistryEntry

Field Name Type
id ResourceLocation
data Tag

Relative

Field Name Type
unpack Int

RemoveStatusEffectsConsumeEffect

Field Name Type
effects HolderSet (MOB_EFFECT)

Repairable

Field Name Type
items HolderSet (ITEM)

ResolvableProfile

Field Name Type
name Optional<String>
id UUID
properties GameProfileProperties

ResourceLocation

Field Name Type
parse String

Rotations

Empty.

SculkChargeParticleOptions

Field Name Type
lambda$static$2 Float

Empty.

ServerLinks$KnownLinkType

Field Name Type
lambda$static$1 ById

ServerLinks$UntrustedEntry

Field Name Type
type ServerLinks
link String

ShapedCraftingRecipeDisplay

Field Name Type
width VarInt
height VarInt
ingredients List<SlotDisplay>
result SlotDisplay
craftingStation SlotDisplay

ShapedRecipe$Serializer

Empty.

ShapedRecipePattern

Field Name Type
lambda$static$3 VarInt
lambda$static$4 VarInt
lambda$static$5 List<Ingredient>

ShapelessCraftingRecipeDisplay

Field Name Type
ingredients List<SlotDisplay>
result SlotDisplay
craftingStation SlotDisplay

ShapelessRecipe$Serializer

Field Name Type
lambda$static$5 String
lambda$static$6 CraftingBookCategory
lambda$static$7 ItemStack
lambda$static$8 List<Ingredient>

ShriekParticleOption

Field Name Type
lambda$static$2 VarInt

SlotDisplay

Field Name Type
type Registry Entry (SLOT_DISPLAY)

SlotDisplay$AnyFuel

Empty.

SlotDisplay$Composite

Field Name Type
contents List<SlotDisplay>

SlotDisplay$Empty

Empty.

SlotDisplay$ItemSlotDisplay

Field Name Type
item Registry Entry (ITEM)

SlotDisplay$ItemStackSlotDisplay

Field Name Type
stack ItemStack

SlotDisplay$SmithingTrimDemoSlotDisplay

Field Name Type
base SlotDisplay
material SlotDisplay
pattern SlotDisplay

SlotDisplay$TagSlotDisplay

Field Name Type
tag Item

SlotDisplay$WithRemainder

Field Name Type
input SlotDisplay
remainder SlotDisplay

SmithingRecipeDisplay

Field Name Type
template SlotDisplay
base SlotDisplay
addition SlotDisplay
result SlotDisplay
craftingStation SlotDisplay

SmithingTransformRecipe$Serializer

Field Name Type
lambda$static$5 Ingredient
lambda$static$6 Ingredient
lambda$static$7 Ingredient
lambda$static$8 ItemStack

SmithingTrimRecipe$Serializer

Field Name Type
lambda$static$4 Ingredient
lambda$static$5 Ingredient
lambda$static$6 Ingredient

Sniffer$State

Field Name Type
id ById

SoundEvent

Field Name Type
location ResourceLocation
fixedRange Float
location ResourceLocation
fixedRange Float

Stat

Field Name Type
type Registry Entry (STAT_TYPE)

StatePropertiesPredicate

Field Name Type
properties List<StatePropertiesPredicate$PropertyMatcher>

StatePropertiesPredicate$ExactMatcher

Field Name Type
value String

StatePropertiesPredicate$PropertyMatcher

Field Name Type
name String
valueMatcher StatePropertiesPredicate$ValueMatcher

StatePropertiesPredicate$RangedMatcher

Field Name Type
minValue String
maxValue String

StatePropertiesPredicate$ValueMatcher

Field Name Type
unwrap Either

StonecutterRecipeDisplay

Field Name Type
input SlotDisplay
result SlotDisplay
craftingStation SlotDisplay

StructuresDebugPayload

Field Name Type
dimension ResourceKey
mainBB BoundingBox
pieces Collection

Style$Serializer

Empty.

StyledFormat$1

Field Name Type
lambda$$1 Style$Serializer

SuspiciousStewEffects

Field Name Type
effects List<SuspiciousStewEffects$Entry>

SuspiciousStewEffects$Entry

Field Name Type
effect MobEffect
duration VarInt

TargetColorParticleOption

Field Name Type
target Vec3
color Int

TeleportRandomlyConsumeEffect

Field Name Type
diameter Float

Tool

Field Name Type
rules List<Tool$Rule>
defaultMiningSpeed Float
damagePerBlock VarInt

Tool$Rule

Field Name Type
blocks HolderSet (BLOCK)
speed Float
correctForDrops Boolean

TransmuteRecipe$Serializer

Field Name Type
lambda$static$6 String
lambda$static$7 CraftingBookCategory
lambda$static$8 Ingredient
lambda$static$9 Ingredient
lambda$static$10 Registry Entry (ITEM)

TrimMaterial

Field Name Type
assetName String
ingredient Registry Entry (ITEM)
itemModelIndex Float
overrideArmorMaterials String
description Component

TrimPattern

Field Name Type
assetId ResourceLocation
templateItem Registry Entry (ITEM)
description Component
decal Boolean

TypedDataComponent

Empty.

UUIDUtil

Empty.

Unbreakable

Field Name Type
showInTooltip Boolean

UseCooldown

Field Name Type
seconds Float
cooldownGroup ResourceLocation

UseRemainder

Field Name Type
convertInto ItemStack

Vec3

Empty.

VibrationParticleOption

Field Name Type
destination PositionSource
arrivalInTicks VarInt

VillageSectionsDebugPayload

Field Name Type
villageChunks Collection
notVillageChunks Collection

VillagerData

Field Name Type
lambda$static$6 Registry Entry (VILLAGER_TYPE)
lambda$static$7 Registry Entry (VILLAGER_PROFESSION)
lambda$static$8 VarInt

WolfVariant

Field Name Type
wildTexture ResourceLocation
tameTexture ResourceLocation
angryTexture ResourceLocation
biomes HolderSet (BIOME)

WorldGenAttemptDebugPayload

Field Name Type
pos BlockPos
scale Float
red Float
green Float
blue Float
alpha Float

WritableBookContent

Field Name Type
pages List<String>

WrittenBookContent

Field Name Type
title String
author String
generation VarInt
pages List<Component>
resolved Boolean

Manual Section

Section containing base types/others that I really can’t be fucked looking up in code all the time.

Enum

VarInt of the ordinal.

Registry Entry/Registry Entry Holder

VarInt of the ID within the registry.

HolderSet

Actual size = preSize - 1. Format depends on this size.

Field Name Type Condition
preSize VarInt  
tagKey String if size == -1
ids VarInt[size] else

Enum Definitions

ClickType

ID Name
0 PICKUP
1 QUICK_MOVE
2 SWAP
3 CLONE
4 THROW
5 QUICK_CRAFT
6 PICKUP_ALL

ClientboundCustomChatCompletionsPacket$Action

ID Name
0 ADD
1 REMOVE
2 SET

CommandBlockEntity$Mode

ID Name
0 SEQUENCE
1 AUTO
2 REDSTONE

EntityAnchorArgument$Anchor

ID Name
0 FEET
1 EYES

InteractionHand

ID Name
0 MAIN_HAND
1 OFF_HAND

Mirror

ID Name
0 NONE
1 LEFT_RIGHT
2 FRONT_BACK

ObjectiveCriteria$RenderType

ID Name
0 INTEGER
1 HEARTS

RecipeBookType

ID Name
0 CRAFTING
1 FURNACE
2 BLAST_FURNACE
3 SMOKER

RemoteDebugSampleType

ID Name
0 TICK_TIME

Rotation

ID Name
0 NONE
1 CLOCKWISE_90
2 CLOCKWISE_180
3 COUNTERCLOCKWISE_90

ServerboundClientCommandPacket$Action

ID Name
0 PERFORM_RESPAWN
1 REQUEST_STATS

ServerboundPlayerActionPacket$Action

ID Name
0 START_DESTROY_BLOCK
1 ABORT_DESTROY_BLOCK
2 STOP_DESTROY_BLOCK
3 DROP_ALL_ITEMS
4 DROP_ITEM
5 RELEASE_USE_ITEM
6 SWAP_ITEM_WITH_OFFHAND

ServerboundPlayerCommandPacket$Action

ID Name
0 PRESS_SHIFT_KEY
1 RELEASE_SHIFT_KEY
2 STOP_SLEEPING
3 START_SPRINTING
4 STOP_SPRINTING
5 START_RIDING_JUMP
6 STOP_RIDING_JUMP
7 OPEN_INVENTORY
8 START_FALL_FLYING

ServerboundResourcePackPacket$Action

ID Name
0 SUCCESSFULLY_LOADED
1 DECLINED
2 FAILED_DOWNLOAD
3 ACCEPTED
4 DOWNLOADED
5 INVALID_URL
6 FAILED_RELOAD
7 DISCARDED

ServerboundSeenAdvancementsPacket$Action

ID Name
0 OPENED_TAB
1 CLOSED_SCREEN

SoundSource

ID Name
0 MASTER
1 MUSIC
2 RECORDS
3 WEATHER
4 BLOCKS
5 HOSTILE
6 NEUTRAL
7 PLAYERS
8 AMBIENT
9 VOICE

StructureBlockEntity$UpdateType

ID Name
0 UPDATE_DATA
1 SAVE_AREA
2 LOAD_AREA
3 SCAN_AREA

StructureMode

ID Name
0 SAVE
1 LOAD
2 CORNER
3 DATA