net.minecraft.network.protocol.game

public class ClientboundCommandsPacket

implements Packet<ClientGamePacketListener>

adk
net.minecraft.network.protocol.game.ClientboundCommandsPacket
net.minecraft.class_2641
net.minecraft.network.packet.s2c.play.CommandTreeS2CPacket
net.minecraft.network.protocol.game.PacketPlayOutCommands

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ClientboundCommandsPacket>
a
STREAM_CODEC
field_47914
CODEC
private static final byte
b
MASK_TYPE
field_33317
field_33317
private static final byte
c
FLAG_EXECUTABLE
field_33318
field_33318
private static final byte
d
FLAG_REDIRECT
field_33319
field_33319
private static final byte
e
FLAG_CUSTOM_SUGGESTIONS
field_33320
field_33320
private static final byte
f
TYPE_ROOT
field_33321
field_33321
private static final byte
g
TYPE_LITERAL
field_33322
field_33322
private static final byte
h
TYPE_ARGUMENT
field_33323
field_33323
private final int
i
rootIndex
field_38038
rootSize
private final List<ClientboundCommandsPacket$Entry>
j
entries
field_38039
nodes

Constructor summary

ModifierConstructor
public (com.mojang.brigadier.tree.RootCommandNode<SharedSuggestionProvider> rootNode)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(ws arg0)
write(FriendlyByteBuf arg0)
method_55867(class_2540 arg0)
write(PacketByteBuf buf)
private static void
a(List<adk$b> arg0, BiPredicate<adk$b, it.unimi.dsi.fastutil.ints.IntSet> arg1)
validateEntries(List<ClientboundCommandsPacket$Entry> arg0, BiPredicate<ClientboundCommandsPacket$Entry, it.unimi.dsi.fastutil.ints.IntSet> arg1)
method_42067(List<class_2641$class_2642> arg0, BiPredicate<class_2641$class_2642, it.unimi.dsi.fastutil.ints.IntSet> arg1)
validate(List<CommandTreeS2CPacket$CommandNodeData> nodeDatas, BiPredicate<CommandTreeS2CPacket$CommandNodeData, it.unimi.dsi.fastutil.ints.IntSet> validator)
private static void
a(List<adk$b> arg0)
validateEntries(List<ClientboundCommandsPacket$Entry> arg0)
method_30946(List<class_2641$class_2642> arg0)
validate(List<CommandTreeS2CPacket$CommandNodeData> nodeDatas)
private static it.unimi.dsi.fastutil.objects.Object2IntMap<com.mojang.brigadier.tree.CommandNode<SharedSuggestionProvider>>
a(com.mojang.brigadier.tree.RootCommandNode<fb> arg0)
enumerateNodes(com.mojang.brigadier.tree.RootCommandNode<SharedSuggestionProvider> arg0)
method_30944(com.mojang.brigadier.tree.RootCommandNode<class_2172> arg0)
traverse(com.mojang.brigadier.tree.RootCommandNode<CommandSource> commandTree)
private static List<ClientboundCommandsPacket$Entry>
a(it.unimi.dsi.fastutil.objects.Object2IntMap<com.mojang.brigadier.tree.CommandNode<fb>> arg0)
createEntries(it.unimi.dsi.fastutil.objects.Object2IntMap<com.mojang.brigadier.tree.CommandNode<SharedSuggestionProvider>> arg0)
method_30945(it.unimi.dsi.fastutil.objects.Object2IntMap<com.mojang.brigadier.tree.CommandNode<class_2172>> arg0)
collectNodes(it.unimi.dsi.fastutil.objects.Object2IntMap<com.mojang.brigadier.tree.CommandNode<CommandSource>> nodes)
private static ClientboundCommandsPacket$Entry
b(ws arg0)
readNode(FriendlyByteBuf arg0)
method_11405(class_2540 arg0)
readCommandNode(PacketByteBuf buf)
private static ClientboundCommandsPacket$NodeStub
a(ws arg0, byte arg1)
read(FriendlyByteBuf arg0, byte arg1)
method_11402(class_2540 arg0, byte arg1)
readArgumentBuilder(PacketByteBuf buf, byte flags)
private static ClientboundCommandsPacket$Entry
a(com.mojang.brigadier.tree.CommandNode<fb> arg0, it.unimi.dsi.fastutil.objects.Object2IntMap<com.mojang.brigadier.tree.CommandNode<fb>> arg1)
createEntry(com.mojang.brigadier.tree.CommandNode<SharedSuggestionProvider> arg0, it.unimi.dsi.fastutil.objects.Object2IntMap<com.mojang.brigadier.tree.CommandNode<SharedSuggestionProvider>> arg1)
method_11401(com.mojang.brigadier.tree.CommandNode<class_2172> arg0, it.unimi.dsi.fastutil.objects.Object2IntMap<com.mojang.brigadier.tree.CommandNode<class_2172>> arg1)
createNodeData(com.mojang.brigadier.tree.CommandNode<CommandSource> node, it.unimi.dsi.fastutil.objects.Object2IntMap<com.mojang.brigadier.tree.CommandNode<CommandSource>> nodes)
public PacketType<ClientboundCommandsPacket>
a()
type()
method_55846()
getPacketId()
public void
a(acr arg0)
handle(ClientGamePacketListener arg0)
method_11404(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public com.mojang.brigadier.tree.RootCommandNode<SharedSuggestionProvider>
a(es arg0)
getRoot(CommandBuildContext arg0)
method_11403(class_7157 arg0)
getCommandTree(CommandRegistryAccess commandRegistryAccess)