Interface IAnimatedBlockHookFactory<T extends IAnimatedBlock>
public interface IAnimatedBlockHookFactory<T extends IAnimatedBlock>
Represents a factory for
IAnimatedBlockHooks.
Instances of these class should be registered with AnimatedBlockHookManager so that they can be used to
inject hooks into the animated blocks.
-
Method Summary
Modifier and TypeMethodDescription@Nullable IAnimatedBlockHooknewInstance(T animatedBlock) Creates a newIAnimatedBlockHook.
-
Method Details
-
newInstance
Creates a newIAnimatedBlockHook.- Parameters:
animatedBlock- TheIAnimatedBlockthat is being hooked into.- Returns:
- The new hook.
-