net.minecraft.network.protocol.game

public class ClientboundCommandsPacket

implements Packet<ClientGamePacketListener>

rn
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 com.mojang.brigadier.tree.RootCommandNode<SharedSuggestionProvider>
h
root
field_12123
commandTree
f_131858_

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(pn arg0)
write(FriendlyByteBuf arg0)
method_11052(class_2540 arg0)
write(PacketByteBuf arg0)
m_5779_(C_4983_ arg0)
private static void
a(List<rn$a> arg0)
resolveEntries(List<ClientboundCommandsPacket$Entry> arg0)
method_30946(List<class_2641$class_2642> arg0)
build(List<CommandTreeS2CPacket$CommandNodeData> nodeDatas)
m_178812_(List<C_5051_$C_5053_> p_178813_)
private static it.unimi.dsi.fastutil.objects.Object2IntMap<com.mojang.brigadier.tree.CommandNode<SharedSuggestionProvider>>
a(com.mojang.brigadier.tree.RootCommandNode<dp> 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<com.mojang.brigadier.tree.CommandNode<SharedSuggestionProvider>>
a(it.unimi.dsi.fastutil.objects.Object2IntMap<com.mojang.brigadier.tree.CommandNode<dp>> arg0)
getNodesInIdOrder(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_178806_(it.unimi.dsi.fastutil.objects.Object2IntMap<com.mojang.brigadier.tree.CommandNode<C_3063_>> p_178807_)
private static ClientboundCommandsPacket$Entry
b(pn arg0)
readNode(FriendlyByteBuf arg0)
method_11405(class_2540 arg0)
readCommandNode(PacketByteBuf buf)
m_131887_(C_4983_ p_131888_)
private static com.mojang.brigadier.builder.ArgumentBuilder<SharedSuggestionProvider, ?>
a(pn arg0, byte arg1)
createBuilder(FriendlyByteBuf arg0, byte arg1)
method_11402(class_2540 arg0, byte arg1)
readArgumentBuilder(PacketByteBuf buf, byte arg1)
m_131868_(C_4983_ p_131869_, byte p_131870_)
private static void
a(pn arg0, com.mojang.brigadier.tree.CommandNode<dp> arg1, Map<com.mojang.brigadier.tree.CommandNode<dp>, Integer> arg2)
writeNode(FriendlyByteBuf arg0, com.mojang.brigadier.tree.CommandNode<SharedSuggestionProvider> arg1, Map<com.mojang.brigadier.tree.CommandNode<SharedSuggestionProvider>, Integer> arg2)
method_11401(class_2540 arg0, com.mojang.brigadier.tree.CommandNode<class_2172> arg1, Map<com.mojang.brigadier.tree.CommandNode<class_2172>, Integer> arg2)
writeNode(PacketByteBuf buf, com.mojang.brigadier.tree.CommandNode<CommandSource> node, Map<com.mojang.brigadier.tree.CommandNode<CommandSource>, Integer> nodeToIndex)
m_131871_(C_4983_ p_131872_, com.mojang.brigadier.tree.CommandNode<C_3063_> p_131873_, Map<com.mojang.brigadier.tree.CommandNode<C_3063_>, Integer> p_131874_)
public void
a(qu arg0)
handle(ClientGamePacketListener arg0)
method_11404(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
m_5797_(C_5031_ arg0)
public com.mojang.brigadier.tree.RootCommandNode<SharedSuggestionProvider>
b()
getRoot()
method_11403()
getCommandTree()
m_131884_()