Class DefaultBlockUseCriterion

All Implemented Interfaces:
Criterion<DefaultBlockUseCriterion.Conditions>

public class DefaultBlockUseCriterion extends AbstractCriterion<DefaultBlockUseCriterion.Conditions>
Mappings:
Namespace Name
named net/minecraft/advancement/criterion/DefaultBlockUseCriterion
intermediary net/minecraft/class_9107
official bm
  • Constructor Details

    • DefaultBlockUseCriterion

      public DefaultBlockUseCriterion()
  • Method Details

    • getConditionsCodec

      public com.mojang.serialization.Codec<DefaultBlockUseCriterion.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 Lar;a()Lcom/mojang/serialization/Codec;
    • trigger

      public void trigger(ServerPlayerEntity player, BlockPos pos)
      Mappings:
      Namespace Name Mixin selector
      named trigger Lnet/minecraft/advancement/criterion/DefaultBlockUseCriterion;trigger(Lnet/minecraft/server/network/ServerPlayerEntity;Lnet/minecraft/util/math/BlockPos;)V
      intermediary method_56066 Lnet/minecraft/class_9107;method_56066(Lnet/minecraft/class_3222;Lnet/minecraft/class_2338;)V
      official a Lbm;a(Lasi;Ljh;)V