RandomChancePlacement .java
net.minecraft.world.level.levelgen.placement.RandomChancePlacement (record, 24 lines): members: chance, shouldPlace, codec, CODEC. strings: "chance".
File
Implements
API Surface (2)
MapCodec<RandomChancePlacement> codec()boolean shouldPlace(final PlacementContext context, final RandomSource random, final BlockPos origin)Fields & Constants (1)
CODECString literals (1)
"chance"Same Package (25)
Code Graph: Dependencies (4)
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 | |
| 24 | |
Decompiled Minecraft 26.3 source of RandomChancePlacement (net/minecraft/world/level/levelgen/placement/RandomChancePlacement.java) with Mojang official mappings, stored verbatim on the site.