Posted May 2, 20169 yr Basically the title tells everything, I have an item (frag grenades more specifically) and they shoot EntityThrowables onItemRightclick I want them to shoot EntityThrowables when being dispensed. I saw this http://www.minecraftforge.net/forum/index.php?topic=9025.0 but couldn't figure out much. PS: Im kinda new to modding (not new to java) but can understand most of the stuff but this one is an exception. Currently developing a mod called Lot'O'Stuff for 1.7.10 (I know very well its outdated.)
May 4, 20169 yr Author I didnt find any hooks so i couldnt even try anything Currently developing a mod called Lot'O'Stuff for 1.7.10 (I know very well its outdated.)
May 5, 20169 yr You create a class that extends BehaviorDefaultDispenseItem OR implements IBehaviorDispenseItem, then you register it like so: BlockDispenser.dispenseBehaviorRegistry.putObject(item, new YourCustomDispenserBehavior()); http://i.imgur.com/NdrFdld.png[/img]
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.