Class LookupPatternComponent
java.lang.Object
at.petrak.hexcasting.interop.patchouli.AbstractPatternComponent
at.petrak.hexcasting.interop.patchouli.LookupPatternComponent
- All Implemented Interfaces:
vazkii.patchouli.api.ICustomComponent,vazkii.patchouli.api.IVariablesAvailableCallback
Grab the pattern from the registry
-
Nested Class Summary
Nested classes/interfaces inherited from class at.petrak.hexcasting.interop.patchouli.AbstractPatternComponent
AbstractPatternComponent.RawPattern -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected net.minecraft.resources.ResourceLocationprotected booleanFields inherited from class at.petrak.hexcasting.interop.patchouli.AbstractPatternComponent
hexSize, x, y -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<at.petrak.hexcasting.api.casting.math.HexPattern>getPatterns(UnaryOperator<vazkii.patchouli.api.IVariable> lookup) voidonVariablesAvailable(UnaryOperator<vazkii.patchouli.api.IVariable> lookup) booleanMethods inherited from class at.petrak.hexcasting.interop.patchouli.AbstractPatternComponent
build, renderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface vazkii.patchouli.api.ICustomComponent
mouseClicked, onDisplayed
-
Field Details
-
opNameRaw
-
opName
protected net.minecraft.resources.ResourceLocation opName -
strokeOrder
protected boolean strokeOrder
-
-
Constructor Details
-
LookupPatternComponent
public LookupPatternComponent()
-
-
Method Details
-
getPatterns
public List<at.petrak.hexcasting.api.casting.math.HexPattern> getPatterns(UnaryOperator<vazkii.patchouli.api.IVariable> lookup) - Specified by:
getPatternsin classAbstractPatternComponent
-
showStrokeOrder
public boolean showStrokeOrder()- Specified by:
showStrokeOrderin classAbstractPatternComponent
-
onVariablesAvailable
- Specified by:
onVariablesAvailablein interfacevazkii.patchouli.api.IVariablesAvailableCallback- Overrides:
onVariablesAvailablein classAbstractPatternComponent
-