Uses of Class
com.hypixel.hytale.server.core.util.PrefabUtil.PasteRegion
Packages that use PrefabUtil.PasteRegion
Package
Description
-
Uses of PrefabUtil.PasteRegion in com.hypixel.hytale.builtin.adventure.worldevents.util
Methods in com.hypixel.hytale.builtin.adventure.worldevents.util with parameters of type PrefabUtil.PasteRegionModifier and TypeMethodDescriptionstatic UUIDPrefabSnapshotUtil.createSnapshot(World world, PrefabUtil.PasteRegion region, IPrefabBuffer prefab, org.joml.Vector3ic origin, PrefabRotation rotation) -
Uses of PrefabUtil.PasteRegion in com.hypixel.hytale.server.core.util
Methods in com.hypixel.hytale.server.core.util that return PrefabUtil.PasteRegionModifier and TypeMethodDescriptionstatic PrefabUtil.PasteRegionPrefabUtil.loadPasteRegionIfInMemory(IPrefabBuffer prefab, World world, org.joml.Vector3ic origin, PrefabRotation rotation) Loads the chunk data required to paste the specified prefab buffer with the provided origin position and rotation, if already in memory, into aPrefabUtil.PasteRegion.Methods in com.hypixel.hytale.server.core.util that return types with arguments of type PrefabUtil.PasteRegionModifier and TypeMethodDescriptionPrefabUtil.loadPasteRegionAsync(IPrefabBuffer prefab, World world, org.joml.Vector3ic origin, PrefabRotation rotation, int chunkLoadFlags) Asynchronously loads the chunks required to paste the specified prefab buffer with the provided origin position and rotation.Methods in com.hypixel.hytale.server.core.util with parameters of type PrefabUtil.PasteRegionModifier and TypeMethodDescriptionstatic voidPrefabUtil.paste(IPrefabBuffer buffer, World world, org.joml.Vector3i position, Rotation yaw, Random random, int pasteFlags, int setBlockSettings, PrefabUtil.PasteRegion pasteRegion, Consumer<Holder<ChunkStore>> blockEntityConsumer, Consumer<Holder<EntityStore>> entityConsumer, ComponentAccessor<EntityStore> componentAccessor) Pastes a prefab from the given buffer into the specified world at a defined position, with a specified rotation and settings for the paste and set-block behavior.static voidPrefabUtil.remove(IPrefabBuffer buffer, World world, org.joml.Vector3i position, Rotation prefabRotation, Random random, int pasteFlags, int setBlockSettings, double brokenParticlesRate, PrefabUtil.PasteRegion pasteRegion) Removes a specified prefab buffer from the world at the given position with the specified settings.