net.minecraft.advancements

public class Advancement$Builder

u$a
net.minecraft.advancements.Advancement$Builder
net.minecraft.class_161$class_162
net.minecraft.advancement.Advancement$Task
net.minecraft.advancements.Advancement$Builder
net.minecraft.server.v1_15_R1.Advancement$SerializedAdvancement

Field summary

Modifier and TypeField
private ResourceLocation
a
parentId
field_1152
parentId
field_192061_a
private Advancement
b
parent
field_1149
parentObj
field_192062_b
private DisplayInfo
c
display
field_1147
display
field_192063_c
private AdvancementRewards
d
rewards
field_1153
rewards
field_192064_d
private Map<String, Criterion>
e
criteria
field_1148
criteria
field_192065_e
private String[][]
f
requirements
field_1150
requirements
field_192066_f
private RequirementsStrategy
g
requirementsStrategy
field_1151
merger
field_199751_g

Constructor summary

ModifierConstructor
private (ResourceLocation parentId, DisplayInfo display, AdvancementRewards rewards, Map<String, Criterion> criteria, String[][] requirements)
private ()

Method summary

Modifier and TypeMethod
public static Advancement$Builder
a()
advancement()
method_707()
create()
func_200278_a()
public Advancement$Builder
a(u arg0)
parent(Advancement arg0)
method_701(class_161 arg0)
parent(Advancement parent)
func_203905_a(Advancement arg0)
public Advancement$Builder
a(sm arg0)
parent(ResourceLocation arg0)
method_708(class_2960 arg0)
parent(Identifier parentId)
func_200272_a(ResourceLocation arg0)
public Advancement$Builder
a(bek arg0, lf arg1, lf arg2, sm arg3, ae arg4, boolean arg5, boolean arg6, boolean arg7)
display(ItemStack arg0, Component arg1, Component arg2, ResourceLocation arg3, FrameType arg4, boolean arg5, boolean arg6, boolean arg7)
method_20416(class_1799 arg0, class_2561 arg1, class_2561 arg2, class_2960 arg3, class_189 arg4, boolean arg5, boolean arg6, boolean arg7)
display(ItemStack icon, Text title, Text description, Identifier background, AdvancementFrame frame, boolean showToast, boolean announceToChat, boolean hidden)
func_215092_a(ItemStack arg0, ITextComponent arg1, ITextComponent arg2, ResourceLocation arg3, FrameType arg4, boolean arg5, boolean arg6, boolean arg7)
public Advancement$Builder
a(bjs arg0, lf arg1, lf arg2, sm arg3, ae arg4, boolean arg5, boolean arg6, boolean arg7)
display(ItemLike arg0, Component arg1, Component arg2, ResourceLocation arg3, FrameType arg4, boolean arg5, boolean arg6, boolean arg7)
method_697(class_1935 arg0, class_2561 arg1, class_2561 arg2, class_2960 arg3, class_189 arg4, boolean arg5, boolean arg6, boolean arg7)
display(ItemConvertible icon, Text title, Text description, Identifier background, AdvancementFrame frame, boolean showToast, boolean announceToChat, boolean hidden)
func_203902_a(IItemProvider arg0, ITextComponent arg1, ITextComponent arg2, ResourceLocation arg3, FrameType arg4, boolean arg5, boolean arg6, boolean arg7)
public Advancement$Builder
a(ad arg0)
display(DisplayInfo arg0)
method_693(class_185 arg0)
display(AdvancementDisplay display)
func_203903_a(DisplayInfo arg0)
public Advancement$Builder
a(x$a arg0)
rewards(AdvancementRewards$Builder arg0)
method_703(class_170$class_171 arg0)
rewards(AdvancementRewards$Builder arg0)
func_200271_a(AdvancementRewards$Builder arg0)
public Advancement$Builder
a(x arg0)
rewards(AdvancementRewards arg0)
method_706(class_170 arg0)
rewards(AdvancementRewards rewards)
func_200274_a(AdvancementRewards arg0)
public Advancement$Builder
a(String arg0, ac arg1)
addCriterion(String arg0, CriterionTriggerInstance arg1)
method_709(String arg0, class_184 arg1)
criterion(String conditions, CriterionConditions arg1)
func_200275_a(String arg0, ICriterionInstance arg1)
public Advancement$Builder
a(String arg0, z arg1)
addCriterion(String arg0, Criterion arg1)
method_705(String arg0, class_175 arg1)
criterion(String criterion, AdvancementCriterion arg1)
func_200276_a(String arg0, Criterion arg1)
public Advancement$Builder
a(af arg0)
requirements(RequirementsStrategy arg0)
method_704(class_193 arg0)
criteriaMerger(CriteriaMerger merger)
func_200270_a(IRequirementsStrategy arg0)
public boolean
a(Function<sm, u> arg0)
canBuild(Function<ResourceLocation, Advancement> arg0)
method_700(Function<class_2960, class_161> arg0)
findParent(Function<Identifier, Advancement> arg0)
func_192058_a(Function<ResourceLocation, Advancement> arg0)
public Advancement
b(sm arg0)
build(ResourceLocation arg0)
method_695(class_2960 arg0)
build(Identifier arg0)
func_192056_a(ResourceLocation arg0)
public Advancement
a(Consumer<u> arg0, String arg1)
save(Consumer<Advancement> arg0, String arg1)
method_694(Consumer<class_161> arg0, String arg1)
build(Consumer<Advancement> arg0, String arg1)
func_203904_a(Consumer<Advancement> arg0, String arg1)
public com.google.gson.JsonObject
b()
serializeToJson()
method_698()
toJson()
func_200273_b()
public void
a(kv arg0)
serializeToNetwork(FriendlyByteBuf arg0)
method_699(class_2540 arg0)
toPacket(PacketByteBuf arg0)
func_192057_a(PacketBuffer arg0)
public static Advancement$Builder
a(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
fromJson(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
method_692(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
fromJson(com.google.gson.JsonObject obj, com.google.gson.JsonDeserializationContext context)
func_192059_a(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
public static Advancement$Builder
b(kv arg0)
fromNetwork(FriendlyByteBuf arg0)
method_696(class_2540 arg0)
fromPacket(PacketByteBuf buf)
func_192060_b(PacketBuffer arg0)
public Map<String, Criterion>
c()
getCriteria()
method_710()
getCriteria()
func_200277_c()