Class CustomPortalLoader
java.lang.Object
me.xxastaspastaxx.dimensions.customportal.CustomPortalLoader
Loads all the custom portals
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int[]
createCombinedID(org.bukkit.block.data.BlockData[] insideBlockData, org.bukkit.Material insideMaterial)
Creates combinedID for the block data inside the portalstatic org.bukkit.block.data.BlockData
getInsideBlockData(boolean zAxis, org.bukkit.block.data.BlockData blockData)
Creates BlockData in the correct Z AxisloadAll()
Load all the custom portals
-
Field Details
-
DIRECTORY_PATH
- See Also:
- Constant Field Values
-
PORTALS_DIRECTORY
-
CONFIG_VERSION
- See Also:
- Constant Field Values
-
-
Constructor Details
-
CustomPortalLoader
public CustomPortalLoader()Cunstructor of the loader
-
-
Method Details
-
loadAll
Load all the custom portals -
createCombinedID
public static int[] createCombinedID(org.bukkit.block.data.BlockData[] insideBlockData, org.bukkit.Material insideMaterial)Creates combinedID for the block data inside the portal- Parameters:
insideBlockData
-insideMaterial
-- Returns:
-
getInsideBlockData
public static org.bukkit.block.data.BlockData getInsideBlockData(boolean zAxis, org.bukkit.block.data.BlockData blockData)Creates BlockData in the correct Z Axis- Parameters:
zAxis
-blockData
-- Returns:
-