接口的使用
net.minecraft.inventory.CommandItemSlot
-
-
net.minecraft.entity中CommandItemSlot的使用
返回CommandItemSlot的net.minecraft.entity中的方法 修饰符和类型 方法 说明 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. getCommandItemSlot(LivingEntity entity, EquipmentSlot slot) -
net.minecraft.entity.decoration中CommandItemSlot的使用
返回CommandItemSlot的net.minecraft.entity.decoration中的方法 修饰符和类型 方法 说明 CommandItemSlotItemFrameEntity. getCommandItemSlot(int mappedIndex)Obtains an item slot for command modification purpose. -
net.minecraft.entity.mob中CommandItemSlot的使用
返回CommandItemSlot的net.minecraft.entity.mob中的方法 修饰符和类型 方法 说明 CommandItemSlotPillagerEntity. getCommandItemSlot(int mappedIndex)Obtains an item slot for command modification purpose. -
net.minecraft.entity.passive中CommandItemSlot的使用
返回CommandItemSlot的net.minecraft.entity.passive中的方法 修饰符和类型 方法 说明 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) -
net.minecraft.entity.player中CommandItemSlot的使用
返回CommandItemSlot的net.minecraft.entity.player中的方法 修饰符和类型 方法 说明 CommandItemSlotPlayerEntity. getCommandItemSlot(int mappedIndex)Obtains an item slot for command modification purpose. -
net.minecraft.entity.vehicle中CommandItemSlot的使用
返回CommandItemSlot的net.minecraft.entity.vehicle中的方法 修饰符和类型 方法 说明 CommandItemSlotStorageMinecartEntity. getCommandItemSlot(int mappedIndex)Obtains an item slot for command modification purpose. -
net.minecraft.inventory中CommandItemSlot的使用
声明为CommandItemSlot的net.minecraft.inventory中的字段 修饰符和类型 字段 说明 static CommandItemSlotCommandItemSlot. EMPTYAn immutable empty slot.返回CommandItemSlot的net.minecraft.inventory中的方法 修饰符和类型 方法 说明 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. -
net.minecraft.item中CommandItemSlot的使用
参数类型为CommandItemSlot的net.minecraft.item中的方法 修饰符和类型 方法 说明 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) -
net.minecraft.screen中CommandItemSlot的使用
返回CommandItemSlot的net.minecraft.screen中的方法 修饰符和类型 方法 说明 private CommandItemSlotScreenHandler. getCursorCommandItemSlot()
-