net.minecraft.network.protocol.game

public class ClientboundCommandsPacket

implements Packet<ClientGamePacketListener>

vv
net.minecraft.network.protocol.game.ClientboundCommandsPacket
net.minecraft.class_2641
net.minecraft.network.packet.s2c.play.CommandTreeS2CPacket
net.minecraft.src.C_5051_
net.minecraft.network.protocol.game.PacketPlayOutCommands

Field summary

Modifier and TypeField
private static final byte
a
MASK_TYPE
field_33317
field_33317
f_178797_
private static final byte
b
FLAG_EXECUTABLE
field_33318
field_33318
f_178798_
private static final byte
c
FLAG_REDIRECT
field_33319
field_33319
f_178799_
private static final byte
d
FLAG_CUSTOM_SUGGESTIONS
field_33320
field_33320
f_178800_
private static final byte
e
TYPE_ROOT
field_33321
field_33321
f_178801_
private static final byte
f
TYPE_LITERAL
field_33322
field_33322
f_178802_
private static final byte
g
TYPE_ARGUMENT
field_33323
field_33323
f_178803_
private final int
h
rootIndex
field_38038
rootSize
f_237619_
private final List<ClientboundCommandsPacket$Entry>
i
entries
field_38039
nodes
f_237620_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(ss arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
private static void
a(List<vv$b> arg0, BiPredicate<vv$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)
m_237630_(List<C_5051_$C_5053_> p_237631_, BiPredicate<C_5051_$C_5053_, it.unimi.dsi.fastutil.ints.IntSet> p_237632_)
private static void
a(List<vv$b> arg0)
validateEntries(List<ClientboundCommandsPacket$Entry> arg0)
method_30946(List<class_2641$class_2642> arg0)
validate(List<CommandTreeS2CPacket$CommandNodeData> nodeDatas)
m_237628_(List<C_5051_$C_5053_> p_237629_)
private static it.unimi.dsi.fastutil.objects.Object2IntMap<com.mojang.brigadier.tree.CommandNode<SharedSuggestionProvider>>
a(com.mojang.brigadier.tree.RootCommandNode<dt> 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)
m_131862_(com.mojang.brigadier.tree.RootCommandNode<C_3063_> p_131863_)
private static List<ClientboundCommandsPacket$Entry>
a(it.unimi.dsi.fastutil.objects.Object2IntMap<com.mojang.brigadier.tree.CommandNode<dt>> 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)
m_237626_(it.unimi.dsi.fastutil.objects.Object2IntMap<com.mojang.brigadier.tree.CommandNode<C_3063_>> p_237627_)
private static ClientboundCommandsPacket$Entry
b(ss arg0)
readNode(FriendlyByteBuf arg0)
method_11405(class_2540 arg0)
readCommandNode(PacketByteBuf buf)
m_131887_(C_4983_ p_131888_)
private static ClientboundCommandsPacket$NodeStub
a(ss arg0, byte arg1)
read(FriendlyByteBuf arg0, byte arg1)
method_11402(class_2540 arg0, byte arg1)
readArgumentBuilder(PacketByteBuf buf, byte flags)
m_237638_(C_4983_ p_237639_, byte p_237640_)
private static ClientboundCommandsPacket$Entry
a(com.mojang.brigadier.tree.CommandNode<dt> arg0, it.unimi.dsi.fastutil.objects.Object2IntMap<com.mojang.brigadier.tree.CommandNode<dt>> 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)
m_237621_(com.mojang.brigadier.tree.CommandNode<C_3063_> p_237622_, it.unimi.dsi.fastutil.objects.Object2IntMap<com.mojang.brigadier.tree.CommandNode<C_3063_>> p_237623_)
public void
a(ve arg0)
handle(ClientGamePacketListener arg0)
method_11404(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public com.mojang.brigadier.tree.RootCommandNode<SharedSuggestionProvider>
a(dl arg0)
getRoot(CommandBuildContext arg0)
method_11403(class_7157 arg0)
getCommandTree(CommandRegistryAccess commandRegistryAccess)
m_237624_(C_213173_ arg0)