public interface IForgeRenderChunk
修飾子とタイプ | メソッドと説明 |
---|---|
default ChunkRenderCache |
createRegionRenderCache(World world,
BlockPos from,
BlockPos to,
int subtract)
Creates a new RegionRenderCache instance.
|
default ChunkRenderCache createRegionRenderCache(World world, BlockPos from, BlockPos to, int subtract)
world
- The world to cache.from
- The starting position of the chunk minus one on each axis.to
- The ending position of the chunk plus one on each axis.subtract
- Padding used internally by the RegionRenderCache constructor to make
the cache a 20x20x20 cube, for a total of 8000 states in the cache.RegionRenderCache