public class DropItemQueryList
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.util.List<DropItemQuery> |
queryList
All drop queries that are currently active.
|
Constructor and Description |
---|
DropItemQueryList() |
Modifier and Type | Method and Description |
---|---|
static void |
dropAllItems(net.minecraft.entity.player.ServerPlayerEntity player) |
static void |
register(AbstractHoldsItemsEntity pixelmon,
java.util.ArrayList<DroppedItem> givenDrops,
net.minecraft.entity.player.ServerPlayerEntity player)
Registers an instance of item drops and sends it to the client.
|
static void |
register(NPCTrainer npc,
java.util.ArrayList<DroppedItem> givenDrops,
net.minecraft.entity.player.ServerPlayerEntity player) |
static void |
removeQuery(net.minecraft.entity.player.ServerPlayerEntity player) |
static void |
takeAllItems(net.minecraft.entity.player.ServerPlayerEntity player) |
static void |
takeItem(net.minecraft.entity.player.ServerPlayerEntity player,
int itemID) |
public static java.util.List<DropItemQuery> queryList
public static void register(AbstractHoldsItemsEntity pixelmon, java.util.ArrayList<DroppedItem> givenDrops, net.minecraft.entity.player.ServerPlayerEntity player)
pixelmon
- The Pokémon who dropped the items.givenDrops
- The items that were dropped.player
- The player receiving the items.public static void register(NPCTrainer npc, java.util.ArrayList<DroppedItem> givenDrops, net.minecraft.entity.player.ServerPlayerEntity player)
public static void takeAllItems(net.minecraft.entity.player.ServerPlayerEntity player)
public static void dropAllItems(net.minecraft.entity.player.ServerPlayerEntity player)
public static void takeItem(net.minecraft.entity.player.ServerPlayerEntity player, int itemID)
public static void removeQuery(net.minecraft.entity.player.ServerPlayerEntity player)