Index
All Classes and Interfaces|All Packages|Constant Field Values
C
- CENTER - Enum constant in enum class de.pianoman911.mapengine.api.util.Alignment
-
Center for x-alignment Center for y-alignment
- circle(int, int, int, int) - Method in interface de.pianoman911.mapengine.api.drawing.IDrawingSpace
-
Draws a filled circle in the drawing space.
If you use colors with alpha=255, significant faster methods are used internally. - circle(int, int, int, int, int) - Method in interface de.pianoman911.mapengine.api.drawing.IDrawingSpace
-
Draws a hollow circle in the drawing space with the border using the specified thickness.
If you use colors with alpha=255, significant faster methods are used internally. - clear() - Method in interface de.pianoman911.mapengine.api.drawing.IDrawingSpace
-
Clears the drawing space.
- clear(int, int, int, int) - Method in interface de.pianoman911.mapengine.api.drawing.IDrawingSpace
-
Clears the drawing space in the given area.
- clearReceivers() - Method in interface de.pianoman911.mapengine.api.pipeline.IPipelineContext
-
Clears all currently set receivers.
- clickDistance() - Method in record class de.pianoman911.mapengine.api.util.MapTraceResult
-
Returns the value of the
clickDistance
record component. - clickType() - Method in class de.pianoman911.mapengine.api.event.MapClickEvent
- CLOCKWISE - Enum constant in enum class de.pianoman911.mapengine.api.util.Rotation
- cloneGroupIds(IMapDisplay) - Method in interface de.pianoman911.mapengine.api.clientside.IMapDisplay
-
Clones the map ids from the given display.
This can be used to "clone" the content of a display to another display. - color(int) - Method in interface de.pianoman911.mapengine.api.colors.IMapColors
- color(int, int, int) - Method in interface de.pianoman911.mapengine.api.colors.IMapColors
- color(Color) - Method in interface de.pianoman911.mapengine.api.colors.IMapColors
- ColorBuffer - Class in de.pianoman911.mapengine.api.util
-
Color buffer used for wrapping minecraft color space data.
- ColorBuffer(byte[], int, int) - Constructor for class de.pianoman911.mapengine.api.util.ColorBuffer
-
Wraps the given minecraft map color data into an object.
- ColorBuffer(int, int) - Constructor for class de.pianoman911.mapengine.api.util.ColorBuffer
-
Creates a new color buffer from with the given width and height.
- ColorBuffer(int, int, int) - Constructor for class de.pianoman911.mapengine.api.util.ColorBuffer
-
Deprecated.
- colors() - Method in interface de.pianoman911.mapengine.api.MapEngineApi
- colors(int[]) - Method in interface de.pianoman911.mapengine.api.colors.IMapColors
- colors(int[], int) - Method in interface de.pianoman911.mapengine.api.colors.IMapColors
-
Converts the given RGB colors to the minecraft map color space.
The number of threads can be specified to speed up the process. - component(Component, Font, int, int) - Method in interface de.pianoman911.mapengine.api.drawing.IDrawingSpace
-
Draw a component to the drawing space.
The component will be left-aligned (x-axis) and centered (y-axis),
Antialiasing will be enabled and the line height will be 1.2 - component(Component, Font, int, int, Alignment, Alignment) - Method in interface de.pianoman911.mapengine.api.drawing.IDrawingSpace
-
Draw a component to the drawing space.
Antialiasing will be enabled and the line height will be 1.2 - component(Component, Font, int, int, Alignment, Alignment, boolean) - Method in interface de.pianoman911.mapengine.api.drawing.IDrawingSpace
-
Draw a component to the drawing space.
The line height will be 1.2 - component(Component, Font, int, int, Alignment, Alignment, boolean, float) - Method in interface de.pianoman911.mapengine.api.drawing.IDrawingSpace
-
Draw a component to the drawing space.
- compute(FullSpacedColorBuffer, IPipelineContext) - Method in interface de.pianoman911.mapengine.api.pipeline.IPipelineStream
- consumeFrames(BiConsumer<IFrame, Vec2i>) - Method in interface de.pianoman911.mapengine.api.clientside.IMapDisplay
-
Consumes all frames of this display with a consumer.
The arguments provided to the specified consumer are immutable. - convertDirect(FullSpacedColorBuffer) - Method in interface de.pianoman911.mapengine.api.colors.IMapColors
- converter() - Method in interface de.pianoman911.mapengine.api.pipeline.IPipelineContext
-
A
Converter
is used for converting the RGB buffer to minecraft map colors.
These can be used e.g. - converter(Converter) - Method in interface de.pianoman911.mapengine.api.pipeline.IPipelineContext
- Converter - Enum Class in de.pianoman911.mapengine.api.util
-
Specifies how to convert a
FullSpacedColorBuffer
to aColorBuffer
. - convertImage(BufferedImage) - Method in interface de.pianoman911.mapengine.api.colors.IMapColors
- convertText(String, Font, Color) - Static method in class de.pianoman911.mapengine.api.util.FontRegistry
-
Convert the specified string text to an image with the given font and color, which is anti-aliased (less rough edges).
- convertText(String, Font, Color, boolean) - Static method in class de.pianoman911.mapengine.api.util.FontRegistry
-
Convert the specified string text to an image with the given font and color.
- convertText2Bytes(String, Font, Color) - Static method in class de.pianoman911.mapengine.api.util.FontRegistry
-
Rendered the specified text to an argb color buffer
- convertText2Bytes(String, Font, Color, boolean) - Static method in class de.pianoman911.mapengine.api.util.FontRegistry
-
Rendered the specified text to an argb color buffer
- copy() - Method in class de.pianoman911.mapengine.api.util.FullSpacedColorBuffer
- COUNTER_CLOCKWISE - Enum constant in enum class de.pianoman911.mapengine.api.util.Rotation
- createBasic(BlockVector, BlockVector, BlockFace) - Method in interface de.pianoman911.mapengine.api.clientside.IDisplayProvider
-
The a and b points should build a 2d box.
- createBasic(BlockVector, BlockVector, BlockFace, BlockFace) - Method in interface de.pianoman911.mapengine.api.clientside.IDisplayProvider
-
The a and b points should build a 2d box.
- createCtx(IDisplay) - Method in interface de.pianoman911.mapengine.api.pipeline.IPipelineProvider
-
Creates a new context instance for the provided
IMapDisplay
.
The display can be retrieved again by usingIPipelineContext.getDisplay()
. - createDrawingSpace(int, int, IDisplay) - Method in interface de.pianoman911.mapengine.api.pipeline.IPipelineProvider
-
Creates a drawing space for the given context and creates a new rgb buffer with the given width and height.
- createDrawingSpace(IDisplay) - Method in interface de.pianoman911.mapengine.api.pipeline.IPipelineProvider
-
Creates a drawing space for the given map display.
- createDrawingSpace(FullSpacedColorBuffer, IDisplay) - Method in interface de.pianoman911.mapengine.api.pipeline.IPipelineProvider
-
Creates a drawing space for the given context and buffer.
- createHoldableDisplay() - Method in interface de.pianoman911.mapengine.api.clientside.IDisplayProvider
- createHoldableOutput() - Method in interface de.pianoman911.mapengine.api.pipeline.IPipelineProvider
-
Creates a pipeline output for
IHoldableDisplay
's. - createLayeredDrawingSpace(int, int, IDisplay) - Method in interface de.pianoman911.mapengine.api.pipeline.IPipelineProvider
-
Creates a layered drawing space for the given context and creates a new rgb buffer with the given width and height.
- createLayeredDrawingSpace(IDisplay) - Method in interface de.pianoman911.mapengine.api.pipeline.IPipelineProvider
-
Creates a layered drawing space for the given map display.
- createLayeredDrawingSpace(FullSpacedColorBuffer, IDisplay) - Method in interface de.pianoman911.mapengine.api.pipeline.IPipelineProvider
-
Creates a layered drawing space for the given context and buffer.
- createMapOutput() - Method in interface de.pianoman911.mapengine.api.pipeline.IPipelineProvider
-
Creates a pipeline output for
IMapDisplay
's. - createPipeline(IPipelineOutput, IPipelineStream...) - Method in interface de.pianoman911.mapengine.api.pipeline.IPipelineProvider
-
Creates a new pipeline with the given output and the specified streams.
- createPipeline(IPipelineStream...) - Method in interface de.pianoman911.mapengine.api.pipeline.IPipelineProvider
-
Creates a new pipeline with the given output and the specified streams.
The initial pipeline output is created usingIPipelineProvider.output()
. - createRawPipelineDisplay(BlockVector, BlockVector, BlockFace, IPipeline) - Method in interface de.pianoman911.mapengine.api.clientside.IDisplayProvider
-
The a and b points should build a 2d box.
- createRawPipelineDisplay(BlockVector, BlockVector, BlockFace, BlockFace, IPipeline) - Method in interface de.pianoman911.mapengine.api.clientside.IDisplayProvider
-
The a and b points should build a 2d box.
- createRawPipelineHoldableDisplay(IPipeline) - Method in interface de.pianoman911.mapengine.api.clientside.IDisplayProvider
- crop(int) - Method in class de.pianoman911.mapengine.api.util.FullSpacedColorBuffer
-
Creates a new sub-buffer of this buffer with the given background color cropped.
- cropAlpha() - Method in class de.pianoman911.mapengine.api.util.FullSpacedColorBuffer
-
* Creates a new sub-buffer of this buffer with the alpha channel cropped.
- ctx() - Method in interface de.pianoman911.mapengine.api.drawing.ILayeredDrawingSpace
- ctx() - Method in interface de.pianoman911.mapengine.api.pipeline.IPipelineInput
- ctx(IMapDisplay) - Method in interface de.pianoman911.mapengine.api.pipeline.IPipelineProvider
-
Deprecated, for removal: This API element is subject to removal in a future version.use
IPipelineProvider.createCtx(IDisplay)
instead - cursors() - Method in interface de.pianoman911.mapengine.api.pipeline.IPipelineContext
-
MapCursor
's are used for displaying e.g. - cutImage(BufferedImage) - Static method in class de.pianoman911.mapengine.api.util.ImageUtils
- cutOffCloneGroupIds() - Method in interface de.pianoman911.mapengine.api.clientside.IMapDisplay
-
Cuts off the clone group ids.
After cutting off the ids, it's necessary to callIMapDisplay.mapId(Player, int)
for all players to update the map ids. - CYAN - Static variable in interface de.pianoman911.mapengine.api.colors.IMapColors
All Classes and Interfaces|All Packages|Constant Field Values
ColorBuffer(int, int)
instead