类的使用
net.minecraft.screen.slot.SlotActionType
-
使用SlotActionType的程序包 程序包 说明 net.minecraft.client.gui.screen.ingame net.minecraft.client.network net.minecraft.network.packet.c2s.play net.minecraft.screen net.minecraft.screen.slot -
-
net.minecraft.client.gui.screen.ingame中SlotActionType的使用
参数类型为SlotActionType的net.minecraft.client.gui.screen.ingame中的方法 修饰符和类型 方法 说明 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) -
net.minecraft.client.network中SlotActionType的使用
参数类型为SlotActionType的net.minecraft.client.network中的方法 修饰符和类型 方法 说明 voidClientPlayerInteractionManager. clickSlot(int syncId, int slotId, int button, SlotActionType actionType, PlayerEntity playerEntity) -
net.minecraft.network.packet.c2s.play中SlotActionType的使用
声明为SlotActionType的net.minecraft.network.packet.c2s.play中的字段 修饰符和类型 字段 说明 private SlotActionTypeClickSlotC2SPacket. actionType返回SlotActionType的net.minecraft.network.packet.c2s.play中的方法 修饰符和类型 方法 说明 SlotActionTypeClickSlotC2SPacket. getActionType()参数类型为SlotActionType的net.minecraft.network.packet.c2s.play中的构造器 构造器 说明 ClickSlotC2SPacket(int syncId, int slot, int button, SlotActionType actionType, ItemStack stack, Int2ObjectMap<ItemStack> modifiedStacks) -
net.minecraft.screen中SlotActionType的使用
参数类型为SlotActionType的net.minecraft.screen中的方法 修饰符和类型 方法 说明 private voidScreenHandler. internalOnSlotClick(int slotIndex, int button, SlotActionType actionType, PlayerEntity player)The actual logic that handles a slot click.voidScreenHandler. onSlotClick(int slotIndex, int button, SlotActionType actionType, PlayerEntity player)Performs a slot click. -
net.minecraft.screen.slot中SlotActionType的使用
返回SlotActionType的net.minecraft.screen.slot中的方法 修饰符和类型 方法 说明 static SlotActionTypeSlotActionType. valueOf(String name)返回带有指定名称的该类型的枚举常量。static SlotActionType[]SlotActionType. values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
-