MCPcopy Create free account
hub / github.com/boxbeam/RedLib / remove

Method remove

src/redempt/redlib/blockdata/backend/PDCBackend.java:34–39  ·  view source on GitHub ↗
(ChunkPosition pos)

Source from the content-addressed store, hash-verified

32 }
33
34 @Override
35 public CompletableFuture<Void> remove(ChunkPosition pos) {
36 PersistentDataContainer pdc = pos.getWorld().getChunkAt(pos.getX(), pos.getZ()).getPersistentDataContainer();
37 pdc.remove(key);
38 return CompletableFuture.completedFuture(null);
39 }
40
41 @Override
42 public CompletableFuture<Void> saveAll() {

Callers

nothing calls this directly

Calls 4

removeMethod · 0.65
getWorldMethod · 0.45
getXMethod · 0.45
getZMethod · 0.45

Tested by

no test coverage detected