Class BlockPlacementMaskRegistry
java.lang.Object
com.hypixel.hytale.server.worldgen.loader.util.FileMaskCache<BlockPlacementMask>
com.hypixel.hytale.server.worldgen.loader.prefab.BlockPlacementMaskRegistry
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<BlockPlacementMask, BlockPlacementMask> private BlockPlacementMask -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionretainOrAllocateEntry(ResolvedBlockArray blocks, boolean replace) retainOrAllocateMask(BlockPlacementMask.IMask defaultMask, it.unimi.dsi.fastutil.longs.Long2ObjectMap<BlockPlacementMask.Mask> specificMasks) Methods inherited from class com.hypixel.hytale.server.worldgen.loader.util.FileMaskCache
cachedFile, getIfPresentFileMask, putFileMask
-
Field Details
-
masks
-
entries
@Nonnull private final Map<BlockPlacementMask.BlockArrayEntry,BlockPlacementMask.BlockArrayEntry> entries -
tempMask
-
tempEntry
-
-
Constructor Details
-
BlockPlacementMaskRegistry
public BlockPlacementMaskRegistry()
-
-
Method Details
-
retainOrAllocateMask
@Nonnull public BlockPlacementMask retainOrAllocateMask(BlockPlacementMask.IMask defaultMask, it.unimi.dsi.fastutil.longs.Long2ObjectMap<BlockPlacementMask.Mask> specificMasks) -
retainOrAllocateEntry
@Nonnull public BlockPlacementMask.BlockArrayEntry retainOrAllocateEntry(ResolvedBlockArray blocks, boolean replace)
-