CLASS net/minecraft/class_6538 net/minecraft/item/BlockPredicatesChecker COMMENT Checks if a block predicate stored inside {@link ItemStack}'s NBT COMMENT matches the block in a world. The predicate must be stored inside COMMENT the {@code key} sub NBT of the item stack. COMMENT COMMENT
The result is cached to reduce cost for successive lookups
COMMENT on the same block.
COMMENT
COMMENT @apiNote This is used to implement checks for restrictions specified
COMMENT using {@code CanPlaceOn} or {@code CanDestroy}.
FIELD field_34448 BLOCK_PREDICATE Lnet/minecraft/class_2252;
FIELD field_34449 key Ljava/lang/String;
FIELD field_34450 cachedPos Lnet/minecraft/class_2694;
FIELD field_34451 lastResult Z
FIELD field_34452 nbtAware Z
METHOD