net.minecraft.advancements

public class Criterion

ab
net.minecraft.advancements.Criterion
net.minecraft.class_175
net.minecraft.advancement.AdvancementCriterion
net.minecraft.advancements.Criterion
net.minecraft.server.v1_16_R1.Criterion

Field summary

Modifier and TypeField
private final CriterionTriggerInstance
a
trigger
field_1214
conditions
field_192147_a

Constructor summary

ModifierConstructor
public (CriterionTriggerInstance conditions)
public ()

Method summary

Modifier and TypeMethod
public void
a(mg arg0)
serializeToNetwork(FriendlyByteBuf arg0)
method_771(class_2540 arg0)
toPacket(PacketByteBuf buf)
func_192140_a(PacketBuffer arg0)
public static Criterion
a(com.google.gson.JsonObject arg0, av arg1)
criterionFromJson(com.google.gson.JsonObject arg0, DeserializationContext arg1)
method_770(com.google.gson.JsonObject arg0, class_5257 arg1)
fromJson(com.google.gson.JsonObject obj, AdvancementEntityPredicateDeserializer predicateDeserializer)
func_232633_a_(com.google.gson.JsonObject arg0, ConditionArrayParser arg1)
public static Criterion
b(mg arg0)
criterionFromNetwork(FriendlyByteBuf arg0)
method_769(class_2540 arg0)
fromPacket(PacketByteBuf buf)
func_192146_b(PacketBuffer arg0)
public static Map<String, Criterion>
b(com.google.gson.JsonObject arg0, av arg1)
criteriaFromJson(com.google.gson.JsonObject arg0, DeserializationContext arg1)
method_772(com.google.gson.JsonObject arg0, class_5257 arg1)
criteriaFromJson(com.google.gson.JsonObject obj, AdvancementEntityPredicateDeserializer predicateDeserializer)
func_232634_b_(com.google.gson.JsonObject arg0, ConditionArrayParser arg1)
public static Map<String, Criterion>
c(mg arg0)
criteriaFromNetwork(FriendlyByteBuf arg0)
method_768(class_2540 arg0)
criteriaFromPacket(PacketByteBuf buf)
func_192142_c(PacketBuffer arg0)
public static void
a(Map<String, ab> arg0, mg arg1)
serializeToNetwork(Map<String, Criterion> arg0, FriendlyByteBuf arg1)
method_775(Map<String, class_175> arg0, class_2540 arg1)
criteriaToPacket(Map<String, AdvancementCriterion> criteria, PacketByteBuf buf)
func_192141_a(Map<String, Criterion> arg0, PacketBuffer arg1)
public CriterionTriggerInstance
a()
getTrigger()
method_774()
getConditions()
func_192143_a()
public com.google.gson.JsonElement
b()
serializeToJson()
method_773()
toJson()
func_200287_b()