LootContextParams .java
net.minecraft.world.level.storage.loot.parameters.LootContextParams (class): members: ADDITIONAL_COST_COMPONENT_ALLOWED, DIRECT_ATTACKING_ENTITY, ORIGIN.
File
API Surface (0)
No public/protected methods detected (fields or constants only).
Fields & Constants (16)
THIS_ENTITYINTERACTING_ENTITYTARGET_ENTITYLAST_DAMAGE_PLAYERDAMAGE_SOURCEATTACKING_ENTITYDIRECT_ATTACKING_ENTITYORIGINBLOCK_STATEBLOCK_ENTITYTOOLEXPLOSION_RADIUSENCHANTMENT_LEVELENCHANTMENT_ACTIVEADDITIONAL_COST_COMPONENT_ALLOWEDCONTAINERString literals (16)
"this_entity""interacting_entity""target_entity""last_damage_player""damage_source""attacking_entity""direct_attacking_entity""origin""block_state""block_entity""tool""explosion_radius""enchantment_level""enchantment_active""additional_cost_component_allowed""container"Same Package (2)
Code Graph: Dependencies (10)
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 | |
Decompiled Minecraft 26.3 source of LootContextParams (net/minecraft/world/level/storage/loot/parameters/LootContextParams.java) with Mojang official mappings, stored verbatim on the site.