Uses of Interface
net.minecraft.inventory.CommandItemSlot
Packages that use CommandItemSlot
Package
Description
-
Uses of CommandItemSlot in net.minecraft.entity
Methods in net.minecraft.entity that return CommandItemSlotModifier 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 CommandItemSlotLivingEntity.getCommandItemSlot(LivingEntity entity, EquipmentSlot slot) -
Uses of CommandItemSlot in net.minecraft.entity.decoration
Methods in net.minecraft.entity.decoration that return CommandItemSlotModifier and TypeMethodDescriptionItemFrameEntity.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 CommandItemSlotModifier and TypeMethodDescriptionPillagerEntity.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 CommandItemSlotModifier 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 CommandItemSlotHorseBaseEntity.method_32335(int int2, Predicate<ItemStack> predicate) -
Uses of CommandItemSlot in net.minecraft.entity.player
Methods in net.minecraft.entity.player that return CommandItemSlotModifier and TypeMethodDescriptionPlayerEntity.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 CommandItemSlotModifier and TypeMethodDescriptionStorageMinecartEntity.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 CommandItemSlotModifier and TypeFieldDescriptionstatic CommandItemSlotCommandItemSlot.EMPTYAn immutable empty slot.Methods in net.minecraft.inventory that return CommandItemSlotModifier and TypeMethodDescriptionstatic CommandItemSlotCommandItemSlot.of(LivingEntity entity, EquipmentSlot equipmentSlot)Creates a slot backed by an equipment slot of an living entity.static CommandItemSlotCommandItemSlot.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 CommandItemSlotCreates a slot backed by an index within an inventory.static CommandItemSlotCreates 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 CommandItemSlotModifier and TypeMethodDescriptionbooleanBundleItem.onClicked(ItemStack stack, ItemStack otherStack, Slot slot, ClickType clickType, PlayerEntity player, CommandItemSlot cursorSlot)booleanItem.onClicked(ItemStack stack, ItemStack otherStack, Slot slot, ClickType clickType, PlayerEntity player, CommandItemSlot cursorSlot)booleanItemStack.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 CommandItemSlotModifier and TypeMethodDescriptionprivate CommandItemSlotScreenHandler.getCursorCommandItemSlot()