Uses of Interface
net.minecraft.inventory.CommandItemSlot
Package
Description
-
Uses of CommandItemSlot in net.minecraft.entity
Modifier and TypeMethodDescriptionEntity.getCommandItemSlot(int mappedIndex)
Obtains an item slot for command modification purpose.LivingEntity.getCommandItemSlot(int mappedIndex)
Obtains an item slot for command modification purpose.private static CommandItemSlot
LivingEntity.getCommandItemSlot(LivingEntity entity, EquipmentSlot slot)
-
Uses of CommandItemSlot in net.minecraft.entity.decoration
Modifier and TypeMethodDescriptionItemFrameEntity.getCommandItemSlot(int mappedIndex)
Obtains an item slot for command modification purpose. -
Uses of CommandItemSlot in net.minecraft.entity.mob
Modifier and TypeMethodDescriptionPillagerEntity.getCommandItemSlot(int mappedIndex)
Obtains an item slot for command modification purpose. -
Uses of CommandItemSlot in net.minecraft.entity.passive
Modifier and TypeMethodDescriptionAbstractDonkeyEntity.getCommandItemSlot(int mappedIndex)
Obtains an item slot for command modification purpose.HorseBaseEntity.getCommandItemSlot(int mappedIndex)
Obtains an item slot for command modification purpose.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
Modifier and TypeMethodDescriptionPlayerEntity.getCommandItemSlot(int mappedIndex)
Obtains an item slot for command modification purpose. -
Uses of CommandItemSlot in net.minecraft.entity.vehicle
Modifier and TypeMethodDescriptionStorageMinecartEntity.getCommandItemSlot(int mappedIndex)
Obtains an item slot for command modification purpose. -
Uses of CommandItemSlot in net.minecraft.inventory
Modifier and TypeFieldDescriptionstatic CommandItemSlot
CommandItemSlot.EMPTY
An immutable empty slot.Modifier and TypeMethodDescriptionstatic 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
Creates a slot backed by an index within an inventory.static CommandItemSlot
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
Modifier and TypeMethodDescriptionboolean
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
Modifier and TypeMethodDescriptionprivate CommandItemSlot
ScreenHandler.getCursorCommandItemSlot()