12-20-2012, 04:43 PM
Quote:The idea is that the server is minimal by itself and most "extended" functionality is provided by plugins. I'd say this is exactly extended functionality, as some people might not want their console to contain messages.Alright, I removed that change.
Quote:I think having a set of events would be better. One that would actually mean "OnRightClick", being called before any other processing in HandleBlockPlace(); then OnBlockPlace / OnItemUse that correspond to their names; then maybe even some more specific ones, such as OnBucketUse for example, who knows.That's a good idea.
Quote:For finishing the dispensers, you'll be needing a cProjectile class representing a shot arrow, a thrown egg or a snowball etc.. Have you already thought out how to implement those? How about starting a discussion about it, so that it is "documented" at least a little bit? There might be some ideas worth doing in the replies.For now I only wanted them to be able to drop items, and place/remove liquids.
I don't know how projectiles are implemented in Minecraft, but I think that for basic things like eggs or snowballs, we can just move it a bit and check block collisions.