Class BlockPredicate

java.lang.Object
net.minecraft.predicate.block.BlockPredicate
All Implemented Interfaces:
Predicate<BlockState>

public class BlockPredicate extends Object implements Predicate<BlockState>
Mappings:
Namespace Name
official cvx
intermediary net/minecraft/class_2717
named net/minecraft/predicate/block/BlockPredicate
  • Field Details

    • block

      private final Block block
      Mappings:
      Namespace Name Mixin selector
      official a Lcvx;a:Lcjt;
      intermediary field_12423 Lnet/minecraft/class_2717;field_12423:Lnet/minecraft/class_2248;
      named block Lnet/minecraft/predicate/block/BlockPredicate;block:Lnet/minecraft/block/Block;
  • Constructor Details

    • BlockPredicate

      public BlockPredicate(Block block)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcvx;<init>(Lcjt;)V
      intermediary <init> Lnet/minecraft/class_2717;<init>(Lnet/minecraft/class_2248;)V
      named <init> Lnet/minecraft/predicate/block/BlockPredicate;<init>(Lnet/minecraft/block/Block;)V
  • Method Details

    • make

      public static BlockPredicate make(Block block)
      Mappings:
      Namespace Name Mixin selector
      official a Lcvx;a(Lcjt;)Lcvx;
      intermediary method_11766 Lnet/minecraft/class_2717;method_11766(Lnet/minecraft/class_2248;)Lnet/minecraft/class_2717;
      named make Lnet/minecraft/predicate/block/BlockPredicate;make(Lnet/minecraft/block/Block;)Lnet/minecraft/predicate/block/BlockPredicate;
    • test

      public boolean test(@Nullable @Nullable BlockState blockState)
      Specified by:
      test in interface Predicate<BlockState>
      Mappings:
      Namespace Name Mixin selector
      official a Lcvx;a(Lcvo;)Z
      intermediary method_11765 Lnet/minecraft/class_2717;method_11765(Lnet/minecraft/class_2680;)Z
      named test Lnet/minecraft/predicate/block/BlockPredicate;test(Lnet/minecraft/block/BlockState;)Z