public class BlockSetModule extends JavaPlugin
Class BlockSetModule. Provides blocksetmodule functionality for the Hytale server.
java.lang.Object > JavaPlugin > BlockSetModule
Field Summary
flattenedBlockSets
Field flattenedBlockSets.
unmodifiableFlattenedBlockSets
Field unmodifiableFlattenedBlockSets.
blockSetLookupTable
Field blockSetLookupTable.
flattenedSets
Field flattenedSets.
index
Field index.
tIntSet
Field tIntSet.
set
Field set.
result
Field result.
parent
Field parent.
parentIndex
Field parentIndex.
includeBlockTypes
Field includeBlockTypes.
typeString
Field typeString.
obj
Field obj.
includeBlockGroups
Field includeBlockGroups.
typeString2
Field typeString2.
obj2
Field obj2.
includeHitboxTypes
Field includeHitboxTypes.
typeString3
Field typeString3.
obj3
Field obj3.
excludeBlockTypes
Field excludeBlockTypes.
typeString4
Field typeString4.
obj4
Field obj4.
excludeBlockGroups
Field excludeBlockGroups.
typeString5
Field typeString5.
obj5
Field obj5.
excludeHitboxTypes
Field excludeHitboxTypes.
typeString6
Field typeString6.
obj6
Field obj6.
includeCategories
Field includeCategories.
obj7
Field obj7.
excludeCategories
Field excludeCategories.
obj8
Field obj8.
blockSet
Field blockSet.
andSet
Field andSet.
found
Field found.
ids
Field ids.
s
Field s.
Method Detail
setup
void
setup
()
Method setup.
BlockSetCommand
new
BlockSetCommand
(this)
Method BlockSetCommand.
- Parameters:
thisthis
BlockSetLookupTable
new
BlockSetLookupTable
(event.getAssetMap()
Method BlockSetLookupTable.
- Parameters:
event.getAssetMap(event.getAssetMap(
flattenBlockSets
Method flattenBlockSets.
- Parameters:
@Nonnull final BlockSetLookupTablelookupTable
createSet
IntOpenHashSet
createSet
(@Nonnull final BlockSet blockSet, @Nonnull final BlockSetLookupTable lookupTable, @Nonnull final Int2ObjectMap flattenedSets)
Method createSet.
- Parameters:
@Nonnull final BlockSetblockSet@Nonnull final BlockSetLookupTablelookupTable@Nonnull final Int2ObjectMapflattenedSets
consume
void
consume
(@Nullable final String[] values, @Nonnull final Map map, final String typeString, @Nonnull final Consumer addAll)
Method consume.
- Parameters:
@Nullable final String[]values@Nonnull final Mapmapfinal StringtypeString@Nonnull final ConsumeraddAll
consumeCategory
void
consumeCategory
(@Nullable final String[] categories, @Nonnull final Consumer predicate, @Nonnull final BlockSetLookupTable lookupTable)
Method consumeCategory.
- Parameters:
@Nullable final String[]categories@Nonnull final Consumerpredicate@Nonnull final BlockSetLookupTablelookupTable
consumeEntry
void
consumeEntry
(@Nonnull final String name, @Nonnull final Consumer predicate, @Nonnull final Map nameIdMap, final String typeString)
Method consumeEntry.
- Parameters:
@Nonnull final Stringname@Nonnull final Consumerpredicate@Nonnull final MapnameIdMapfinal StringtypeString
getBlockSets
Int2ObjectMap
getBlockSets
()
Method getBlockSets.
blockInSet
boolean
blockInSet
(final int set, final int blockId)
Method blockInSet.
- Parameters:
final intsetfinal intblockId