Package net.minecraft.block.pattern
Class BlockPattern.CacheLoader
- java.lang.Object
-
- com.google.common.cache.CacheLoader<BlockPos,CachedBlockInfo>
-
- net.minecraft.block.pattern.BlockPattern.CacheLoader
-
- Enclosing class:
- BlockPattern
static class BlockPattern.CacheLoader extends com.google.common.cache.CacheLoader<BlockPos,CachedBlockInfo>
-
-
Field Summary
Fields Modifier and Type Field Description private IWorldReader
level
private boolean
loadChunks
-
Constructor Summary
Constructors Constructor Description CacheLoader(IWorldReader p_i48983_1_, boolean p_i48983_2_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CachedBlockInfo
load(BlockPos p_load_1_)
-
-
-
Field Detail
-
level
private final IWorldReader level
-
loadChunks
private final boolean loadChunks
-
-
Constructor Detail
-
CacheLoader
public CacheLoader(IWorldReader p_i48983_1_, boolean p_i48983_2_)
-
-
Method Detail
-
load
public CachedBlockInfo load(BlockPos p_load_1_) throws java.lang.Exception
- Specified by:
load
in classcom.google.common.cache.CacheLoader<BlockPos,CachedBlockInfo>
- Throws:
java.lang.Exception
-
-