Class SimpleBukkitAdapter
java.lang.Object
com.fastasyncworldedit.bukkit.adapter.CachedBukkitAdapter
com.fastasyncworldedit.bukkit.adapter.SimpleBukkitAdapter
- All Implemented Interfaces:
IBukkitAdapter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<B extends BlockStateHolder<B>>
BlockDataadapt
(B block) Create a Bukkit BlockData from a WorldEdit BlockStateHolderprotected char[]
protected int[]
Methods inherited from class com.fastasyncworldedit.bukkit.adapter.CachedBukkitAdapter
adapt, asBlockType, asItemType
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.fastasyncworldedit.bukkit.adapter.IBukkitAdapter
adapt, adapt, adapt, adapt, adapt, adapt, adapt, adapt, adapt, adapt, adapt, adapt, adapt, adapt, adapt, adapt, adapt, asBlockState, asBlockVector, asBukkitWorld, asVector, equals, generateTree, getEntities
-
Constructor Details
-
SimpleBukkitAdapter
public SimpleBukkitAdapter()
-
-
Method Details
-
getIbdToStateOrdinal
protected char[] getIbdToStateOrdinal()- Specified by:
getIbdToStateOrdinal
in classCachedBukkitAdapter
-
getOrdinalToIbdID
protected int[] getOrdinalToIbdID()- Specified by:
getOrdinalToIbdID
in classCachedBukkitAdapter
-
adapt
Create a Bukkit BlockData from a WorldEdit BlockStateHolder- Parameters:
block
- The WorldEdit BlockStateHolder- Returns:
- The Bukkit BlockData
-