Class NMSAdapter
java.lang.Object
com.fastasyncworldedit.bukkit.adapter.NMSAdapter
- All Implemented Interfaces:
FAWEPlatformAdapterImpl
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic int
createPalette
(int[] blockToPalette, int[] paletteToBlock, int[] blocksCopy, char[] set, CachedBukkitAdapter adapter, short[] nonEmptyBlockCount) static int
createPalette
(int layer, int[] blockToPalette, int[] paletteToBlock, int[] blocksCopy, Function<Integer, char[]> get, char[] set, CachedBukkitAdapter adapter, short[] nonEmptyBlockCount) void
-
Constructor Details
-
NMSAdapter
public NMSAdapter()
-
-
Method Details
-
createPalette
public static int createPalette(int[] blockToPalette, int[] paletteToBlock, int[] blocksCopy, char[] set, CachedBukkitAdapter adapter, short[] nonEmptyBlockCount) -
createPalette
public static int createPalette(int layer, int[] blockToPalette, int[] paletteToBlock, int[] blocksCopy, Function<Integer, char[]> get, char[] set, CachedBukkitAdapter adapter, short[] nonEmptyBlockCount) -
sendChunk
- Specified by:
sendChunk
in interfaceFAWEPlatformAdapterImpl
-