Class BlockSetModule
java.lang.Object
com.hypixel.hytale.server.core.plugin.PluginBase
com.hypixel.hytale.server.core.plugin.JavaPlugin
com.hypixel.hytale.server.core.modules.blockset.BlockSetModule
- All Implemented Interfaces:
CommandOwner
Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate BlockSetLookupTableDeprecated, for removal: This API element is subject to removal in a future version.private it.unimi.dsi.fastutil.ints.Int2ObjectMap<it.unimi.dsi.fastutil.ints.IntSet> Deprecated, for removal: This API element is subject to removal in a future version.private static BlockSetModuleDeprecated, for removal: This API element is subject to removal in a future version.static final PluginManifestDeprecated, for removal: This API element is subject to removal in a future version.private it.unimi.dsi.fastutil.ints.Int2ObjectMap<it.unimi.dsi.fastutil.ints.IntSet> Deprecated, for removal: This API element is subject to removal in a future version.Fields inherited from class com.hypixel.hytale.server.core.plugin.PluginBase
METRICS_REGISTRY -
Constructor Summary
ConstructorsConstructorDescriptionBlockSetModule(JavaPluginInit module) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionbooleanblockInSet(int set, int blockId) Deprecated, for removal: This API element is subject to removal in a future version.booleanblockInSet(int set, 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.booleanblockInSet(int set, String blockTypeKey) Deprecated, for removal: This API element is subject to removal in a future version.private voidconsume(String[][] values, BlockSetLookupTable lookupTable, Consumer<it.unimi.dsi.fastutil.ints.IntSet> addAll) Deprecated, for removal: This API element is subject to removal in a future version.private voidconsume(String[] values, Map<String, it.unimi.dsi.fastutil.ints.IntSet> map, String typeString, Consumer<it.unimi.dsi.fastutil.ints.IntSet> addAll) Deprecated, for removal: This API element is subject to removal in a future version.private voidconsumeCategory(String[] categories, Consumer<it.unimi.dsi.fastutil.ints.IntSet> predicate, BlockSetLookupTable lookupTable) Deprecated, for removal: This API element is subject to removal in a future version.private voidconsumeEntry(String name, Consumer<it.unimi.dsi.fastutil.ints.IntSet> predicate, 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.private it.unimi.dsi.fastutil.ints.IntOpenHashSetcreateSet(BlockSet blockSet, BlockSetLookupTable lookupTable, 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.private it.unimi.dsi.fastutil.ints.IntOpenHashSetcreateSet(String name, BlockSetLookupTable lookupTable, 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.private it.unimi.dsi.fastutil.ints.Int2ObjectMap<it.unimi.dsi.fastutil.ints.IntSet> flattenBlockSets(BlockSetLookupTable lookupTable) Deprecated, for removal: This API element is subject to removal in a future version.it.unimi.dsi.fastutil.ints.Int2ObjectMap<it.unimi.dsi.fastutil.ints.IntSet> Deprecated, for removal: This API element is subject to removal in a future version.static BlockSetModuleDeprecated, for removal: This API element is subject to removal in a future version.private voidDeprecated, for removal: This API element is subject to removal in a future version.private voidonBlockTypesChanged(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.protected voidsetup()Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class com.hypixel.hytale.server.core.plugin.JavaPlugin
getClassLoader, getFile, getType, start0Methods inherited from class com.hypixel.hytale.server.core.plugin.PluginBase
getAssetRegistry, getBasePermission, getBlockStateRegistry, getChunkStoreRegistry, getClientFeatureRegistry, getCodecRegistry, getCodecRegistry, getCodecRegistry, getCommandRegistry, getDataDirectory, getEntityRegistry, getEntityStoreRegistry, getEventRegistry, getIdentifier, getLogger, getManifest, getName, getState, getTaskRegistry, isDisabled, isEnabled, preLoad, setup0, shutdown, shutdown0, start, withConfig, withConfig
-
Field Details
-
MANIFEST
Deprecated, for removal: This API element is subject to removal in a future version. -
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> flattenedBlockSetsDeprecated, 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> unmodifiableFlattenedBlockSetsDeprecated, for removal: This API element is subject to removal in a future version. -
blockSetLookupTable
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
BlockSetModule
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:
setupin classPluginBase
-
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
Deprecated, for removal: This API element is subject to removal in a future version. -
getInstance
Deprecated, for removal: This API element is subject to removal in a future version.
-