Class TargetHitCriterion
java.lang.Object
net.minecraft.advancement.criterion.AbstractCriterion<TargetHitCriterion.Conditions>
net.minecraft.advancement.criterion.TargetHitCriterion
- All Implemented Interfaces:
Criterion<TargetHitCriterion.Conditions>
- Mappings:
Namespace Name named net/minecraft/advancement/criterion/TargetHitCriterion
intermediary net/minecraft/class_4851
official ef
-
Nested Class Summary
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
<TargetHitCriterion.Conditions> void
trigger
(ServerPlayerEntity player, Entity projectile, Vec3d hitPos, int signalStrength) Methods inherited from class net.minecraft.advancement.criterion.AbstractCriterion
beginTrackingCondition, endTracking, endTrackingCondition, trigger
-
Constructor Details
-
TargetHitCriterion
public TargetHitCriterion()
-
-
Method Details
-
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/TargetHitCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Vec3d;I)V
intermediary method_24861
Lnet/minecraft/class_4851;method_24861(Lnet/minecraft/class_3222;Lnet/minecraft/class_1297;Lnet/minecraft/class_243;I)V
official a
Lef;a(Laqu;Lbsq;Leww;I)V
-