Interface IForgeRenderChunk
- All Known Implementing Classes:
ChunkRenderDispatcher.ChunkRender
public interface IForgeRenderChunk
-
Method Summary
Modifier and TypeMethodDescriptiondefault ChunkRenderCache
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).
-
Method Details
-
createRegionRenderCache
default ChunkRenderCache 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).- Parameters:
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.- Returns:
- new RegionRenderCache instance
- See Also:
-
RegionRenderCache
-