Class SummonedEntityCriterion

All Implemented Interfaces:
Criterion<SummonedEntityCriterion.Conditions>

public class SummonedEntityCriterion extends AbstractCriterion<SummonedEntityCriterion.Conditions>
Mappings:
Namespace Name
named net/minecraft/advancement/criterion/SummonedEntityCriterion
intermediary net/minecraft/class_2128
official ec
  • Constructor Details

    • SummonedEntityCriterion

      public SummonedEntityCriterion()
  • Method Details

    • getConditionsCodec

      public com.mojang.serialization.Codec<SummonedEntityCriterion.Conditions> getConditionsCodec()
      Mappings:
      Namespace Name Mixin selector
      named getConditionsCodec Lnet/minecraft/advancement/criterion/Criterion;getConditionsCodec()Lcom/mojang/serialization/Codec;
      intermediary method_54937 Lnet/minecraft/class_179;method_54937()Lcom/mojang/serialization/Codec;
      official a Laq;a()Lcom/mojang/serialization/Codec;
    • trigger

      public void trigger(ServerPlayerEntity player, Entity entity)
      Mappings:
      Namespace Name Mixin selector
      named trigger Lnet/minecraft/advancement/criterion/SummonedEntityCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/entity/Entity;)V
      intermediary method_9124 Lnet/minecraft/class_2128;method_9124(Lnet/minecraft/class_3222;Lnet/minecraft/class_1297;)V
      official a Lec;a(Laqv;Lbsr;)V