Uses of Interface
net.minecraft.inventory.CommandItemSlot
-
Uses of CommandItemSlot in net.minecraft.entity
Methods in net.minecraft.entity that return CommandItemSlot Modifier and Type Method Description CommandItemSlot
Entity. getCommandItemSlot(int mappedIndex)
Obtains an item slot for command modification purpose.CommandItemSlot
LivingEntity. getCommandItemSlot(int mappedIndex)
Obtains an item slot for command modification purpose.private static CommandItemSlot
LivingEntity. method_32321(LivingEntity livingEntity, EquipmentSlot equipmentSlot)
-
Uses of CommandItemSlot in net.minecraft.entity.decoration
Methods in net.minecraft.entity.decoration that return CommandItemSlot Modifier and Type Method Description CommandItemSlot
ItemFrameEntity. getCommandItemSlot(int mappedIndex)
Obtains an item slot for command modification purpose. -
Uses of CommandItemSlot in net.minecraft.entity.mob
Methods in net.minecraft.entity.mob that return CommandItemSlot Modifier and Type Method Description CommandItemSlot
PillagerEntity. getCommandItemSlot(int mappedIndex)
Obtains an item slot for command modification purpose. -
Uses of CommandItemSlot in net.minecraft.entity.passive
Methods in net.minecraft.entity.passive that return CommandItemSlot Modifier and Type Method Description CommandItemSlot
AbstractDonkeyEntity. getCommandItemSlot(int mappedIndex)
Obtains an item slot for command modification purpose.CommandItemSlot
HorseBaseEntity. getCommandItemSlot(int mappedIndex)
Obtains an item slot for command modification purpose.CommandItemSlot
MerchantEntity. getCommandItemSlot(int mappedIndex)
Obtains an item slot for command modification purpose.private CommandItemSlot
HorseBaseEntity. method_32335(int int2, Predicate<ItemStack> predicate)
-
Uses of CommandItemSlot in net.minecraft.entity.player
Methods in net.minecraft.entity.player that return CommandItemSlot Modifier and Type Method Description CommandItemSlot
PlayerEntity. getCommandItemSlot(int mappedIndex)
Obtains an item slot for command modification purpose. -
Uses of CommandItemSlot in net.minecraft.entity.vehicle
Methods in net.minecraft.entity.vehicle that return CommandItemSlot Modifier and Type Method Description CommandItemSlot
StorageMinecartEntity. getCommandItemSlot(int mappedIndex)
Obtains an item slot for command modification purpose. -
Uses of CommandItemSlot in net.minecraft.inventory
Fields in net.minecraft.inventory declared as CommandItemSlot Modifier and Type Field Description static CommandItemSlot
CommandItemSlot. EMPTY
An immutable empty slot.Methods in net.minecraft.inventory that return CommandItemSlot Modifier and Type Method Description static CommandItemSlot
CommandItemSlot. of(LivingEntity entity, EquipmentSlot equipmentSlot)
Creates a slot backed by an equipment slot of an living entity.static CommandItemSlot
CommandItemSlot. of(LivingEntity entity, EquipmentSlot equipmentSlot, Predicate<ItemStack> stackFilter)
Creates a slot backed by an equipment slot of an living entity and guarded by a condition for setting stacks into the inventory.static CommandItemSlot
CommandItemSlot. of(Inventory inventory, int index)
Creates a slot backed by an index within an inventory.static CommandItemSlot
CommandItemSlot. of(Inventory inventory, int index, Predicate<ItemStack> stackFilter)
Creates a slot backed by an index within an inventory and guarded by a condition for setting stacks into the inventory. -
Uses of CommandItemSlot in net.minecraft.item
Methods in net.minecraft.item with parameters of type CommandItemSlot Modifier and Type Method Description boolean
BundleItem. onClicked(ItemStack stack, ItemStack otherStack, Slot slot, ClickType clickType, PlayerEntity player, CommandItemSlot cursorSlot)
boolean
Item. onClicked(ItemStack stack, ItemStack otherStack, Slot slot, ClickType clickType, PlayerEntity player, CommandItemSlot cursorSlot)
boolean
ItemStack. onClicked(ItemStack stack, Slot slot, ClickType clickType, PlayerEntity player, CommandItemSlot cursorSlot)
-
Uses of CommandItemSlot in net.minecraft.screen
Methods in net.minecraft.screen that return CommandItemSlot Modifier and Type Method Description private CommandItemSlot
ScreenHandler. getCursorCommandItemSlot()