LockCode .java
net.minecraft.world.LockCode (record, 33 lines): members: predicate, unlocksWith, canUnlock, TAG_LOCK, addToTag, NO_LOCK, fromTag, CODEC. strings: "lock".
File
API Surface (5)
record LockCode(ItemPredicate predicate)boolean unlocksWith(final ItemStack itemStack)void addToTag(final ValueOutput parent)boolean canUnlock(final Player player)LockCode fromTag(final ValueInput parent)Fields & Constants (3)
NO_LOCKCODECTAG_LOCKString literals (1)
"lock"Same Package (24)
Code Graph: Dependencies (5)
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 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
Decompiled Minecraft 26.3 source of LockCode (net/minecraft/world/LockCode.java) with Mojang official mappings, stored verbatim on the site.