UseDuration .java
net.minecraft.client.renderer.item.properties.numeric.UseDuration (record): members: remaining, useDuration, get, MAP_CODEC, type. strings: "remaining".
File
Implements
API Surface (3)
float get(final ItemStack itemStack, final @Nullable ClientLevel level, final @Nullable ItemOwner owner, final int seed)MapCodec<UseDuration> type()int useDuration(final ItemStack itemStack, final LivingEntity owner)Fields & Constants (1)
MAP_CODECString literals (1)
"remaining"Same Package (14)
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 | |
| 34 | |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
Decompiled Minecraft 26.3 source of UseDuration (net/minecraft/client/renderer/item/properties/numeric/UseDuration.java) with Mojang official mappings, stored verbatim on the site.