public class TypeConversionServiceImpl
extends java.lang.Object
implements com.github.shynixn.structureblocklib.api.service.TypeConversionService
| Constructor and Description |
|---|
TypeConversionServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
convertToMirrorHandle(com.github.shynixn.structureblocklib.api.enumeration.StructureMirror mirror)
Converts the given
StructureMirror to a handle. |
java.lang.Object |
convertToRotationHandle(com.github.shynixn.structureblocklib.api.enumeration.StructureRotation rotation)
Converts the given
StructureRotation to a handle. |
com.github.shynixn.structureblocklib.api.enumeration.StructureMirror |
convertToStructureMirror(java.lang.Object handle)
Converts the given handle to a
StructureMirror. |
com.github.shynixn.structureblocklib.api.enumeration.StructureMode |
convertToStructureMode(java.lang.Object handle)
Converts the given handle to a
StructureMode. |
java.lang.Object |
convertToStructureModeHandle(com.github.shynixn.structureblocklib.api.enumeration.StructureMode mode)
Converts the given
StructureMode to a handle. |
com.github.shynixn.structureblocklib.api.enumeration.StructureRotation |
convertToStructureRotation(java.lang.Object handle)
Converts the given handle to a
StructureRotation. |
public com.github.shynixn.structureblocklib.api.enumeration.StructureMode convertToStructureMode(java.lang.Object handle)
StructureMode.convertToStructureMode in interface com.github.shynixn.structureblocklib.api.service.TypeConversionServicehandle - NMS handle.StructureMode.public com.github.shynixn.structureblocklib.api.enumeration.StructureMirror convertToStructureMirror(java.lang.Object handle)
StructureMirror.convertToStructureMirror in interface com.github.shynixn.structureblocklib.api.service.TypeConversionServicehandle - NMS handle.StructureMirror.public com.github.shynixn.structureblocklib.api.enumeration.StructureRotation convertToStructureRotation(java.lang.Object handle)
StructureRotation.convertToStructureRotation in interface com.github.shynixn.structureblocklib.api.service.TypeConversionServicehandle - NMS handle.StructureRotation.public java.lang.Object convertToStructureModeHandle(com.github.shynixn.structureblocklib.api.enumeration.StructureMode mode)
StructureMode to a handle.convertToStructureModeHandle in interface com.github.shynixn.structureblocklib.api.service.TypeConversionServicemode - StructureMode.public java.lang.Object convertToMirrorHandle(com.github.shynixn.structureblocklib.api.enumeration.StructureMirror mirror)
StructureMirror to a handle.convertToMirrorHandle in interface com.github.shynixn.structureblocklib.api.service.TypeConversionServicemirror - StructureMirror.public java.lang.Object convertToRotationHandle(com.github.shynixn.structureblocklib.api.enumeration.StructureRotation rotation)
StructureRotation to a handle.convertToRotationHandle in interface com.github.shynixn.structureblocklib.api.service.TypeConversionServicerotation - StructureRotation.