Weapon .java
net.minecraft.world.item.component.Weapon (record): record with 2 components. members: itemDamagePerAttack, disableBlockingForSeconds, STREAM_CODEC, CODEC.
File
API Surface (1)
record Weapon(int itemDamagePerAttack, float disableBlockingForSeconds)Fields & Constants (3)
AXE_DISABLES_BLOCKING_FOR_SECONDSCODECSTREAM_CODECString literals (2)
"item_damage_per_attack""disable_blocking_for_seconds"Same Package (52)
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 | |
| 25 | |
| 26 | |
| 27 | |
Decompiled Minecraft 26.3 source of Weapon (net/minecraft/world/item/component/Weapon.java) with Mojang official mappings, stored verbatim on the site.