Constructor and Description |
---|
QuestData() |
Modifier and Type | Method and Description |
---|---|
void |
abandonQuest(java.lang.String filename,
java.util.UUID identifier) |
QuestData |
get(net.minecraft.entity.player.ServerPlayerEntity player,
boolean update) |
net.minecraft.entity.player.ServerPlayerEntity |
getPlayer() |
java.util.ArrayList<QuestProgress> |
getProgress() |
QuestProgress |
getProgressForQuest(java.lang.String filename) |
QuestProgress |
getProgressForQuest(java.lang.String filename,
boolean underscoreSpaces) |
void |
hideTracking() |
void |
readFromNBT(net.minecraft.nbt.CompoundNBT nbt) |
void |
receive(java.lang.String identifier,
java.lang.Object... args) |
void |
receiveInternal(java.lang.String identifier,
boolean breakOnSuccess,
java.lang.Object... args) |
void |
receiveMultiple(java.lang.String[] identifiers,
java.lang.Object[][] args) |
void |
receiveMultipleInternal(java.lang.String[] identifiers,
java.lang.Object[][] args,
boolean breakOnSuccess) |
void |
setTracking(QuestProgress progress) |
void |
writeToNBT(net.minecraft.nbt.CompoundNBT nbt) |
public QuestData get(net.minecraft.entity.player.ServerPlayerEntity player, boolean update)
public net.minecraft.entity.player.ServerPlayerEntity getPlayer()
public java.util.ArrayList<QuestProgress> getProgress()
public QuestProgress getProgressForQuest(java.lang.String filename)
public QuestProgress getProgressForQuest(java.lang.String filename, boolean underscoreSpaces)
public void receiveInternal(java.lang.String identifier, boolean breakOnSuccess, java.lang.Object... args)
public void receive(java.lang.String identifier, java.lang.Object... args) throws InvalidQuestArgsException
InvalidQuestArgsException
public void receiveMultipleInternal(java.lang.String[] identifiers, java.lang.Object[][] args, boolean breakOnSuccess)
public void receiveMultiple(java.lang.String[] identifiers, java.lang.Object[][] args) throws InvalidQuestArgsException
InvalidQuestArgsException
public void abandonQuest(java.lang.String filename, java.util.UUID identifier)
public void setTracking(QuestProgress progress)
public void hideTracking()
public void writeToNBT(net.minecraft.nbt.CompoundNBT nbt)
writeToNBT
in interface ISaveData
public void readFromNBT(net.minecraft.nbt.CompoundNBT nbt)
readFromNBT
in interface ISaveData