Holds an abstraction for players.
A Mechanic is a an object that manages a set of BlockVectors to enhance those positions with CraftBook functionality.
|MechanicFactory<T extends Mechanic>||
MechanicFactory attempts to detect a mechanism at a position and will produce the corresponding Mechanic if it matches.
Mechanics with this interface indicate that they think outside of event handling.
|AbstractMechanicFactory<T extends Mechanic>|
A implementation of Configuration based off of
A MechanicManager tracks the BlockVector where loaded Mechanic instances have registered triggerability, and dispatches incoming events by checking for Mechanic instance that might be triggered by the event and by considering instantiation of a new Mechanic instance for unregistered BlockVector.
PersistentMechanic exist to keep internal state in situations where the instantiation of the Mechanic may be relatively expensive.
An event that overrides the right click actions, allowing an event to override the block that was right clicked.
A variation of the redstone event with a source block.
Copyright © 2013. All Rights Reserved.