public class SAdvancementInfoPacket extends java.lang.Object implements IPacket<IClientPlayNetHandler>
Modifier and Type | Field and Description |
---|---|
private java.util.Map<ResourceLocation,Advancement.Builder> |
advancementsToAdd |
private java.util.Set<ResourceLocation> |
advancementsToRemove |
private boolean |
firstSync |
private java.util.Map<ResourceLocation,AdvancementProgress> |
progressUpdates |
Constructor and Description |
---|
SAdvancementInfoPacket() |
SAdvancementInfoPacket(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(IClientPlayNetHandler handler) |
void |
readPacketData(PacketBuffer buf) |
void |
writePacketData(PacketBuffer buf) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
shouldSkipErrors
private boolean firstSync
private java.util.Map<ResourceLocation,Advancement.Builder> advancementsToAdd
private java.util.Set<ResourceLocation> advancementsToRemove
private java.util.Map<ResourceLocation,AdvancementProgress> progressUpdates
public SAdvancementInfoPacket()
public SAdvancementInfoPacket(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(IClientPlayNetHandler handler)
processPacket
in interface IPacket<IClientPlayNetHandler>
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface IPacket<IClientPlayNetHandler>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface IPacket<IClientPlayNetHandler>
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()