Class BlockSetModule

All Implemented Interfaces:
CommandOwner

@Deprecated(forRemoval=true) public class BlockSetModule extends JavaPlugin
Deprecated, for removal: This API element is subject to removal in a future version.
  • Field Details

    • MANIFEST

      public static final PluginManifest MANIFEST
      Deprecated, for removal: This API element is subject to removal in a future version.
    • INSTANCE

      private static BlockSetModule INSTANCE
      Deprecated, for removal: This API element is subject to removal in a future version.
    • flattenedBlockSets

      @Nonnull private it.unimi.dsi.fastutil.ints.Int2ObjectMap<it.unimi.dsi.fastutil.ints.IntSet> flattenedBlockSets
      Deprecated, for removal: This API element is subject to removal in a future version.
    • unmodifiableFlattenedBlockSets

      @Nonnull private it.unimi.dsi.fastutil.ints.Int2ObjectMap<it.unimi.dsi.fastutil.ints.IntSet> unmodifiableFlattenedBlockSets
      Deprecated, for removal: This API element is subject to removal in a future version.
    • blockSetLookupTable

      private BlockSetLookupTable blockSetLookupTable
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • BlockSetModule

      public BlockSetModule(@Nonnull JavaPluginInit module)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • setup

      protected void setup()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Overrides:
      setup in class PluginBase
    • onBlockTypesChanged

      private void onBlockTypesChanged(@Nonnull LoadedAssetsEvent<String,com.hypixel.hytale.server.core.asset.type.blocktype.config.BlockType,BlockTypeAssetMap<String,com.hypixel.hytale.server.core.asset.type.blocktype.config.BlockType>> event)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • onBlockSetsChanged

      private void onBlockSetsChanged(LoadedAssetsEvent<String,BlockSet,DefaultAssetMap<String,BlockSet>> event)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • flattenBlockSets

      @Nonnull private it.unimi.dsi.fastutil.ints.Int2ObjectMap<it.unimi.dsi.fastutil.ints.IntSet> flattenBlockSets(@Nonnull BlockSetLookupTable lookupTable)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • createSet

      @Nonnull private it.unimi.dsi.fastutil.ints.IntOpenHashSet createSet(@Nonnull BlockSet blockSet, @Nonnull BlockSetLookupTable lookupTable, @Nonnull it.unimi.dsi.fastutil.ints.Int2ObjectMap<it.unimi.dsi.fastutil.ints.IntSet> flattenedSets)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • consume

      private void consume(@Nullable String[] values, @Nonnull Map<String,it.unimi.dsi.fastutil.ints.IntSet> map, String typeString, @Nonnull Consumer<it.unimi.dsi.fastutil.ints.IntSet> addAll)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • consume

      private void consume(@Nullable String[][] values, @Nonnull BlockSetLookupTable lookupTable, @Nonnull Consumer<it.unimi.dsi.fastutil.ints.IntSet> addAll)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • createSet

      @Nonnull private it.unimi.dsi.fastutil.ints.IntOpenHashSet createSet(String name, @Nonnull BlockSetLookupTable lookupTable, @Nonnull it.unimi.dsi.fastutil.ints.Int2ObjectMap<it.unimi.dsi.fastutil.ints.IntSet> flattenedSets)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • consumeCategory

      private void consumeCategory(@Nullable String[] categories, @Nonnull Consumer<it.unimi.dsi.fastutil.ints.IntSet> predicate, @Nonnull BlockSetLookupTable lookupTable)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • consumeEntry

      private void consumeEntry(@Nonnull String name, @Nonnull Consumer<it.unimi.dsi.fastutil.ints.IntSet> predicate, @Nonnull Map<String,it.unimi.dsi.fastutil.ints.IntSet> nameIdMap, String typeString)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getBlockSets

      @Nonnull public it.unimi.dsi.fastutil.ints.Int2ObjectMap<it.unimi.dsi.fastutil.ints.IntSet> getBlockSets()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • blockInSet

      public boolean blockInSet(int set, int blockId)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • blockInSet

      public boolean blockInSet(int set, @Nullable com.hypixel.hytale.server.core.asset.type.blocktype.config.BlockType blockType)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • blockInSet

      public boolean blockInSet(int set, @Nullable String blockTypeKey)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getInstance

      public static BlockSetModule getInstance()
      Deprecated, for removal: This API element is subject to removal in a future version.