Class LegacyMapper

java.lang.Object
com.sk89q.worldedit.world.registry.LegacyMapper

public final class LegacyMapper extends Object
  • Method Details

    • getItemFromLegacy

      @Nullable public ItemType getItemFromLegacy(int legacyId)
    • getItemFromLegacy

      @Nullable public ItemType getItemFromLegacy(int legacyId, int data)
    • getLegacyFromItem

      @Nullable public int[] getLegacyFromItem(ItemType itemType)
    • getBlockFromLegacy

      @Nullable public BlockState getBlockFromLegacy(int legacyId)
    • getBlockFromLegacy

      @Nullable public BlockState getBlockFromLegacy(int legacyId, int data)
    • getLegacyFromBlock

      @Nullable public int[] getLegacyFromBlock(BlockState blockState)
    • getInstance

      public static LegacyMapper getInstance()