Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't set item in input slot of Stonecutter Inventory #10621

Open
HarpanW opened this issue Apr 29, 2024 · 2 comments · May be fixed by #7265
Open

Can't set item in input slot of Stonecutter Inventory #10621

HarpanW opened this issue Apr 29, 2024 · 2 comments · May be fixed by #7265
Labels
status: accepted Disputed bug is accepted as valid or Feature accepted as desired to be added. type: bug Something doesn't work as it was intended to. version: 1.20.4 Game version 1.20.4 version: 1.20.5 Game version 1.20.5 version: 1.20.6 Game version 1.20.6

Comments

@HarpanW
Copy link

HarpanW commented Apr 29, 2024

Expected behavior

Stone in stonecutter input slot

Observed/Actual behavior

No item in stonecutter input slot

Steps/models to reproduce

public void openStonecutterGUI(Player player) {
Inventory inventory = Bukkit.createInventory(null, InventoryType.STONECUTTER, "text");
ItemStack stone = new ItemStack(Material.STONE);
inventory.setItem(0, stone);
player.openInventory(inventory);
}

Plugin and Datapack List

no additional

Paper version

This server is running Paper version git-Paper-334 (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT) (Git: 47b2c18)\nYou are 162 version(s) behind\nDownload the new version at: https://papermc.io/downloads/paper

Other

i have also tried setting the item after the inventory is opened, same issue:

public void openStonecutterGUI(Player player) {
Inventory inventory = Bukkit.createInventory(null, InventoryType.STONECUTTER, "text");
ItemStack stone = new ItemStack(Material.STONE);
player.openInventory(inventory);
inventory.setItem(0, stone);
}

@HarpanW HarpanW added status: needs triage type: bug Something doesn't work as it was intended to. labels Apr 29, 2024
@papermc-sniffer papermc-sniffer bot added the version: 1.20.4 Game version 1.20.4 label Apr 29, 2024
@powercasgamer
Copy link
Sponsor Contributor

powercasgamer commented Apr 29, 2024

Can reproduce this on 1.20.5 with commit 8f7ac62

@kashike kashike added status: accepted Disputed bug is accepted as valid or Feature accepted as desired to be added. and removed status: needs triage labels Apr 29, 2024
@HarpanW
Copy link
Author

HarpanW commented Apr 29, 2024

Might be hard coded by the client, cant get any other crafting stations to display items except for ones like furnace and brewing stand (that actually have containers on the server)

@kashike kashike linked a pull request Apr 29, 2024 that will close this issue
8 tasks
@Machine-Maker Machine-Maker linked a pull request Apr 29, 2024 that will close this issue
8 tasks
@kashike kashike added version: 1.20.5 Game version 1.20.5 version: 1.20.6 Game version 1.20.6 labels Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: accepted Disputed bug is accepted as valid or Feature accepted as desired to be added. type: bug Something doesn't work as it was intended to. version: 1.20.4 Game version 1.20.4 version: 1.20.5 Game version 1.20.5 version: 1.20.6 Game version 1.20.6
Projects
Status: ✅ Accepted
Development

Successfully merging a pull request may close this issue.

3 participants