net.minecraft.server.commands.data

public class DataCommands

ajh
net.minecraft.server.commands.data.DataCommands
net.minecraft.class_3164
net.minecraft.unmapped.C_runmekgk
net.minecraft.server.command.DataCommand
net.minecraft.server.command.DataCommand
net.minecraft.src.C_5398_
net.minecraft.server.commands.data.CommandData

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
d
ERROR_MERGE_UNCHANGED
field_13796
f_gqntdrbs
MERGE_FAILED_EXCEPTION
MERGE_FAILED_EXCEPTION
f_139352_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
e
ERROR_GET_NOT_NUMBER
field_13791
f_oowlzkev
GET_INVALID_EXCEPTION
GET_INVALID_EXCEPTION
f_139353_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
f
ERROR_GET_NON_EXISTENT
field_13793
f_rinogdqk
GET_UNKNOWN_EXCEPTION
GET_UNKNOWN_EXCEPTION
f_139354_
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
g
ERROR_MULTIPLE_TAGS
field_13794
f_ijzhchry
GET_MULTIPLE_EXCEPTION
GET_MULTIPLE_EXCEPTION
f_139355_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
h
ERROR_EXPECTED_OBJECT
field_13797
f_swutyqtg
MODIFY_EXPECTED_OBJECT_EXCEPTION
MODIFY_EXPECTED_OBJECT_EXCEPTION
f_139357_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
i
ERROR_EXPECTED_VALUE
field_41747
f_qmavfhhs
MODIFY_EXPECTED_VALUE_EXCEPTION
MODIFY_EXPECTED_VALUE_EXCEPTION
f_263767_
private static final com.mojang.brigadier.exceptions.Dynamic2CommandExceptionType
j
ERROR_INVALID_SUBSTRING
field_44916
f_jyfgqakd
MODIFY_INVALID_SUBSTRING_EXCEPTION
MODIFY_INVALID_SUBSTRING_EXCEPTION
f_287793_
public static final List<Function<String, DataCommands$DataProvider>>
a
ALL_PROVIDERS
field_13790
f_kfnontvz
OBJECT_TYPE_FACTORIES
OBJECT_TYPE_FACTORIES
f_139349_
public static final List<DataCommands$DataProvider>
b
TARGET_PROVIDERS
field_13798
f_nibntpnd
TARGET_OBJECT_TYPES
TARGET_OBJECT_TYPES
f_139350_
public static final List<DataCommands$DataProvider>
c
SOURCE_PROVIDERS
field_13792
f_bacblakr
SOURCE_OBJECT_TYPES
SOURCE_OBJECT_TYPES
f_139351_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<dt> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0)
method_13905(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
m_wsbyfyqp(com.mojang.brigadier.CommandDispatcher<C_pennblrk> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
m_139365_(com.mojang.brigadier.CommandDispatcher<C_2969_> p_139366_)
private static String
a(rq arg0)
getAsText(Tag arg0)
method_48096(class_2520 arg0)
m_glhcdcla(C_oivssbvb arg0)
asString(NbtElement nbt)
nbtToString(NbtElement nbt)
m_264579_(C_4950_ p_265255_)
private static List<Tag>
a(List<rq> arg0, ajh$d arg1)
stringifyTagList(List<Tag> arg0, DataCommands$StringProcessor arg1)
method_48095(List<class_2520> arg0, class_3164$class_8569 arg1)
m_wgvzizqu(List<C_oivssbvb> arg0, C_runmekgk$C_gcrgsjks arg1)
mapValues(List<NbtElement> list, DataCommand$Processor processor)
nbtListToString(List<NbtElement> nbtList, DataCommand$Processor arg1)
m_288215_(List<C_4950_> p_288980_, C_5398_$C_287784_ p_289012_)
private static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>
a(BiConsumer<com.mojang.brigadier.builder.ArgumentBuilder<dt, ?>, ajh$b> arg0)
decorateModification(BiConsumer<com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack, ?>, DataCommands$DataManipulatorDecorator> arg0)
method_13898(BiConsumer<com.mojang.brigadier.builder.ArgumentBuilder<class_2168, ?>, class_3164$class_3166> arg0)
m_oxwwvvte(BiConsumer<com.mojang.brigadier.builder.ArgumentBuilder<C_pennblrk, ?>, C_runmekgk$C_dgfqqfje> arg0)
addModifyArgument(BiConsumer<com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?>, DataCommand$ModifyArgumentCreator> subArgumentAdder)
addModifyArgument(BiConsumer<com.mojang.brigadier.builder.ArgumentBuilder<ServerCommandSource, ?>, DataCommand$ModifyArgumentCreator> subArgumentAdder)
m_139403_(BiConsumer<com.mojang.brigadier.builder.ArgumentBuilder<C_2969_, ?>, C_5398_$C_5400_> p_139404_)
private static String
a(String arg0, int arg1, int arg2)
validatedSubstring(String arg0, int arg1, int arg2)
method_52165(String arg0, int arg1, int arg2)
m_vczznsyh(String arg0, int arg1, int arg2)
substringInternal(String string, int startIndex, int endIndex)
m_288220_(String p_288976_, int p_288968_, int p_289018_)
private static String
b(String arg0, int arg1, int arg2)
substring(String arg0, int arg1, int arg2)
method_51826(String arg0, int arg1, int arg2)
m_kqptzqsn(String arg0, int arg1, int arg2)
substring(String string, int startIndex, int endIndex)
m_287271_(String p_287625_, int p_287772_, int p_287598_)
private static String
a(String arg0, int arg1)
substring(String arg0, int arg1)
method_51825(String arg0, int arg1)
m_eusmwbbd(String arg0, int arg1)
substring(String string, int startIndex)
m_287230_(String p_287744_, int p_287741_)
private static int
a(int arg0, int arg1)
getOffset(int arg0, int arg1)
method_51824(int arg0, int arg1)
m_ksaucgqo(int arg0, int arg1)
getSubstringIndex(int index, int length)
m_287144_(int p_287638_, int p_287600_)
private static List<Tag>
a(com.mojang.brigadier.context.CommandContext<dt> arg0, ajh$c arg1)
getSingletonSource(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, DataCommands$DataProvider arg1)
method_48091(com.mojang.brigadier.context.CommandContext<class_2168> arg0, class_3164$class_3167 arg1)
m_iwwjbtim(com.mojang.brigadier.context.CommandContext<C_pennblrk> arg0, C_runmekgk$C_zbamutva arg1)
getValues(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, DataCommand$ObjectType objectType)
getNbt(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, DataCommand$ObjectType type)
m_264092_(com.mojang.brigadier.context.CommandContext<C_2969_> p_265108_, C_5398_$C_5401_ p_265370_)
private static List<Tag>
b(com.mojang.brigadier.context.CommandContext<dt> arg0, ajh$c arg1)
resolveSourcePath(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, DataCommands$DataProvider arg1)
method_48098(com.mojang.brigadier.context.CommandContext<class_2168> arg0, class_3164$class_3167 arg1)
m_rliybygz(com.mojang.brigadier.context.CommandContext<C_pennblrk> arg0, C_runmekgk$C_zbamutva arg1)
getValuesByPath(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, DataCommand$ObjectType objectType)
getNbtFromSourcePath(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, DataCommand$ObjectType type)
m_264549_(com.mojang.brigadier.context.CommandContext<C_2969_> p_265468_, C_5398_$C_5401_ p_265670_)
private static int
a(com.mojang.brigadier.context.CommandContext<dt> arg0, ajh$c arg1, ajh$a arg2, List<rq> arg3)
manipulateData(com.mojang.brigadier.context.CommandContext<CommandSourceStack> arg0, DataCommands$DataProvider arg1, DataCommands$DataManipulator arg2, List<Tag> arg3)
method_13920(com.mojang.brigadier.context.CommandContext<class_2168> arg0, class_3164$class_3167 arg1, class_3164$class_3165 arg2, List<class_2520> arg3)
m_oqmrqhjx(com.mojang.brigadier.context.CommandContext<C_pennblrk> arg0, C_runmekgk$C_zbamutva arg1, C_runmekgk$C_ceumtqan arg2, List<C_oivssbvb> arg3)
executeModify(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, DataCommand$ObjectType objectType, DataCommand$ModifyOperation modifier, List<NbtElement> elements)
executeModify(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, DataCommand$ObjectType objectType, DataCommand$ModifyOperation modifier, List<NbtElement> elements)
m_139375_(com.mojang.brigadier.context.CommandContext<C_2969_> p_139376_, C_5398_$C_5401_ p_139377_, C_5398_$C_5399_ p_139378_, List<C_4950_> p_139379_)
private static int
a(dt arg0, ajg arg1, ej$g arg2)
removeData(CommandSourceStack arg0, DataAccessor arg1, NbtPathArgument$NbtPath arg2)
method_13885(class_2168 arg0, class_3162 arg1, class_2203$class_2209 arg2)
m_rkkzhmvr(C_pennblrk arg0, C_hhiwwgvm arg1, C_xondkbcs$C_rgpfrkey arg2)
executeRemove(ServerCommandSource source, DataCommandObject object, NbtPathArgumentType$NbtPath path)
executeRemove(ServerCommandSource source, DataCommandObject object, NbtPathArgumentType$NbtPath path)
m_139385_(C_2969_ p_139386_, C_5395_ p_139387_, C_3685_$C_3692_ p_139388_)
public static Tag
a(ej$g arg0, ajg arg1)
getSingleTag(NbtPathArgument$NbtPath arg0, DataAccessor arg1)
method_13921(class_2203$class_2209 arg0, class_3162 arg1)
m_diolfzoj(C_xondkbcs$C_rgpfrkey arg0, C_hhiwwgvm arg1)
getNbt(NbtPathArgumentType$NbtPath path, DataCommandObject object)
getNbt(NbtPathArgumentType$NbtPath path, DataCommandObject object)
m_139398_(C_3685_$C_3692_ p_139399_, C_5395_ p_139400_)
private static int
b(dt arg0, ajg arg1, ej$g arg2)
getData(CommandSourceStack arg0, DataAccessor arg1, NbtPathArgument$NbtPath arg2)
method_13916(class_2168 arg0, class_3162 arg1, class_2203$class_2209 arg2)
m_zavixrqt(C_pennblrk arg0, C_hhiwwgvm arg1, C_xondkbcs$C_rgpfrkey arg2)
executeGet(ServerCommandSource source, DataCommandObject object, NbtPathArgumentType$NbtPath path)
executeGet(ServerCommandSource source, DataCommandObject object, NbtPathArgumentType$NbtPath path)
m_139443_(C_2969_ p_139444_, C_5395_ p_139445_, C_3685_$C_3692_ p_139446_)
private static int
a(dt arg0, ajg arg1, ej$g arg2, double arg3)
getNumeric(CommandSourceStack arg0, DataAccessor arg1, NbtPathArgument$NbtPath arg2, double arg3)
method_13903(class_2168 arg0, class_3162 arg1, class_2203$class_2209 arg2, double arg3)
m_iorzbxjx(C_pennblrk arg0, C_hhiwwgvm arg1, C_xondkbcs$C_rgpfrkey arg2, double arg3)
executeGet(ServerCommandSource source, DataCommandObject object, NbtPathArgumentType$NbtPath path, double scale)
executeGet(ServerCommandSource source, DataCommandObject object, NbtPathArgumentType$NbtPath path, double scale)
m_139389_(C_2969_ p_139390_, C_5395_ p_139391_, C_3685_$C_3692_ p_139392_, double p_139393_)
private static int
a(dt arg0, ajg arg1)
getData(CommandSourceStack arg0, DataAccessor arg1)
method_13908(class_2168 arg0, class_3162 arg1)
m_ptducmmk(C_pennblrk arg0, C_hhiwwgvm arg1)
executeGet(ServerCommandSource source, DataCommandObject object)
executeGet(ServerCommandSource source, DataCommandObject object)
m_139382_(C_2969_ p_139383_, C_5395_ p_139384_)
private static int
a(dt arg0, ajg arg1, qw arg2)
mergeData(CommandSourceStack arg0, DataAccessor arg1, CompoundTag arg2)
method_13901(class_2168 arg0, class_3162 arg1, class_2487 arg2)
m_rkhqijnh(C_pennblrk arg0, C_hhiwwgvm arg1, C_hhlwcnih arg2)
executeMerge(ServerCommandSource source, DataCommandObject object, NbtCompound nbt)
executeMerge(ServerCommandSource source, DataCommandObject object, NbtCompound nbt)
m_139394_(C_2969_ p_139395_, C_5395_ p_139396_, C_4917_ p_139397_)