LootContext
Link to lootcontext
Importing the class
Link to importing-the-class
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
ZenScript Copyimport crafttweaker.api.loot.LootContext;
Properties
Link to properties
Nombre | Type | Has Getter | Has Setter | Description |
---|---|---|---|---|
Nombre blockEntity | Type BlockEntity | Has Getter true | Has Setter false | Description No Description Provided |
Nombre blockState | Type BlockState | Has Getter true | Has Setter false | Description No Description Provided |
Nombre damageSource | Type DamageSource | Has Getter true | Has Setter false | Description No Description Provided |
Nombre directKillerEntity | Type Entity | Has Getter true | Has Setter false | Description No Description Provided |
Nombre explosionRadius | Type float | Has Getter true | Has Setter false | Description No Description Provided |
Nombre killerEntity | Type Entity | Has Getter true | Has Setter false | Description No Description Provided |
Nombre lastDamagePlayer | Type Player | Has Getter true | Has Setter false | Description No Description Provided |
Nombre level | Type ServerLevel | Has Getter true | Has Setter false | Description No Description Provided |
Nombre luck | Type float | Has Getter true | Has Setter false | Description No Description Provided |
Nombre origin | Type Vec3 | Has Getter true | Has Setter false | Description No Description Provided |
Nombre random | Type Random | Has Getter true | Has Setter false | Description No Description Provided |
Nombre thisEntity | Type Entity | Has Getter true | Has Setter false | Description No Description Provided |
Nombre tool | Type IItemStack | Has Getter true | Has Setter false | Description No Description Provided |