public interface BlockLease extends Supplier<Block>, AutoCloseable
Supplier.get()
method, which must only be called once. The close() method must be called unconditionally
when use of the Block is complete.| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void close()
close in interface AutoCloseableCopyright © 2012–2022. All rights reserved.