类的使用
net.minecraft.screen.slot.Slot
-
使用Slot的程序包 程序包 说明 net.minecraft.client.gui.screen.ingame net.minecraft.client.gui.screen.recipebook net.minecraft.item net.minecraft.recipe net.minecraft.screen net.minecraft.screen.slot -
-
net.minecraft.client.gui.screen.ingame中Slot的使用
net.minecraft.client.gui.screen.ingame中Slot的子类 修饰符和类型 类 说明 (专用程序包) static classCreativeInventoryScreen.CreativeSlot(专用程序包) static classCreativeInventoryScreen.LockableSlot声明为Slot的net.minecraft.client.gui.screen.ingame中的字段 修饰符和类型 字段 说明 private @Nullable SlotCreativeInventoryScreen. deleteItemSlotprotected @Nullable SlotHandledScreen. focusedSlotprivate @Nullable SlotHandledScreen. lastClickedSlotprivate SlotCreativeInventoryScreen.CreativeSlot. slotprivate @Nullable SlotHandledScreen. touchDragSlotStartprivate @Nullable SlotHandledScreen. touchDropOriginSlotprivate @Nullable SlotHandledScreen. touchHoveredSlot类型参数类型为Slot的net.minecraft.client.gui.screen.ingame中的字段 修饰符和类型 字段 说明 protected Set<Slot>HandledScreen. cursorDragSlotsprivate @Nullable List<Slot>CreativeInventoryScreen. slots返回Slot的net.minecraft.client.gui.screen.ingame中的方法 修饰符和类型 方法 说明 private @Nullable SlotHandledScreen. getSlotAt(double xPosition, double yPosition)参数类型为Slot的net.minecraft.client.gui.screen.ingame中的方法 修饰符和类型 方法 说明 booleanCreativeInventoryScreen.CreativeScreenHandler. canInsertIntoSlot(ItemStack stack, Slot slot)booleanCreativeInventoryScreen.CreativeScreenHandler. canInsertIntoSlot(Slot slot)private voidHandledScreen. drawSlot(MatrixStack matrices, Slot slot)private booleanCreativeInventoryScreen. isCreativeInventorySlot(@Nullable Slot slot)private booleanHandledScreen. isPointOverSlot(Slot slot, double pointX, double pointY)protected voidAbstractFurnaceScreen. onMouseClick(Slot slot, int slotId, int button, SlotActionType actionType)protected voidCraftingScreen. onMouseClick(Slot slot, int slotId, int button, SlotActionType actionType)protected voidCreativeInventoryScreen. onMouseClick(@Nullable Slot slot, int slotId, int button, SlotActionType actionType)protected voidHandledScreen. onMouseClick(Slot slot, int slotId, int button, SlotActionType actionType)protected voidInventoryScreen. onMouseClick(Slot slot, int slotId, int button, SlotActionType actionType)参数类型为Slot的net.minecraft.client.gui.screen.ingame中的构造器 构造器 说明 CreativeSlot(Slot slot, int invSlot, int x, int y) -
net.minecraft.client.gui.screen.recipebook中Slot的使用
参数类型为Slot的net.minecraft.client.gui.screen.recipebook中的方法 修饰符和类型 方法 说明 voidAbstractFurnaceRecipeBookScreen. slotClicked(@Nullable Slot slot)voidRecipeBookWidget. slotClicked(@Nullable Slot slot)类型变量类型为Slot的net.minecraft.client.gui.screen.recipebook中的方法参数 修饰符和类型 方法 说明 voidAbstractFurnaceRecipeBookScreen. showGhostRecipe(Recipe<?> recipe, List<Slot> slots)voidRecipeBookWidget. showGhostRecipe(Recipe<?> recipe, List<Slot> slots) -
net.minecraft.item中Slot的使用
参数类型为Slot的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)booleanBundleItem. onStackClicked(ItemStack stack, Slot slot, ClickType clickType, PlayerEntity player)booleanItem. onStackClicked(ItemStack stack, Slot slot, ClickType clickType, PlayerEntity player)booleanItemStack. onStackClicked(Slot slot, ClickType clickType, PlayerEntity player) -
net.minecraft.recipe中Slot的使用
参数类型为Slot的net.minecraft.recipe中的方法 修饰符和类型 方法 说明 protected voidInputSlotFiller. fillInputSlot(Slot slot, ItemStack stack) -
net.minecraft.screen中Slot的使用
net.minecraft.screen中Slot的子类 修饰符和类型 类 说明 (专用程序包) classBeaconScreenHandler.PaymentSlot(专用程序包) static classBrewingStandScreenHandler.FuelSlot(专用程序包) static classBrewingStandScreenHandler.IngredientSlot(专用程序包) static classBrewingStandScreenHandler.PotionSlot声明为Slot的net.minecraft.screen中的字段 修饰符和类型 字段 说明 private SlotLoomScreenHandler. bannerSlotprivate SlotLoomScreenHandler. dyeSlotprivate SlotBrewingStandScreenHandler. ingredientSlot(专用程序包) SlotStonecutterScreenHandler. inputSlotprivate SlotLoomScreenHandler. outputSlot(专用程序包) SlotStonecutterScreenHandler. outputSlotprivate SlotLoomScreenHandler. patternSlot类型参数类型为Slot的net.minecraft.screen中的字段 修饰符和类型 字段 说明 private Set<Slot>ScreenHandler. quickCraftSlotsDefaultedList<Slot>ScreenHandler. slots返回Slot的net.minecraft.screen中的方法 修饰符和类型 方法 说明 protected SlotScreenHandler. addSlot(Slot slot)SlotLoomScreenHandler. getBannerSlot()SlotLoomScreenHandler. getDyeSlot()SlotLoomScreenHandler. getOutputSlot()SlotLoomScreenHandler. getPatternSlot()SlotScreenHandler. getSlot(int index)参数类型为Slot的net.minecraft.screen中的方法 修饰符和类型 方法 说明 protected SlotScreenHandler. addSlot(Slot slot)booleanCartographyTableScreenHandler. canInsertIntoSlot(ItemStack stack, Slot slot)booleanCraftingScreenHandler. canInsertIntoSlot(ItemStack stack, Slot slot)booleanMerchantScreenHandler. canInsertIntoSlot(ItemStack stack, Slot slot)booleanPlayerScreenHandler. canInsertIntoSlot(ItemStack stack, Slot slot)booleanScreenHandler. canInsertIntoSlot(ItemStack stack, Slot slot)booleanScreenHandler. canInsertIntoSlot(Slot slot)booleanSmithingScreenHandler. canInsertIntoSlot(ItemStack stack, Slot slot)booleanStonecutterScreenHandler. canInsertIntoSlot(ItemStack stack, Slot slot)static booleanScreenHandler. canInsertItemIntoSlot(@Nullable Slot slot, ItemStack stack, boolean allowOverflow)类型变量类型为Slot的net.minecraft.screen中的方法参数 修饰符和类型 方法 说明 static voidScreenHandler. calculateStackSize(Set<Slot> slots, int mode, ItemStack stack, int stackSize) -
net.minecraft.screen.slot中Slot的使用
net.minecraft.screen.slot中Slot的子类 修饰符和类型 类 说明 classCraftingResultSlotclassFurnaceFuelSlotclassFurnaceOutputSlotclassShulkerBoxSlotclassTradeOutputSlot
-