public class SPacketAdvancementInfo extends java.lang.Object implements Packet<INetHandlerPlayClient>
Constructor and Description |
---|
SPacketAdvancementInfo() |
SPacketAdvancementInfo(boolean p_i47519_1_,
java.util.Collection<Advancement> p_i47519_2_,
java.util.Set<ResourceLocation> p_i47519_3_,
java.util.Map<ResourceLocation,AdvancementProgress> p_i47519_4_) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<ResourceLocation,Advancement.Builder> |
getAdvancementsToAdd() |
java.util.Set<ResourceLocation> |
getAdvancementsToRemove() |
java.util.Map<ResourceLocation,AdvancementProgress> |
getProgressUpdates() |
boolean |
isFirstSync() |
void |
processPacket(INetHandlerPlayClient handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
public SPacketAdvancementInfo()
public SPacketAdvancementInfo(boolean p_i47519_1_, java.util.Collection<Advancement> p_i47519_2_, java.util.Set<ResourceLocation> p_i47519_3_, java.util.Map<ResourceLocation,AdvancementProgress> p_i47519_4_)
public void processPacket(INetHandlerPlayClient handler)
processPacket
in interface Packet<INetHandlerPlayClient>
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface Packet<INetHandlerPlayClient>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface Packet<INetHandlerPlayClient>
java.io.IOException
public java.util.Map<ResourceLocation,Advancement.Builder> getAdvancementsToAdd()
public java.util.Set<ResourceLocation> getAdvancementsToRemove()
public java.util.Map<ResourceLocation,AdvancementProgress> getProgressUpdates()
public boolean isFirstSync()