KaiKikuchi / QuickShop

A shop plugin for Bukkit
47 stars 41 forks source link

Modded chest #34

Closed avaloon closed 8 years ago

avaloon commented 8 years ago

Hi, i create a chest for my mod and i want to use it with quickshop. It's work for create a shop but quick shop don't read in my chest for buy or sell. An idea ?

KaiKikuchi commented 8 years ago

Well, you're a developer, right? I don't know anything about your mod etc... but I guess you're not implementing something correctly. Probably, the IInventory interface.

avaloon commented 8 years ago

on my TileEntity i have implements IInventory, minecraft can read my chest with comparator :/

KaiKikuchi commented 8 years ago

QuickShop works with several modded chests, like Iron Chest chests It works with Furnaces, Hoppers, Dispensers, etc...

I suggest you to check Iron Chest source code.

QuickShop uses the Bukkit API InventoryHolder.getInventory(), so it's not using anything "weird".

avaloon commented 8 years ago

thank's i will check the code of Iron chest

KaiKikuchi commented 8 years ago

Good luck