So suppose I wanted to add dispenser functionality to some custom items in 1.7.10. Specifically, I'd like to make a dispenser carrying a certain custom item (a jar) take liquid out of another custom container when given a pulse.
Where would I go to find out how to do that?
I've looked all over the Internet for proper documentation of this but for the life of me I'm not finding it. The closest I've come is a different forum post where someone mentioned extending net.minecraft.dispenser.DispenserBehavior, but I don't have that class in that location at all.
Looking at the code's gotten me nowhere as I can't find anything that checks what item is being dispensed against what type of tile. Can someone point me in the right direction?