Interface SpecialHandler.Factory<T extends SpecialHandler>
- Enclosing interface:
- SpecialHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Given a pattern, possibly make up the special handler from it.
This is what goes in the registry! Think of it like BlockEntityType vs BlockEntity.
-
Method Summary
Modifier and TypeMethodDescriptiontryMatch(at.petrak.hexcasting.api.casting.math.HexPattern pattern, CastingEnvironment env)
-
Method Details
-
tryMatch
@Nullable T tryMatch(at.petrak.hexcasting.api.casting.math.HexPattern pattern, CastingEnvironment env)
-