Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SaveSection<MinecraftRegionLocation, MinecraftChunkLocation> vanillaSave = new SaveSection<>(
- new CachedRegionProvider<>(
- new SimpleRegionProvider<>(LOCATION_FUNC_SRC.apply(d, src), (path, key) ->
- Region.<MinecraftRegionLocation, MinecraftChunkLocation>builder()
- .setPath(path)
- .setSectorSize(4096)
- .setEntriesPerRegion(key.getKeyCount())
- .addHeaderEntry(new TimestampHeaderEntryProvider<>(TimeUnit.MILLISECONDS))
- .build(),
- MinecraftRegionLocation::fromName
- ), 128
- )
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement