Class SAdvancementInfoPacket
java.lang.Object
net.minecraft.network.play.server.SAdvancementInfoPacket
- All Implemented Interfaces:
IPacket<IClientPlayNetHandler>
-
Field Summary
Modifier and TypeFieldDescriptionprivate Map<ResourceLocation,
Advancement.Builder> private Map<ResourceLocation,
AdvancementProgress> private Set<ResourceLocation>
private boolean
-
Constructor Summary
ConstructorDescriptionSAdvancementInfoPacket
(boolean p_i47519_1_, Collection<Advancement> p_i47519_2_, Set<ResourceLocation> p_i47519_3_, Map<ResourceLocation, AdvancementProgress> p_i47519_4_) -
Method Summary
Modifier and TypeMethodDescriptiongetAdded()
void
handle
(IClientPlayNetHandler p_148833_1_) void
read
(PacketBuffer p_148837_1_) boolean
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 Details
-
reset
private boolean reset -
added
-
removed
-
progress
-
-
Constructor Details
-
SAdvancementInfoPacket
public SAdvancementInfoPacket() -
SAdvancementInfoPacket
public SAdvancementInfoPacket(boolean p_i47519_1_, Collection<Advancement> p_i47519_2_, Set<ResourceLocation> p_i47519_3_, Map<ResourceLocation, AdvancementProgress> p_i47519_4_)
-
-
Method Details
-
handle
- Specified by:
handle
in interfaceIPacket<IClientPlayNetHandler>
-
read
- Specified by:
read
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
IOException
-
write
- Specified by:
write
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
IOException
-
getAdded
-
getRemoved
-
getProgress
-
shouldReset
public boolean shouldReset()
-