public class ChunkLoaderManager
extends java.lang.Object
| Constructor and Description |
|---|
ChunkLoaderManager() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends net.minecraft.tileentity.TileEntity & IChunkLoadingTile> |
getChunksToLoad(T tile) |
static <T extends net.minecraft.tileentity.TileEntity & IChunkLoadingTile> |
loadChunksForTile(T tile)
This should be called in
TileEntity.validate(), if a tile entity might be able to load. |
static void |
rebindTickets(java.util.List<net.minecraftforge.common.ForgeChunkManager.Ticket> tickets,
net.minecraft.world.World world) |
static <T extends net.minecraft.tileentity.TileEntity & IChunkLoadingTile> |
releaseChunksFor(T tile) |
public static <T extends net.minecraft.tileentity.TileEntity & IChunkLoadingTile> void loadChunksForTile(T tile)
TileEntity.validate(), if a tile entity might be able to load. A check is
performed to see if the config allows itpublic static <T extends net.minecraft.tileentity.TileEntity & IChunkLoadingTile> void releaseChunksFor(T tile)
public static <T extends net.minecraft.tileentity.TileEntity & IChunkLoadingTile> java.util.Set<net.minecraft.util.math.ChunkPos> getChunksToLoad(T tile)
public static void rebindTickets(java.util.List<net.minecraftforge.common.ForgeChunkManager.Ticket> tickets,
net.minecraft.world.World world)