CryptoMorin / XSeries

Library for cross-version Minecraft Bukkit support and various efficient API methods.
https://www.spigotmc.org/threads/378136/
MIT License
390 stars 128 forks source link

[Xparticle] - displayRenderedImage Implement #206

Closed NotZer0Two closed 1 year ago

NotZer0Two commented 1 year ago

Description Importing the "displayRenderedImage", asks to implement a method, the code im using is

displayRenderedImage(plugin, renderImage(plugin.getDataFolder().toPath().resolve("test.png"), 50, 50, 0.2), () -> player.getLocation(), Integer.MAX_VALUE, 20L, 0, 0.8);

The code is trying to import

    private void displayRenderedImage(Magic plugin, CompletableFuture<Map<double[], Color>> renderImage, Object o, int maxValue, long l, int i, double v) {
    }

My question is i need to leave it there and just continue or im using the method in the wrong way?

Version Version Spigot-1.19.3;