Felix Naumann

Results 21 comments of Felix Naumann

Currently I don't know how to simulate a player clicking in the result slot.

I could try to implement this behaviour along with support for the SlotType enum to add more functionality to the `simulateInventoryClick` methods. Potentially in the structure of #972 ?

Is there an estimate when this will be available?

Both issues fundamentally use getContents. isEmpty was just an example highlighted here. getContents returns only the 2 slots in the code above. Fixing this would automatically change the behaviour of...

But it already has inconsistencies built within. I made a comment [here explaining them](https://github.com/MockBukkit/MockBukkit/pull/1011#issuecomment-2108399225). In the current state getStorageContents is not consistent within different inventories. For CraftInventoryCrafting, which is an...

@Machine-Maker This partially fixes the issue. The `isEmpty` check works as the documentation describes it. However, there are still inconsistencies between inventories created from `createInventory` and `open...`. ```java Player player...

This inconsistency seems to occur for all inventories that have a result slot, but don't have their own converter implementation in `CraftInventoryCreator`. For example, creating a furnace via `createInventory` creates...

Alright, thanks for the work. I don't think I have enough knowledge with the minecraft internals to help you with that, but I'll eagerly await the changes

I can change these names, maybe to `IHasMatrixSlot` and `IHasResultSlot`. I like how concise they are, but I hate annotation interface with `I`. The abstraction is going to be used...