Class PlayerInteractedWithEntityCriterion
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterion<PlayerInteractedWithEntityCriterion.Conditions>
net.minecraft.advancement.criterion.PlayerInteractedWithEntityCriterion
- All Implemented Interfaces:
Criterion<PlayerInteractedWithEntityCriterion.Conditions>
public class PlayerInteractedWithEntityCriterion
extends AbstractCriterion<PlayerInteractedWithEntityCriterion.Conditions>
- Mappings:
Namespace Name named net/minecraft/advancement/criterion/PlayerInteractedWithEntityCriterion
intermediary net/minecraft/class_5409
official dn
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
Nested classes/interfaces inherited from interface net.minecraft.advancement.criterion.Criterion
Criterion.ConditionsContainer<T extends CriterionConditions>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.serialization.Codec
<PlayerInteractedWithEntityCriterion.Conditions> void
trigger
(ServerPlayerEntity player, ItemStack stack, Entity entity) Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterion
beginTrackingCondition, endTracking, endTrackingCondition, trigger
-
Constructor Details
-
PlayerInteractedWithEntityCriterion
public PlayerInteractedWithEntityCriterion()
-
-
Method Details
-
getConditionsCodec
public com.mojang.serialization.Codec<PlayerInteractedWithEntityCriterion.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
- Mappings:
Namespace Name Mixin selector named trigger
Lnet/minecraft/advancement/criterion/PlayerInteractedWithEntityCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/item/ItemStack;Lnet/minecraft/entity/Entity;)V
intermediary method_30097
Lnet/minecraft/class_5409;method_30097(Lnet/minecraft/class_3222;Lnet/minecraft/class_1799;Lnet/minecraft/class_1297;)V
official a
Ldn;a(Laqv;Lcuq;Lbsr;)V
-