Posted May 26, 201213 yr A hook for when dispensers are activated should be added, so you can take action on certain items. (custom arrows, etc.) (If there is one, please tell me. I wasn't able to find one.)
May 26, 201213 yr I am quite certain that it exists, cannot check what it was called right now, but look in the dispenser class and you should see the Forge hook callback, follow that back to see what you need to hook in to.
May 26, 201213 yr Author I just looked, and didn't find anything in BlockDispenser or TileEntityDispenser, and there's no handler interface for anything dispenser related. I'll look into how the other hooks are coded, and try to write it and submit a pull request.
May 27, 201213 yr As far as I know, ModLoader has a hook "dispenseEntity". It should be available in MCForge, too.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.