net.minecraft.util.parsing.packrat.commands

public record Grammar<T>

bmp
net.minecraft.util.parsing.packrat.commands.Grammar
net.minecraft.class_9408
net.minecraft.command.argument.packrat.ArgumentParser
net.minecraft.src.C_313590_
net.minecraft.util.parsing.packrat.commands.Grammar

Field summary

Modifier and TypeField
private final Dictionary<com.mojang.brigadier.StringReader>
a
rules
comp_2484
rules
f_317156_
private final Atom<T>
b
top
comp_2485
top
f_316874_

Constructor summary

ModifierConstructor
public (Dictionary<com.mojang.brigadier.StringReader> top, Atom<T> arg1)

Method summary

Modifier and TypeMethod
public Optional<T>
a(bmk<com.mojang.brigadier.StringReader> arg0)
parse(ParseState<com.mojang.brigadier.StringReader> arg0)
method_58340(class_9393<com.mojang.brigadier.StringReader> arg0)
startParsing(ParsingState<com.mojang.brigadier.StringReader> state)
m_322930_(C_313745_<com.mojang.brigadier.StringReader> arg0)
public T
a(com.mojang.brigadier.StringReader arg0)
parseForCommands(com.mojang.brigadier.StringReader arg0)
method_58341(com.mojang.brigadier.StringReader arg0)
parse(com.mojang.brigadier.StringReader reader)
m_320023_(com.mojang.brigadier.StringReader arg0)
public CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
parseForSuggestions(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
method_58342(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
listSuggestions(com.mojang.brigadier.suggestion.SuggestionsBuilder builder)
m_320779_(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
public Dictionary<com.mojang.brigadier.StringReader>
a()
rules()
comp_2484()
rules()
f_317156_()
public Atom<T>
b()
top()
comp_2485()
top()
f_316874_()