Class PlayerInteractedWithEntityCriterion

All Implemented Interfaces:
Criterion<PlayerInteractedWithEntityCriterion.Conditions>

public class PlayerInteractedWithEntityCriterion extends AbstractCriterion<PlayerInteractedWithEntityCriterion.Conditions>
Mappings:
Namespace Name
official cp
intermediary net/minecraft/class_5409
named net/minecraft/advancement/criterion/PlayerInteractedWithEntityCriterion
  • Constructor Details

    • PlayerInteractedWithEntityCriterion

      public PlayerInteractedWithEntityCriterion()
  • Method Details

    • getConditionsCodec

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

      public void trigger(ServerPlayerEntity player, ItemStack stack, Entity entity)
      Mappings:
      Namespace Name Mixin selector
      official a Lcp;a(Lane;Lcmy;Lblv;)V
      intermediary method_30097 Lnet/minecraft/class_5409;method_30097(Lnet/minecraft/class_3222;Lnet/minecraft/class_1799;Lnet/minecraft/class_1297;)V
      named trigger Lnet/minecraft/advancement/criterion/PlayerInteractedWithEntityCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/Entity;)V