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 clb
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 Lclb;a:Lbzo;
      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> Lclb;<init>(Lbzo;)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 Lclb;a(Lbzo;)Lclb;
      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 Lclb;a(Lcks;)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