public static class Advancement.Builder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
Advancement |
build(ResourceLocation id) |
static Advancement.Builder |
deserialize(com.google.gson.JsonObject json,
com.google.gson.JsonDeserializationContext context) |
static Advancement.Builder |
readFrom(PacketBuffer buf) |
boolean |
resolveParent(java.util.function.Function<ResourceLocation,Advancement> lookup) |
java.lang.String |
toString() |
void |
writeTo(PacketBuffer buf) |
public boolean resolveParent(java.util.function.Function<ResourceLocation,Advancement> lookup)
public Advancement build(ResourceLocation id)
public void writeTo(PacketBuffer buf)
public java.lang.String toString()
toString
in class java.lang.Object
public static Advancement.Builder deserialize(com.google.gson.JsonObject json, com.google.gson.JsonDeserializationContext context)
public static Advancement.Builder readFrom(PacketBuffer buf) throws java.io.IOException
java.io.IOException