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 official dd
intermediary net/minecraft/class_4851
named net/minecraft/advancement/criterion/TargetHitCriterion
-
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 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
- Mappings:
Namespace Name Mixin selector official a
Ldd;a(Lane;Lblv;Lelt;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
named trigger
Lnet/minecraft/advancement/criterion/TargetHitCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/entity/Entity;Lnet/minecraft/util/math/Vec3d;I)V
-