Class SAdvancementInfoPacket
- java.lang.Object
-
- net.minecraft.network.play.server.SAdvancementInfoPacket
-
- All Implemented Interfaces:
IPacket<IClientPlayNetHandler>
public class SAdvancementInfoPacket extends java.lang.Object implements IPacket<IClientPlayNetHandler>
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Map<ResourceLocation,Advancement.Builder>
added
private java.util.Map<ResourceLocation,AdvancementProgress>
progress
private java.util.Set<ResourceLocation>
removed
private boolean
reset
-
Constructor Summary
Constructors Constructor 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_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<ResourceLocation,Advancement.Builder>
getAdded()
java.util.Map<ResourceLocation,AdvancementProgress>
getProgress()
java.util.Set<ResourceLocation>
getRemoved()
void
handle(IClientPlayNetHandler p_148833_1_)
void
read(PacketBuffer p_148837_1_)
boolean
shouldReset()
void
write(PacketBuffer p_148840_1_)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.minecraft.network.IPacket
isSkippable
-
-
-
-
Field Detail
-
reset
private boolean reset
-
added
private java.util.Map<ResourceLocation,Advancement.Builder> added
-
removed
private java.util.Set<ResourceLocation> removed
-
progress
private java.util.Map<ResourceLocation,AdvancementProgress> progress
-
-
Constructor Detail
-
SAdvancementInfoPacket
public SAdvancementInfoPacket()
-
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_)
-
-
Method Detail
-
handle
public void handle(IClientPlayNetHandler p_148833_1_)
- Specified by:
handle
in interfaceIPacket<IClientPlayNetHandler>
-
read
public void read(PacketBuffer p_148837_1_) throws java.io.IOException
- Specified by:
read
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
java.io.IOException
-
write
public void write(PacketBuffer p_148840_1_) throws java.io.IOException
- Specified by:
write
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
java.io.IOException
-
getAdded
public java.util.Map<ResourceLocation,Advancement.Builder> getAdded()
-
getRemoved
public java.util.Set<ResourceLocation> getRemoved()
-
getProgress
public java.util.Map<ResourceLocation,AdvancementProgress> getProgress()
-
shouldReset
public boolean shouldReset()
-
-