BlockPredicate .java
net.minecraft.world.level.block.state.predicate.BlockPredicate (class, 23 lines): implements Predicate. members: forBlock, block, test. imports: Block.
File
Implements
API Surface (2)
BlockPredicate forBlock(final Block block)boolean test(final @Nullable BlockState input)Fields & Constants (1)
blockSame Package (2)
Code Graph: Dependencies (2)
Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.
Full Source
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | |
| 6 | |
| 7 | |
| 8 | |
| 9 | |
| 10 | |
| 11 | |
| 12 | |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | |
| 21 | |
| 22 | |
| 23 | |
Decompiled Minecraft 26.3 source of BlockPredicate (net/minecraft/world/level/block/state/predicate/BlockPredicate.java) with Mojang official mappings, stored verbatim on the site.