Interface IDisplayProvider
public interface IDisplayProvider
Manager interface for creating all sorts of map displays.
All "raw" creation methods require creating a pipeline using the
IPipelineProvider
.
-
Method Summary
Modifier and TypeMethodDescriptiondefault IMapDisplay
createBasic
(org.bukkit.util.BlockVector a, org.bukkit.util.BlockVector b, org.bukkit.block.BlockFace direction) The a and b points should build a 2d box.createBasic
(org.bukkit.util.BlockVector a, org.bukkit.util.BlockVector b, org.bukkit.block.BlockFace direction, org.bukkit.block.BlockFace visualDirection) The a and b points should build a 2d box.default IMapDisplay
createRawPipelineDisplay
(org.bukkit.util.BlockVector a, org.bukkit.util.BlockVector b, org.bukkit.block.BlockFace direction, IPipeline pipeline) The a and b points should build a 2d box.createRawPipelineDisplay
(org.bukkit.util.BlockVector a, org.bukkit.util.BlockVector b, org.bukkit.block.BlockFace direction, org.bukkit.block.BlockFace visualDirection, IPipeline pipeline) The a and b points should build a 2d box.createRawPipelineHoldableDisplay
(IPipeline pipeline)
-
Method Details
-
createRawPipelineDisplay
default IMapDisplay createRawPipelineDisplay(org.bukkit.util.BlockVector a, org.bukkit.util.BlockVector b, org.bukkit.block.BlockFace direction, IPipeline pipeline) The a and b points should build a 2d box.- Parameters:
a
- the first position for the item frame boxb
- the second position for the item frame bosdirection
- the direction used for interactions and in which the map facespipeline
- the pipeline used for creating the display- Returns:
- a new map display instance with the specified pipeline
-
createRawPipelineDisplay
IMapDisplay createRawPipelineDisplay(org.bukkit.util.BlockVector a, org.bukkit.util.BlockVector b, org.bukkit.block.BlockFace direction, org.bukkit.block.BlockFace visualDirection, IPipeline pipeline) The a and b points should build a 2d box.- Parameters:
a
- the first position for the item frame boxb
- the second position for the item frame bosdirection
- the interaction directionvisualDirection
- the direction in which the map facespipeline
- the pipeline used for creating the display- Returns:
- a new map display instance with the specified pipeline
-
createBasic
default IMapDisplay createBasic(org.bukkit.util.BlockVector a, org.bukkit.util.BlockVector b, org.bukkit.block.BlockFace direction) The a and b points should build a 2d box.- Parameters:
a
- the first position for the item frame boxb
- the second position for the item frame bosdirection
- the direction used for interactions and in which the map faces- Returns:
- a new map display instance with a default pipeline
-
createBasic
IMapDisplay createBasic(org.bukkit.util.BlockVector a, org.bukkit.util.BlockVector b, org.bukkit.block.BlockFace direction, org.bukkit.block.BlockFace visualDirection) The a and b points should build a 2d box.- Parameters:
a
- the first position for the item frame boxb
- the second position for the item frame bosdirection
- the interaction directionvisualDirection
- the direction in which the map faces- Returns:
- a new map display instance with a default pipeline
-
createRawPipelineHoldableDisplay
- Parameters:
pipeline
- the pipeline used for creating the display- Returns:
- a new holdable display using the specified pipeline
-
createHoldableDisplay
IHoldableDisplay createHoldableDisplay()- Returns:
- a new holdable display with a default pipeline
-