Package | Description |
---|---|
net.minecraft.client.renderer.chunk | |
net.minecraftforge.client | |
net.minecraftforge.client.extensions |
Modifier and Type | Field and Description |
---|---|
protected ChunkRenderCache |
ChunkRenderDispatcher.ChunkRender.RebuildTask.chunkRenderCache |
Modifier and Type | Method and Description |
---|---|
static ChunkRenderCache |
ChunkRenderCache.generateCache(World worldIn,
BlockPos from,
BlockPos to,
int padding) |
Constructor and Description |
---|
RebuildTask(ChunkPos pos,
double distanceSqIn,
ChunkRenderCache renderCacheIn) |
RebuildTask(double distanceSqIn,
ChunkRenderCache renderCacheIn)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
private static com.google.common.cache.LoadingCache<org.apache.commons.lang3.tuple.Pair<World,BlockPos>,java.util.Optional<ChunkRenderCache>> |
MinecraftForgeClient.regionCache |
Modifier and Type | Method and Description |
---|---|
static ChunkRenderCache |
MinecraftForgeClient.getRegionRenderCache(World world,
BlockPos pos) |
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<ChunkRenderCache> |
MinecraftForgeClient.getRegionRenderCacheOptional(World world,
BlockPos pos) |
Modifier and Type | Method and Description |
---|---|
static void |
MinecraftForgeClient.onRebuildChunk(World world,
BlockPos position,
ChunkRenderCache cache) |
Modifier and Type | Method and Description |
---|---|
default ChunkRenderCache |
IForgeRenderChunk.createRegionRenderCache(World world,
BlockPos from,
BlockPos to,
int subtract)
Creates a new RegionRenderCache instance.
Extending classes can change the behavior of the cache, allowing to visually change blocks (schematics etc). |