BlockSelectionSnapshot

public class BlockSelectionSnapshot implements SelectionSnapshot

Class BlockSelectionSnapshot. Provides blockselectionsnapshot functionality for the Hytale server.

java.lang.Object > BlockSelectionSnapshot

Field Summary

before

final BlockSelection before

Field before.

Method Detail

BlockSelectionSnapshot

public public BlockSelectionSnapshot (final BlockSelection snapshot)

Method BlockSelectionSnapshot.

Parameters:
final BlockSelection snapshot

getBlockSelection

public BlockSelection getBlockSelection ()

Method getBlockSelection.

restore

public BlockSelectionSnapshot restore (final Ref ref, final Player player, @Nonnull final World world, final ComponentAccessor componentAccessor)

Method restore.

Parameters:
final Ref ref
final Player player
@Nonnull final World world
final ComponentAccessor componentAccessor

copyOf

Method copyOf.

Parameters:
@Nonnull final BlockSelection selection