Advertisement
Barteks2x

Untitled

Jan 25th, 2017
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.54 KB | None | 0 0
  1.             SaveSection<MinecraftRegionLocation, MinecraftChunkLocation> vanillaSave = new SaveSection<>(
  2.                 new CachedRegionProvider<>(
  3.                     new SimpleRegionProvider<>(LOCATION_FUNC_SRC.apply(d, src), (path, key) ->
  4.                         Region.<MinecraftRegionLocation, MinecraftChunkLocation>builder()
  5.                             .setPath(path)
  6.                             .setSectorSize(4096)
  7.                             .setEntriesPerRegion(key.getKeyCount())
  8.                             .addHeaderEntry(new TimestampHeaderEntryProvider<>(TimeUnit.MILLISECONDS))
  9.                             .build(),
  10.                         MinecraftRegionLocation::fromName
  11.                     ), 128
  12.                 )
  13.             );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement