Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class LootGenerateEvent extends WorldEvent implements Cancellable {
private boolean cancelled;

@ApiStatus.Internal
public LootGenerateEvent(@NotNull World world, @Nullable Entity entity, @Nullable InventoryHolder inventoryHolder, @NotNull LootTable lootTable, @NotNull LootContext lootContext, @NotNull List<ItemStack> items, boolean plugin) {
public LootGenerateEvent(@NotNull World world, @Nullable Entity entity, @Nullable InventoryHolder inventoryHolder, @Nullable LootTable lootTable, @NotNull LootContext lootContext, @NotNull List<ItemStack> items, boolean plugin) {
super(world);
this.entity = entity;
this.inventoryHolder = inventoryHolder;
Expand Down Expand Up @@ -80,9 +80,10 @@ public InventoryHolder getInventoryHolder() {
/**
* Get the loot table used to generate loot.
*
* @return the loot table
* @return the loot table, or {@code null} if the loot table is unknown or
* unregistered
*/
@NotNull
@Nullable
public LootTable getLootTable() {
return this.lootTable;
}
Expand Down