DamageResistant .java
net.minecraft.world.item.component.DamageResistant (record): members: types, isResistantTo, STREAM_CODEC, CODEC. strings: "types". imports: DamageType.
File
API Surface (2)
record DamageResistant(HolderSet<DamageType> types)boolean isResistantTo(final DamageSource source)Fields & Constants (2)
CODECSTREAM_CODECString literals (1)
"types"Same Package (52)
Code Graph: Dependencies (8)
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 | |
Decompiled Minecraft 26.3 source of DamageResistant (net/minecraft/world/item/component/DamageResistant.java) with Mojang official mappings, stored verbatim on the site.