net.minecraft.advancements

public class Criterion

z
net.minecraft.advancements.Criterion
net.minecraft.class_175
net.minecraft.advancement.AdvancementCriterion
net.minecraft.advancements.Criterion
net.minecraft.server.v1_15_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(kv arg0)
serializeToNetwork(FriendlyByteBuf arg0)
method_771(class_2540 arg0)
serialize(PacketByteBuf arg0)
func_192140_a(PacketBuffer arg0)
public static Criterion
a(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
criterionFromJson(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
method_770(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
deserialize(com.google.gson.JsonObject obj, com.google.gson.JsonDeserializationContext context)
func_192145_a(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
public static Criterion
b(kv arg0)
criterionFromNetwork(FriendlyByteBuf arg0)
method_769(class_2540 arg0)
createNew(PacketByteBuf buf)
func_192146_b(PacketBuffer arg0)
public static Map<String, Criterion>
b(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
criteriaFromJson(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
method_772(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
fromJson(com.google.gson.JsonObject obj, com.google.gson.JsonDeserializationContext context)
func_192144_b(com.google.gson.JsonObject arg0, com.google.gson.JsonDeserializationContext arg1)
public static Map<String, Criterion>
c(kv arg0)
criteriaFromNetwork(FriendlyByteBuf arg0)
method_768(class_2540 arg0)
fromPacket(PacketByteBuf buf)
func_192142_c(PacketBuffer arg0)
public static void
a(Map<String, z> arg0, kv arg1)
serializeToNetwork(Map<String, Criterion> arg0, FriendlyByteBuf arg1)
method_775(Map<String, class_175> arg0, class_2540 arg1)
serialize(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()