net.minecraft.network.protocol.game

public class ClientboundCommandsPacket

implements Packet<ClientGamePacketListener>

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

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
NODE_TYPE_MASK
private static final byte
c
FLAG_EXECUTABLE
field_33318
EXECUTABLE
private static final byte
d
FLAG_REDIRECT
field_33319
HAS_REDIRECT
private static final byte
e
FLAG_CUSTOM_SUGGESTIONS
field_33320
HAS_SUGGESTION_PROVIDER
private static final byte
f
FLAG_RESTRICTED
field_60608
REQUIRES_LEVEL
private static final byte
g
TYPE_ROOT
field_33321
NODE_TYPE_ROOT
private static final byte
h
TYPE_LITERAL
field_33322
NODE_TYPE_LITERAL
private static final byte
i
TYPE_ARGUMENT
field_33323
NODE_TYPE_ARGUMENT
private final int
j
rootIndex
field_38038
rootSize
private final List<ClientboundCommandsPacket$Entry>
k
entries
field_38039
nodes

Constructor summary

ModifierConstructor
public <S>(com.mojang.brigadier.tree.RootCommandNode<S> rootIndex, ClientboundCommandsPacket$NodeInspector<S> inspector)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(wg arg0)
write(FriendlyByteBuf arg0)
method_55867(class_2540 arg0)
write(PacketByteBuf buf)
private static void
a(List<adi$b> arg0, BiPredicate<adi$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<adi$b> arg0)
validateEntries(List<ClientboundCommandsPacket$Entry> arg0)
method_30946(List<class_2641$class_2642> arg0)
validate(List<CommandTreeS2CPacket$CommandNodeData> nodeDatas)
private static <S> it.unimi.dsi.fastutil.objects.Object2IntMap<com.mojang.brigadier.tree.CommandNode<S>>
a(com.mojang.brigadier.tree.RootCommandNode<S> arg0)
enumerateNodes(com.mojang.brigadier.tree.RootCommandNode<S> arg0)
method_30944(com.mojang.brigadier.tree.RootCommandNode<S> arg0)
traverse(com.mojang.brigadier.tree.RootCommandNode<S> commandTree)
private static <S> List<ClientboundCommandsPacket$Entry>
a(it.unimi.dsi.fastutil.objects.Object2IntMap<com.mojang.brigadier.tree.CommandNode<S>> arg0, adi$e<S> arg1)
createEntries(it.unimi.dsi.fastutil.objects.Object2IntMap<com.mojang.brigadier.tree.CommandNode<S>> arg0, ClientboundCommandsPacket$NodeInspector<S> arg1)
method_30945(it.unimi.dsi.fastutil.objects.Object2IntMap<com.mojang.brigadier.tree.CommandNode<S>> arg0, class_2641$class_11409<S> arg1)
collectNodes(it.unimi.dsi.fastutil.objects.Object2IntMap<com.mojang.brigadier.tree.CommandNode<S>> nodeOrdinals, CommandTreeS2CPacket$CommandNodeInspector<S> inspector)
private static ClientboundCommandsPacket$Entry
b(wg arg0)
readNode(FriendlyByteBuf arg0)
method_11405(class_2540 arg0)
readCommandNode(PacketByteBuf buf)
private static ClientboundCommandsPacket$NodeStub
a(wg arg0, byte arg1)
read(FriendlyByteBuf arg0, byte arg1)
method_11402(class_2540 arg0, byte arg1)
readArgumentBuilder(PacketByteBuf buf, byte flags)
private static <S> ClientboundCommandsPacket$Entry
a(com.mojang.brigadier.tree.CommandNode<S> arg0, adi$e<S> arg1, it.unimi.dsi.fastutil.objects.Object2IntMap<com.mojang.brigadier.tree.CommandNode<S>> arg2)
createEntry(com.mojang.brigadier.tree.CommandNode<S> arg0, ClientboundCommandsPacket$NodeInspector<S> arg1, it.unimi.dsi.fastutil.objects.Object2IntMap<com.mojang.brigadier.tree.CommandNode<S>> arg2)
method_11401(com.mojang.brigadier.tree.CommandNode<S> arg0, class_2641$class_11409<S> arg1, it.unimi.dsi.fastutil.objects.Object2IntMap<com.mojang.brigadier.tree.CommandNode<S>> arg2)
createNodeData(com.mojang.brigadier.tree.CommandNode<S> node, CommandTreeS2CPacket$CommandNodeInspector<S> inspector, it.unimi.dsi.fastutil.objects.Object2IntMap<com.mojang.brigadier.tree.CommandNode<S>> nodeOrdinals)
public PacketType<ClientboundCommandsPacket>
a()
type()
method_65080()
getPacketType()
public void
a(acq arg0)
handle(ClientGamePacketListener arg0)
method_11404(class_2602 arg0)
apply(ClientPlayPacketListener arg0)
public <S> com.mojang.brigadier.tree.RootCommandNode<S>
a(eg arg0, adi$d<S> arg1)
getRoot(CommandBuildContext arg0, ClientboundCommandsPacket$NodeBuilder<S> arg1)
method_11403(class_7157 arg0, class_2641$class_11408<S> arg1)
getCommandTree(CommandRegistryAccess commandRegistryAccess, CommandTreeS2CPacket$NodeFactory<S> nodeFactory)