All Methods Static Methods Instance Methods Concrete Methods
Modifier and Type |
Method and Description |
Advancement |
build(ResourceLocation id) |
static Advancement.Builder |
builder() |
static Advancement.Builder |
deserialize(com.google.gson.JsonObject json,
com.google.gson.JsonDeserializationContext context) |
java.util.Map<java.lang.String,Criterion> |
getCriteria() |
static Advancement.Builder |
readFrom(PacketBuffer buf) |
Advancement |
register(java.util.function.Consumer<Advancement> consumer,
java.lang.String id) |
boolean |
resolveParent(java.util.function.Function<ResourceLocation,Advancement> lookup) |
com.google.gson.JsonObject |
serialize() |
java.lang.String |
toString() |
Advancement.Builder |
withCriterion(java.lang.String key,
Criterion criterionIn) |
Advancement.Builder |
withCriterion(java.lang.String key,
ICriterionInstance criterionIn) |
Advancement.Builder |
withDisplay(DisplayInfo displayIn) |
Advancement.Builder |
withDisplay(IItemProvider itemIn,
ITextComponent title,
ITextComponent description,
ResourceLocation background,
FrameType frame,
boolean showToast,
boolean announceToChat,
boolean hidden) |
Advancement.Builder |
withDisplay(ItemStack stack,
ITextComponent title,
ITextComponent description,
ResourceLocation background,
FrameType frame,
boolean showToast,
boolean announceToChat,
boolean hidden) |
Advancement.Builder |
withParent(Advancement parentIn) |
Advancement.Builder |
withParentId(ResourceLocation parentIdIn) |
Advancement.Builder |
withRequirementsStrategy(IRequirementsStrategy strategy) |
Advancement.Builder |
withRewards(AdvancementRewards.Builder rewardsBuilder) |
Advancement.Builder |
withRewards(AdvancementRewards p_200274_1_) |
void |
writeTo(PacketBuffer buf) |