public class ServerAdvancementsPacket extends MinecraftPacket
| Constructor and Description |
|---|
ServerAdvancementsPacket(boolean reset,
List<Advancement> advancements,
List<String> removedAdvancements,
Map<String,Map<String,Long>> progress) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
doesReset() |
Long |
getAchievedDate(String advancementId,
String criterionId) |
List<Advancement> |
getAdvancements() |
Map<String,Map<String,Long>> |
getProgress() |
Map<String,Long> |
getProgress(String advancementId) |
List<String> |
getRemovedAdvancements() |
void |
read(com.github.steveice10.packetlib.io.NetInput in) |
void |
write(com.github.steveice10.packetlib.io.NetOutput out) |
isPriority, toStringpublic boolean doesReset()
public List<Advancement> getAdvancements()
public void read(com.github.steveice10.packetlib.io.NetInput in)
throws IOException
IOExceptionpublic void write(com.github.steveice10.packetlib.io.NetOutput out)
throws IOException
IOExceptionCopyright © 2020. All rights reserved.