Interface PowerBlockInspector.IFactory
- Enclosing class:
PowerBlockInspector
@AssistedFactory
public static interface PowerBlockInspector.IFactory
The factory interface for creating
PowerBlockInspector instances.-
Method Summary
Modifier and TypeMethodDescriptiondefault PowerBlockInspectorCreates a newPowerBlockInspectorinstance without bypassing permission checks.Creates a newPowerBlockInspectorinstance.
-
Method Details
-
create
Creates a newPowerBlockInspectorinstance.- Parameters:
player- The player using the tool.bypassPermission- Whether to bypass permission checks.- Returns:
- The created
PowerBlockInspectorinstance.
-
create
Creates a newPowerBlockInspectorinstance without bypassing permission checks.- Parameters:
player- The player using the tool.- Returns:
- The created
PowerBlockInspectorinstance.
-