Uses of Class
com.hypixel.hytale.server.core.prefab.selection.standard.BlockSelection
Packages that use BlockSelection
Package
Description
-
Uses of BlockSelection in com.hypixel.hytale.builtin.blockphysics
Methods in com.hypixel.hytale.builtin.blockphysics with parameters of type BlockSelectionModifier and TypeMethodDescriptionstatic voidBlockSelectionSupportUtil.applySupportValues(BlockSelection selection) Recomputes support values for all blocks in the selection that participate in block physics. -
Uses of BlockSelection in com.hypixel.hytale.builtin.buildertools
Methods in com.hypixel.hytale.builtin.buildertools that return BlockSelectionModifier and TypeMethodDescriptionEditOperation.getAfter()EditOperation.getBefore()static BlockSelectionBuilderToolsPlugin.getMaskSelection(BlockSelection selection) Returns the selection that the#block mask filter matches against, or null when the player has no selection area.BuilderToolsPlugin.BuilderState.getSelection()Methods in com.hypixel.hytale.builtin.buildertools with parameters of type BlockSelectionModifier and TypeMethodDescriptionstatic BlockSelectionBuilderToolsPlugin.getMaskSelection(BlockSelection selection) Returns the selection that the#block mask filter matches against, or null when the player has no selection area.static voidBuilderToolsPlugin.invalidateWorldMapForSelection(BlockSelection selection, World world) voidBuilderToolsPlugin.BuilderState.layer(int x, int y, int z, List<it.unimi.dsi.fastutil.Pair<Integer, String>> layers, int depth, org.joml.Vector3ic direction, SectionAccessor accessor, BlockSelection before, BlockSelection after) Applies layering to at a single block location.voidBuilderToolsPlugin.BuilderState.load(String name, BlockSelection serverPrefab, ComponentAccessor<EntityStore> componentAccessor) voidBuilderToolsPlugin.BuilderState.setSelection(BlockSelection selection) Method parameters in com.hypixel.hytale.builtin.buildertools with type arguments of type BlockSelectionModifier and TypeMethodDescription<T extends Throwable>
voidBuilderToolsPlugin.BuilderState.computeSelectionCopy(ThrowableConsumer<BlockSelection, T> task) <T extends Throwable>
voidBuilderToolsPlugin.computeSelectionCopy(Ref<EntityStore> ref, Player player, ThrowableConsumer<BlockSelection, T> task, ComponentAccessor<EntityStore> componentAccessor) -
Uses of BlockSelection in com.hypixel.hytale.builtin.buildertools.prefabeditor.commands
Methods in com.hypixel.hytale.builtin.buildertools.prefabeditor.commands with parameters of type BlockSelectionModifier and TypeMethodDescriptionbooleanPrefabEditUpdateBoxCommand.isLocationWithinSelection(org.joml.Vector3i location, BlockSelection selection) Determines whether the given location is within the given block selection. -
Uses of BlockSelection in com.hypixel.hytale.builtin.buildertools.prefabeditor.saving
Methods in com.hypixel.hytale.builtin.buildertools.prefabeditor.saving with parameters of type BlockSelectionModifier and TypeMethodDescriptionstatic voidPrefabSaveSupport.apply(BlockSelection selection, PrefabSaverSettings settings) static voidPrefabSaveSupport.apply(BlockSelection selection, SupportMode supportMode) voidPrefabSaveContributor.contribute(BlockSelection selection, World world, org.joml.Vector3i min, org.joml.Vector3i max) -
Uses of BlockSelection in com.hypixel.hytale.builtin.buildertools.scriptedbrushes
Methods in com.hypixel.hytale.builtin.buildertools.scriptedbrushes that return BlockSelection -
Uses of BlockSelection in com.hypixel.hytale.builtin.buildertools.snapshot
Methods in com.hypixel.hytale.builtin.buildertools.snapshot that return BlockSelectionMethods in com.hypixel.hytale.builtin.buildertools.snapshot with parameters of type BlockSelectionModifier and TypeMethodDescriptionstatic BlockSelectionSnapshotBlockSelectionSnapshot.copyOf(BlockSelection selection) Helper method for creating aBlockSelectionSnapshotusing a clone of the provided BlockSelection.static ClipboardContentsSnapshotClipboardContentsSnapshot.copyOf(BlockSelection selection) Helper method for creating aClipboardContentsSnapshotusing a clone of the provided BlockSelection.Constructors in com.hypixel.hytale.builtin.buildertools.snapshot with parameters of type BlockSelectionModifierConstructorDescriptionBlockSelectionSnapshot(BlockSelection snapshot) ClipboardBoundsSnapshot(BlockSelection selection) ClipboardContentsSnapshot(BlockSelection selection) -
Uses of BlockSelection in com.hypixel.hytale.builtin.buildertools.utils
Subclasses with type arguments of type BlockSelection in com.hypixel.hytale.builtin.buildertools.utilsMethods in com.hypixel.hytale.builtin.buildertools.utils with parameters of type BlockSelectionModifier and TypeMethodDescriptionstatic voidFillerPlacementUtil.addBlockWithFiller(SectionAccessor accessor, BlockSelection before, BlockSelection after, int baseX, int baseY, int baseZ, int blockId, int rotation) static voidFillerPlacementUtil.addBlockWithFiller(SectionAccessor accessor, BlockSelection before, BlockSelection after, int baseX, int baseY, int baseZ, int blockId, int rotation, BlockBoundingBoxes.RotatedVariantBoxes boxes) static booleanFillerPlacementUtil.captureAndClearFootprint(SectionAccessor accessor, BlockSelection before, BlockSelection after, int x, int y, int z) static booleanFillerPlacementUtil.captureAndClearFootprint(SectionAccessor accessor, BlockSelection before, BlockSelection after, int x, int y, int z, BlockSelection overlay) Same asFillerPlacementUtil.captureAndClearFootprint(SectionAccessor, BlockSelection, BlockSelection, int, int, int), but the occupying structure is resolved throughoverlay(andafter) before falling back to the world, so a structure an earlier pass placed is cleared in full rather than resolved against the stale world filler.FillerPlacementUtil.stampBlockWithFiller(SectionAccessor accessor, BlockSelection before, BlockSelection after, Int3OpenHashSet occupied, int x, int y, int z, int blockId, int rotation, boolean requireWorldEmpty) StampsblockId/rotationat base (x,y,z) into the selections with full multi-cell filler, recording the displaced state inbefore.FillerPlacementUtil.stampBlockWithFiller(SectionAccessor accessor, BlockSelection before, BlockSelection after, Int3OpenHashSet occupied, int x, int y, int z, int blockId, int rotation, boolean requireWorldEmpty, BlockSelection overlay) Same asFillerPlacementUtil.stampBlockWithFiller(SectionAccessor, BlockSelection, BlockSelection, Int3OpenHashSet, int, int, int, int, int, boolean), but the structure overwritten by the footprint is resolved throughoverlay(the edits accumulated by earlier passes) before falling back to the world.Constructor parameters in com.hypixel.hytale.builtin.buildertools.utils with type arguments of type BlockSelectionModifierConstructorDescriptionBlockSelectionLoader(Path rootPrefabsDir, Function<String, BlockSelection> prefabsLoader) -
Uses of BlockSelection in com.hypixel.hytale.builtin.buildertools.world
Methods in com.hypixel.hytale.builtin.buildertools.world with parameters of type BlockSelectionModifier and TypeMethodDescriptionstatic CompletableFuture<Void> Prefetch.forSelection(World world, BlockSelection selection, int originX, int originY, int originZ, PrefetchLease lease, Prefetch.Budget budget) Loads the region the selection covers when it is placed at the given origin. -
Uses of BlockSelection in com.hypixel.hytale.builtin.points.prefab
Methods in com.hypixel.hytale.builtin.points.prefab with parameters of type BlockSelectionModifier and TypeMethodDescriptionvoidPointPrefabContributor.contribute(BlockSelection selection, World world, org.joml.Vector3i min, org.joml.Vector3i max) -
Uses of BlockSelection in com.hypixel.hytale.builtin.triggervolumes.prefab
Methods in com.hypixel.hytale.builtin.triggervolumes.prefab with parameters of type BlockSelectionModifier and TypeMethodDescriptionvoidTriggerVolumePrefabContributor.contribute(BlockSelection selection, World world, org.joml.Vector3i min, org.joml.Vector3i max) -
Uses of BlockSelection in com.hypixel.hytale.server.core.prefab
Methods in com.hypixel.hytale.server.core.prefab that return BlockSelectionModifier and TypeMethodDescriptionPrefabStore.getAssetPrefab(String key) PrefabStore.getAssetPrefabFromAnyPack(String key) PrefabStore.getServerPrefab(String key) PrefabStore.getWorldGenPrefab(String key) PrefabStore.getWorldGenPrefab(Path prefabsPath, String key) Methods in com.hypixel.hytale.server.core.prefab that return types with arguments of type BlockSelectionModifier and TypeMethodDescriptionPrefabStore.getAssetPrefabDir(String key) PrefabStore.getPrefabDir(Path dir) PrefabStore.getServerPrefabDir(String key) PrefabStore.getWorldGenPrefabDir(String key) Methods in com.hypixel.hytale.server.core.prefab with parameters of type BlockSelectionModifier and TypeMethodDescriptionvoidPrefabStore.saveAssetPrefab(String key, BlockSelection prefab) voidPrefabStore.saveAssetPrefab(String key, BlockSelection prefab, boolean overwrite) PrefabStore.savePrefab(Path path, BlockSelection prefab, boolean overwrite) PrefabStore.savePrefab(Path path, BlockSelection prefab, boolean overwrite, PrefabFormat format) voidPrefabStore.savePrefabToPack(AssetPack pack, String key, BlockSelection prefab, boolean overwrite) PrefabStore.savePrefabToPack(AssetPack pack, String key, BlockSelection prefab, boolean overwrite, PrefabFormat format) voidPrefabStore.saveServerPrefab(String key, BlockSelection prefab) voidPrefabStore.saveServerPrefab(String key, BlockSelection prefab, boolean overwrite) PrefabStore.saveServerPrefab(String key, BlockSelection prefab, boolean overwrite, PrefabFormat format) voidPrefabStore.saveWorldGenPrefab(String key, BlockSelection prefab) voidPrefabStore.saveWorldGenPrefab(String key, BlockSelection prefab, boolean overwrite) -
Uses of BlockSelection in com.hypixel.hytale.server.core.prefab.config
Methods in com.hypixel.hytale.server.core.prefab.config that return BlockSelectionModifier and TypeMethodDescriptionstatic BlockSelectionSelectionPrefabSerializer.deserialize(org.bson.BsonDocument doc) Methods in com.hypixel.hytale.server.core.prefab.config with parameters of type BlockSelectionModifier and TypeMethodDescriptionstatic org.bson.BsonDocumentSelectionPrefabSerializer.serialize(BlockSelection prefab) -
Uses of BlockSelection in com.hypixel.hytale.server.core.prefab.selection
Method parameters in com.hypixel.hytale.server.core.prefab.selection with type arguments of type BlockSelectionModifier and TypeMethodDescription<T extends Throwable>
voidSelectionProvider.computeSelectionCopy(Ref<EntityStore> ref, Player player, ThrowableConsumer<BlockSelection, T> task, ComponentAccessor<EntityStore> componentAccessor) Computes a copy of the given Player's BlockSelection and performs the provided task with it. -
Uses of BlockSelection in com.hypixel.hytale.server.core.prefab.selection.buffer
Methods in com.hypixel.hytale.server.core.prefab.selection.buffer that return BlockSelectionModifier and TypeMethodDescriptionstatic BlockSelectionPrefabBufferSelectionConverter.toBlockSelection(PrefabBuffer buffer) Convertsbufferback into an editableBlockSelection, undoing the anchor-relative coordinate shiftBsonPrefabBufferDeserializerapplies to block, fluid, and entity positions.Methods in com.hypixel.hytale.server.core.prefab.selection.buffer with parameters of type BlockSelectionModifier and TypeMethodDescriptionstatic PrefabBufferPrefabBufferSelectionConverter.toPrefabBuffer(Path path, BlockSelection selection) Convertsselectioninto aPrefabBufferby routing it through the same BSON shapeSelectionPrefabSerializerwrites to disk, so the anchor-relative coordinate shift the binary format needs stays defined in one place (BsonPrefabBufferDeserializer). -
Uses of BlockSelection in com.hypixel.hytale.server.core.prefab.selection.standard
Fields in com.hypixel.hytale.server.core.prefab.selection.standard with type parameters of type BlockSelectionModifier and TypeFieldDescriptionstatic final MetricsRegistry<BlockSelection> BlockSelection.METRICS_REGISTRYMethods in com.hypixel.hytale.server.core.prefab.selection.standard that return BlockSelectionModifier and TypeMethodDescriptionBlockSelection.cloneSelection()BlockSelection.place(CommandSender feedback, World outerWorld) BlockSelection.place(CommandSender feedback, World outerWorld, BlockMask blockMask) BlockSelection.place(CommandSender feedback, World outerWorld, org.joml.Vector3ic position, BlockMask blockMask) BlockSelection.place(CommandSender feedback, World outerWorld, org.joml.Vector3ic position, BlockMask blockMask, Consumer<Ref<EntityStore>> entityConsumer) BlockSelection.place(CommandSender feedback, World outerWorld, org.joml.Vector3ic position, BlockMask blockMask, Consumer<Ref<EntityStore>> entityConsumer, boolean skipEmptyBlocks) BlockSelection.place(CommandSender feedback, World outerWorld, org.joml.Vector3ic position, BlockMask blockMask, Consumer<Ref<EntityStore>> entityConsumer, boolean skipEmptyBlocks, IntUnaryOperator blockIdMapper) BlockSelection.place(CommandSender feedback, World outerWorld, org.joml.Vector3ic position, BlockMask blockMask, Consumer<Ref<EntityStore>> entityConsumer, boolean skipEmptyBlocks, IntUnaryOperator blockIdMapper, boolean skipEmptyBlocksBeforeMapping) BlockSelection.relativize()BlockSelection.relativize(int originX, int originY, int originZ) BlockSelection.rotate(Axis axis, int angle, RotateBlockMode rotateBlockMode) Rotates the selection by the given angle around the given axis.BlockSelection.rotateArbitrary(float yawDegrees, float pitchDegrees, float rollDegrees) Rotates the selection by arbitrary yaw, pitch, and roll angles in degrees.Methods in com.hypixel.hytale.server.core.prefab.selection.standard with parameters of type BlockSelectionModifier and TypeMethodDescriptionvoidBlockSelection.add(BlockSelection other) voidBlockSelection.copyPropertiesFrom(BlockSelection other) Constructors in com.hypixel.hytale.server.core.prefab.selection.standard with parameters of type BlockSelection -
Uses of BlockSelection in com.hypixel.hytale.server.core.universe.world.accessor
Methods in com.hypixel.hytale.server.core.universe.world.accessor with parameters of type BlockSelectionModifier and TypeMethodDescriptionvoidSectionReader.SectionCursor.copyInto(BlockSelection selection)