net.minecraft.commands.arguments.blocks

public class BlockStateParser

dv
net.minecraft.commands.arguments.blocks.BlockStateParser
net.minecraft.class_2259
net.minecraft.command.arguments.BlockArgumentParser
net.minecraft.command.arguments.BlockStateParser
net.minecraft.server.v1_15_R1.ArgumentBlock

Field summary

Modifier and TypeField
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
a
ERROR_NO_TAGS_ALLOWED
field_10691
DISALLOWED_TAG_EXCEPTION
field_199831_a
public static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
b
ERROR_UNKNOWN_BLOCK
field_10690
INVALID_BLOCK_ID_EXCEPTION
field_197259_a
public static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
c
ERROR_UNKNOWN_PROPERTY
field_10695
UNKNOWN_PROPERTY_EXCEPTION
field_197260_b
public static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
d
ERROR_DUPLICATE_PROPERTY
field_10692
DUPLICATE_PROPERTY_EXCEPTION
field_197261_c
public static final com.mojang.brigadier.exceptions.Dynamic3CommandExceptionType
e
ERROR_INVALID_VALUE
field_10683
INVALID_PROPERTY_EXCEPTION
field_197262_d
public static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
f
ERROR_EXPECTED_VALUE
field_10688
EMPTY_PROPERTY_EXCEPTION
field_197263_e
public static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
g
ERROR_EXPECTED_END_OF_PROPERTIES
field_10684
UNCLOSED_PROPERTIES_EXCEPTION
field_197264_f
private static final Function<com.mojang.brigadier.suggestion.SuggestionsBuilder, CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>>
h
SUGGEST_NOTHING
field_10682
SUGGEST_DEFAULT
field_197265_g
private final com.mojang.brigadier.StringReader
i
reader
field_10698
reader
field_197266_h
private final boolean
j
forTesting
field_10687
allowTag
field_199832_j
private final Map<Property<?>, Comparable<?>>
k
properties
field_10699
blockProperties
field_197267_i
private final Map<String, String>
l
vagueProperties
field_10685
tagProperties
field_200141_l
private ResourceLocation
m
id
field_10697
blockId
field_197268_j
private StateDefinition<Block, BlockState>
n
definition
field_10689
stateFactory
field_197269_k
private BlockState
o
state
field_10686
blockState
field_197270_l
private CompoundTag
p
nbt
field_10693
data
field_197271_m
private ResourceLocation
q
tag
field_10681
tagId
field_199833_p
private int
r
tagCursor
field_10694
cursorPos
field_201954_r
private Function<com.mojang.brigadier.suggestion.SuggestionsBuilder, CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>>
s
suggestions
field_10696
suggestions
field_197272_n

Constructor summary

ModifierConstructor
public (com.mojang.brigadier.StringReader reader, boolean allowTag)

Method summary

Modifier and TypeMethod
public Map<Property<?>, Comparable<?>>
a()
getProperties()
method_9692()
getBlockProperties()
func_197254_a()
getStateMap()
public BlockState
b()
getState()
method_9669()
getBlockState()
func_197249_b()
getBlockData()
public CompoundTag
c()
getNbt()
method_9694()
getNbtData()
func_197241_c()
public ResourceLocation
d()
getTag()
method_9664()
getTagId()
func_199829_d()
public BlockStateParser
a(boolean arg0)
parse(boolean arg0)
method_9678(boolean arg0)
parse(boolean allowNbt)
func_197243_a(boolean arg0)
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
b(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
suggestPropertyNameOrEnd(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
method_9671(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
suggestBlockPropertiesOrEnd(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
func_197252_b(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
c(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
suggestVaguePropertyNameOrEnd(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
method_9674(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
suggestTagPropertiesOrEnd(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
func_200136_c(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
d(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
suggestPropertyName(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
method_9665(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
suggestBlockProperties(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
func_197256_c(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
e(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
suggestVaguePropertyName(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
method_9667(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
suggestTagProperties(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
func_200134_e(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
f(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
suggestOpenNbt(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
method_9687(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
suggestSnbt(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
func_197244_d(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
private boolean
k()
hasBlockEntity()
method_9676()
hasBlockEntity()
func_212598_k()
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
g(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
suggestEquals(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
method_9693(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
suggestEqualsCharacter(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
func_197246_e(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
h(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
suggestNextPropertyOrEnd(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
method_9689(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
suggestCommaOrEnd(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
func_197248_f(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
private static <T extends Comparable<T>> com.mojang.brigadier.suggestion.SuggestionsBuilder
a(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, bzj<T> arg1)
addSuggestions(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, Property<T> arg1)
method_9662(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, class_2769<T> arg1)
suggestPropertyValues(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, Property<T> arg1)
func_201037_a(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, IProperty<T> arg1)
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, String arg1)
suggestVaguePropertyValue(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, String arg1)
method_9690(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, String arg1)
suggestTagPropertyValues(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, String arg1)
func_200140_a(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0, String arg1)
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
i(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
suggestOpenVaguePropertiesOrNbt(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
method_9679(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
suggestSnbtOrTagProperties(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
func_212599_i(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
j(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
suggestOpenPropertiesOrNbt(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
method_9681(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
suggestSnbtOrBlockProperties(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
func_197255_g(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
k(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
suggestTag(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
method_9670(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
suggestIdentifiers(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
func_201953_j(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
private CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
l(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
suggestBlockIdOrTag(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
method_9673(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
suggestBlockOrTagId(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
func_197250_h(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
public void
e()
readBlock()
method_9675()
parseBlockId()
func_197258_d()
public void
f()
readTag()
method_9677()
parseTagId()
func_199827_f()
public void
g()
readProperties()
method_9659()
parseBlockProperties()
func_197257_e()
public void
h()
readVagueProperties()
method_9680()
parseTagProperties()
func_200137_h()
public void
i()
readNbt()
method_9672()
parseSnbt()
func_197240_f()
private <T extends Comparable<T>> void
a(bzj<T> arg0, String arg1, int arg2)
setValue(Property<T> arg0, String arg1, int arg2)
method_9668(class_2769<T> arg0, String arg1, int arg2)
parsePropertyValue(Property<T> arg0, String arg1, int arg2)
func_197253_a(IProperty<T> arg0, String arg1, int arg2)
public static String
a(byg arg0)
serialize(BlockState arg0)
method_9685(class_2680 arg0)
stringifyBlockState(BlockState arg0)
func_197247_a(BlockState arg0)
private static <T extends Comparable<T>> void
a(StringBuilder arg0, bzj<T> arg1, Comparable<?> arg2)
appendProperty(StringBuilder arg0, Property<T> arg1, Comparable<?> arg2)
method_9663(StringBuilder arg0, class_2769<T> arg1, Comparable<?> arg2)
stringifyProperty(StringBuilder arg0, Property<T> arg1, Comparable<?> arg2)
func_211375_a(StringBuilder arg0, IProperty<T> arg1, Comparable<?> arg2)
public CompletableFuture<com.mojang.brigadier.suggestion.Suggestions>
a(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
fillSuggestions(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
method_9666(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
getSuggestions(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
func_197245_a(com.mojang.brigadier.suggestion.SuggestionsBuilder arg0)
public Map<String, String>
j()
getVagueProperties()
method_9688()
getProperties()
func_200139_j()