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 CommandItemSlotEntity. getCommandItemSlot(int mappedIndex)Obtains an item slot for command modification purpose.CommandItemSlotLivingEntity. getCommandItemSlot(int mappedIndex)Obtains an item slot for command modification purpose.private static CommandItemSlotLivingEntity. 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 CommandItemSlotItemFrameEntity. 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 CommandItemSlotPillagerEntity. 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 CommandItemSlotAbstractDonkeyEntity. getCommandItemSlot(int mappedIndex)Obtains an item slot for command modification purpose.CommandItemSlotHorseBaseEntity. getCommandItemSlot(int mappedIndex)Obtains an item slot for command modification purpose.CommandItemSlotMerchantEntity. 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 CommandItemSlot Modifier and Type Method Description CommandItemSlotPlayerEntity. 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 CommandItemSlotStorageMinecartEntity. 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 CommandItemSlotCommandItemSlot. EMPTYAn immutable empty slot.Methods in net.minecraft.inventory that return CommandItemSlot Modifier and Type Method Description static 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 CommandItemSlotCommandItemSlot. of(Inventory inventory, int index)Creates a slot backed by an index within an inventory.static CommandItemSlotCommandItemSlot. 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 booleanBundleItem. 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 CommandItemSlot Modifier and Type Method Description private CommandItemSlotScreenHandler. getCursorCommandItemSlot()