public class StorageAccessor extends java.lang.Object implements IDataAccessor
Modifier and Type | Field and Description |
---|---|
static java.util.function.Function<java.lang.String,DataCommand.IDataProvider> |
field_229833_a_ |
private static com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> |
field_229834_b_ |
private CommandStorage |
field_229835_c_ |
private ResourceLocation |
field_229836_d_ |
Modifier | Constructor and Description |
---|---|
private |
StorageAccessor(CommandStorage p_i226092_1_,
ResourceLocation p_i226092_2_) |
Modifier and Type | Method and Description |
---|---|
private static CommandStorage |
func_229840_b_(com.mojang.brigadier.context.CommandContext<CommandSource> p_229840_0_) |
CompoundNBT |
getData() |
ITextComponent |
getGetMessage(NBTPathArgument.NBTPath pathIn,
double scale,
int value) |
ITextComponent |
getModifiedMessage() |
ITextComponent |
getQueryMessage(INBT nbt) |
void |
mergeData(CompoundNBT other) |
private static final com.mojang.brigadier.suggestion.SuggestionProvider<CommandSource> field_229834_b_
public static final java.util.function.Function<java.lang.String,DataCommand.IDataProvider> field_229833_a_
private final CommandStorage field_229835_c_
private final ResourceLocation field_229836_d_
private StorageAccessor(CommandStorage p_i226092_1_, ResourceLocation p_i226092_2_)
private static CommandStorage func_229840_b_(com.mojang.brigadier.context.CommandContext<CommandSource> p_229840_0_)
public void mergeData(CompoundNBT other)
mergeData
in interface IDataAccessor
public CompoundNBT getData()
getData
in interface IDataAccessor
public ITextComponent getModifiedMessage()
getModifiedMessage
in interface IDataAccessor
public ITextComponent getQueryMessage(INBT nbt)
getQueryMessage
in interface IDataAccessor
public ITextComponent getGetMessage(NBTPathArgument.NBTPath pathIn, double scale, int value)
getGetMessage
in interface IDataAccessor