Constructs new LootTableContext.Builder object from given Level object. This Level can be obtained in different ways, for example, Actor.getLevel or GlobalContext.getLevel.
LootTableContext object created from the following Builder
after all with
calls.
finalize
method will be called.pointer to the native object wrapped by the following LootTableContext.Builder object, represented by a signed 64-bit integer
Specifies loot event's explosion radius.
reference to itself to be used in sequential calls
Specifies the player entity who killed the victim entity (ThisEntity
).
reference to itself to be used in sequential calls
Specifies loot event's luck value.
reference to itself to be used in sequential calls
reference to itself to be used in sequential calls
Specifies loot event's ThisEntity
. Most commonly it's
a dead entity, from which the items are dropped.
reference to itself to be used in sequential calls
Generated using TypeDoc
Object used to create new LootTableContext from scratch where it's needed.
Designed for sequential calls starting with its constructor and ending with its
create()
method.2.0